Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A drive died, but I still ave a bootable system.
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
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Wed Jul 30, 2008 11:10 pm    Post subject: A drive died, but I still ave a bootable system. Reply with quote

One sata drive died that had /var /run /tmp etc, EXCEPT I had / and /boot on another drive.
I had also 2 other drives that are fine, they had backup data on them.Thank God.
The system is bootable to the 2.6.22 kernel, but I guess all programs are wiped.
I did have /var /etc and /tmp on logical volumes which are dead also.
I don't need that anymore. I will forsake the logical volumes and rebuild the system from its current state
to a workable, usable system. I know I have to recreate the fstab file and recreate the lost directories and such. but my system has been
running so well for so long I need the quick "talk me though it " routine. to recreate everything.

Again, the system boots to a command drive login and is functional except for that broken SATA drive, which is removed.
Can anyone take a few minutes and talk me through the revamp, other wise I may wipe more things that were running just fine.

Thanks for any input or guidance.

PS: will a live CD be needed OR helpful?
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Thu Jul 31, 2008 8:12 am    Post subject: Reply with quote

using a livecd would probably be best imo, as it would give you the backup of a fully running system so you can have a webbrowser open, download stuff with wget, etc. The best way i think to recover would be to download a stage 3 file and extract it somewhere else (not to / or you wipe over everything!) then mount your drives and copy the missing directories from the stage 3. You will have lost some configs, and those you have will need remaking (make.conf and your profile link being pretty important). You will also have lost your world file so portage wont know what packages you have installed so you will have to reinstall them all to get them added back to your world file.

There may be other things to do, or better ways so id maybe wait a bit and see if anyone else has any suggestions
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Thu Jul 31, 2008 9:16 am    Post subject: Reply with quote

If you can download it I'd recommend sysrescuecd.
After booting it you can mount your partition(s) on /mnt/*
Fire up "mc" and you can browse the partition,edit conf. files.
I have used it many times when I had problems.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Thu Jul 31, 2008 9:50 pm    Post subject: Reply with quote

Nick C

If I am booted from the livecd how do I mount an unseen drive and extract the stage3 to it.
sorry for the newbie question but I am not that linux savy.

THanks,
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