Author Topic: `rm -rf /home/zaurus` by accident  (Read 3322 times)

suruaZ

  • Full Member
  • ***
  • Posts: 123
    • View Profile
`rm -rf /home/zaurus` by accident
« on: October 27, 2004, 06:23:50 am »
Accidentally deleted /home/zaurus folder
Now can't start GUI - init eight times tried to start QT unsuccesfully and then prints:
"INIT: ld "ln" respawing too fast: disabled for 5 mintues."

I'm still able to login as root in console mode. Is there a way to fix the issue???

suruaZ
SL-5500, Sharp ROM 3.13, Pretec GSM/GPRS CF, IBM Microdrive 340 MB

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
`rm -rf /home/zaurus` by accident
« Reply #1 on: October 27, 2004, 07:31:20 am »
Whoops. Been there, done that on my PC (I now have cron jobs setup to do automatic backups).

You'll have to restore the original files in /home/zaurus. I doubt you can use 'recover' since the filesystem is in RAM on your 5500.

To restore the original files:

1) Login to the console as root
2) cd /
3) tar xvf /root/.home_default.tar home/zaurus

(Note there is no '/' at the beginning of the 'home/zaurus' in the command above)
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

suruaZ

  • Full Member
  • ***
  • Posts: 123
    • View Profile
`rm -rf /home/zaurus` by accident
« Reply #2 on: October 27, 2004, 09:19:10 am »
Quote
1) Login to the console as root
2) cd /
3) tar xvf /root/.home_default.tar home/zaurus

Thanks tumnus! This made things to work again  

suruaZ
SL-5500, Sharp ROM 3.13, Pretec GSM/GPRS CF, IBM Microdrive 340 MB