Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th April 2006, 22: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
  #2  
Old 10th April 2006, 04:45
sbovisjb1 sbovisjb1 is offline
Senior Member
 
Join Date: Feb 2006
Posts: 176
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
Reply With Quote
  #3  
Old 10th April 2006, 04:47
sbovisjb1 sbovisjb1 is offline
Senior Member
 
Join Date: Feb 2006
Posts: 176
Thanks: 0
Thanked 1 Time in 1 Post
Default

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/
Reply With Quote
  #4  
Old 10th April 2006, 04:48
sbovisjb1 sbovisjb1 is offline
Senior Member
 
Join Date: Feb 2006
Posts: 176
Thanks: 0
Thanked 1 Time in 1 Post
Default

Try this... it might work
http://www.digitalissues.co.uk/html/...partimage.html
Reply With Quote
  #5  
Old 10th April 2006, 09:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

I found some links here that might help you: http://www.google.com/search?q=Error...en-US:official
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SATA Software RAID 1 on Linux mphayesuk Installation/Configuration 2 21st February 2006 11:31
adding an additional hard drive after install gjcomputer Installation/Configuration 5 4th January 2006 00:48
Replace Hard Drive dpn48312 HOWTO-Related Questions 2 29th December 2005 11:17
Things gone wrong after new hard drive mphayesuk General 9 5th November 2005 11:34
Suse 10 new Hard Drive install mphayesuk Installation/Configuration 5 1st November 2005 17:41


All times are GMT +2. The time now is 12:00.


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