HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Technical (http://www.howtoforge.com/forums/forumdisplay.php?f=8)
-   -   FC4 - How to remove LVM after hard drive crash? (http://www.howtoforge.com/forums/showthread.php?t=3600)

pudn 9th April 2006 23:34

FC4 - How to remove LVM after hard drive crash?
 
I have a system running FC4 which has 20Gb (hda) and 80Gb (hdb) drives configured with LVM which was installed about 3 months ago, though neither disk was new at the time. The problem last week was that the system was crashing due to lack of space on the 1st disk as the larger disk was failing.

The system will not now boot. I get the following:

Uncompressing Linux ... OK. Booting the Kernel.
Red Hat Nash version 4.2.15 starting
Reading all physical volumes. This may take a while ...
Couldn't find device with UUID xxxxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxxxx
Reading all physical volumes. This may take a while ...
Couldn't find device with UUID xxxxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxxxx
Volume group "VolGroup00" not found
Error /bin/lvm exited abnormally with value 5! (pid 430)
Reading all physical volumes. This may take a while ...
Couldn't find device with UUID xxxxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxxxx
Reading all physical volumes. This may take a while ...
Couldn't find device with UUID xxxxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxxxx
Volume group "VolGroup00" not found
Error /bin/lvm exited abnormally with value 5! (pid 431)
Mount: Error 6 mounting ext3
Error opening /dev/console!!!! :2
error dup2'ing fd of 0 to 0
error dup2'ing fd of 0 to 1
error dup2'ing fd of 0 to 2
switchroot : mount failed : 22
kernel panic - not syncing: attempted to kill init!

I have used EBC to access the system and fdisk on each drive reveals the following:

/dev/hda1 * 1 13 104391 83 linux
/dev/hda2 14 2491 19904535 8e linux lvm

/dev/hdb1 1 158816 80043232+ 83 linux

I am not a complete PC novice, although my Linux knowledge is somewhat rudimentary. If someone could advise me how to remove the 2nd disk completely from the system and make FC4 boot up from just the one disk without LVM I would be very grateful.

As a supplementary question not entirely unrelated to the above, how easy is it to move a 'working' fc4 system from one hard drive to another? I want to put the system onto a NEW bigger hard drive.

tia

sbovisjb1 10th April 2006 05:45

I would suggest to use damnsmall linux or some rescue drive derivative to boot into FC4 and to delete/edit the kernel so that you can actually boot it. Or if you wish, you can port the whole system (i believe you use catalyst) onto an external drive.

sbovisjb1 10th April 2006 05:47

I know catalyst is made by gentoo, but it is possible to take and use it on another linux distro . http://www.gentoo.org/proj/en/releng/catalyst/

sbovisjb1 10th April 2006 05:48

Try this... it might work :o
http://www.digitalissues.co.uk/html/...partimage.html

falko 10th April 2006 10:32

I found some links here that might help you: http://www.google.com/search?q=Error...en-US:official


All times are GMT +2. The time now is 06:02.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.