Page 1 of 1
How To Fix Deleted TMP Folder SOLVED
Posted: 22 May 2014, 01:14
by jimwg
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
Re: How To Fix Deleted TMP Folder
Posted: 22 May 2014, 08:44
by fanthom
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).
Re: How To Fix Deleted TMP Folder
Posted: 22 May 2014, 18:58
by jimwg
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
Re: How To Fix Deleted TMP Folder
Posted: 22 May 2014, 19:21
by brokenman
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.
Re: How To Fix Deleted TMP Folder
Posted: 22 May 2014, 20:59
by tome
you can also delete wh tmp file from your changes
Re: How To Fix Deleted TMP Folder
Posted: 23 May 2014, 11:31
by jimwg
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:
http://forum.porteus.org/posting.php?mo ... 25&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