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
How To Fix Deleted TMP Folder SOLVED
How To Fix Deleted TMP Folder SOLVED
Last edited by jimwg on 24 May 2014, 11:46, edited 1 time in total.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: How To Fix Deleted TMP Folder
please boot to text mode, login as root then run following command:
btw: be careful what you are doing as it wont be that easy to recover folders like /etc (many modules creates it).
Code: Select all
cp -a /mnt/live/memory/images/001-core.xzm/tmp /
Please add [Solved] to your thread title if the solution was found.
Re: How To Fix Deleted TMP Folder
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?fanthom wrote:please boot to text mode, login as root then run following command:btw: be careful what you are doing as it wont be that easy to recover folders like /etc (many modules creates it).Code: Select all
cp -a /mnt/live/memory/images/001-core.xzm/tmp /
JIm in NYC
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: How To Fix Deleted TMP Folder
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.
In 'always fresh mode' you will have a working copy. That's what this mode is for.
GOod luck.
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
GOod luck.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Contributor
- Posts: 686
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
- Contact:
Re: How To Fix Deleted TMP Folder
you can also delete wh tmp file from your changes
Re: How To Fix Deleted TMP Folder
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!tome wrote:you can also delete wh tmp file from your changes
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