View Single Post
  #1  
Old 9th April 2006, 23:34
pudn pudn is offline
Junior Member
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links