How To Fix Deleted TMP Folder SOLVED

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

How To Fix Deleted TMP Folder SOLVED

Post#1 by jimwg » 22 May 2014, 01:14

Greetings:

I "accidentally" deleted the TMP folder to dredge up more free room in 2gig flash drive (not emergency, have other backups) and when I boot up the screen reads:

INIT: Id "x1" respawning too fast, Disabled for 5 minutes.

How could I repair this situation?

Thanks.

Jim in NYC
Last edited by jimwg on 24 May 2014, 11:46, edited 1 time in total.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4779
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: How To Fix Deleted TMP Folder

Post#2 by fanthom » 22 May 2014, 08:44

please boot to text mode, login as root then run following command:

Code: Select all

cp -a /mnt/live/memory/images/001-core.xzm/tmp   /
btw: be careful what you are doing as it wont be that easy to recover folders like /etc (many modules creates it).
Please add [Solved] to your thread title if the solution was found.

jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Re: How To Fix Deleted TMP Folder

Post#3 by jimwg » 22 May 2014, 18:58

fanthom wrote:please boot to text mode, login as root then run following command:

Code: Select all

cp -a /mnt/live/memory/images/001-core.xzm/tmp   /
btw: be careful what you are doing as it wont be that easy to recover folders like /etc (many modules creates it).
Thanks for reply. Didn't seem to alter anything, as though tmp folders still aren't there. Is there an alternate method or can I copy a tmp folder to that flash from a working one?

JIm in NYC

User avatar
brokenman
Site Admin
Site Admin
Posts: 5867
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: How To Fix Deleted TMP Folder

Post#4 by brokenman » 22 May 2014, 19:21

Boot into always fresh mode.
Copy the /tmp folder from /mnt/live/memory/images/001-core.xzm/tmp into the 'rootcopy' folder of your installation media or if you are using a savefile/folder then copy it into this location.

In the case of a save file then you will need to mount it first.

Code: Select all

mkdir /mnt/mychanges
mount -o loop /path/to/my/savefile.dat /mnt/mychanges
cp -a /mnt/live/memory/images/001-core.xzm/tmp /mnt/mychanges
umount /mnt/mychanges
In 'always fresh mode' you will have a working copy. That's what this mode is for.

GOod luck.
How do i become super user?
Wear your underpants on the outside and put on a cape.

tome
Contributor
Contributor
Posts: 615
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: How To Fix Deleted TMP Folder

Post#5 by tome » 22 May 2014, 20:59

you can also delete wh tmp file from your changes
No intelligence, no life and no information can exist without prior intelligence, life or information (in place where things change and time is running).

jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Re: How To Fix Deleted TMP Folder

Post#6 by jimwg » 23 May 2014, 11:31

tome wrote:you can also delete wh tmp file from your changes
I don't know what was in those wh. files causing the hang-up, but deleting them along with fanthom's lines did the trick. Flash is back up and running and a new Porteus lesson on recovery learned! Thanks a trillion!

Re: brokenman
In 'always fresh mode' you will have a working copy. That's what this mode is for.

Okay, in my situation it didn't work likely because of my set-up:
posting.php?mode=quote&f=125&p=24699

so instead right after the boot-up screen I got a black one with a white upper left-hand window flashing:

"xterm: cannot load font '-misc-fixed-medoium-r-semi-condensed -13-120-75-75-c-80-iso10646-1"

I understand my set-up is set-up to invite such an error, but I have it so to get max 3.0 final xfce.4.11 and mplayer performance.

Jim in NYC

Post Reply