Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
etc-update problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kokaku
n00b
n00b


Joined: 21 Mar 2004
Posts: 9

PostPosted: Sat Apr 17, 2004 10:06 pm    Post subject: etc-update problems Reply with quote

I etc-updated and overwrote my config files (not sure which option I chose but it must've overwrote all the files) and now my computer is having a sorts of startup problems. A newbie mistake.

Is there any way to recover the original files?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sat Apr 17, 2004 10:20 pm    Post subject: Reply with quote

kokaku,

No, you can't get the files back. The best you can do is salvage the install.
If you can boot, use nano to undo the damage. Things like /etc/fstab, /etc/group /etc/hosts /etc/hostname get hit.

If you can't even boot, start with the liveCD, mount your partitions, just like in the install and do the chroot steps.
Now you can fix things with nano.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Fitzsimmons
Guru
Guru


Joined: 01 Jan 2003
Posts: 415
Location: Waterloo, Ontario, Canada

PostPosted: Sat Apr 17, 2004 10:20 pm    Post subject: Reply with quote

No, there isn't a way to recover the original files. At least, back when I made the same mistake there wasn't a way. 8)

Bite the bullet, and reconfigure everything! What fun! :roll:

If you're running this on a computer with XFree, I would take a look at cfg-update. It uses a XFree diff program and also does things like backups of your old config files (which has saved me more than once).

I wish I had better news for you :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum