Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-28-2007, 10:21 AM   #16
Registered: Aug 2007
Posts: 173

Rep: Reputation: 59
long way is a better learning exercise

The reason I didn't mention simply regenerating the initrd from a live CD is that you wouldn't know it was necessary to do so unless you understood what the problem was in the first place.

It is a much better learning exercise to actually have a look inside your initial filesystem especially if you never have before. If you don't know what an initial fs does or what an init script does you need to do this. There are macho users that build initramfs' by hand without a script. There are other cases where at least it is necessary to hand edit the init script such as creating a boot CD for a firewire root drive.

Your problem began as you didn't realize there could be references to your old volume group names inside the initrd filsystem after you had changed fstab and grub.conf. This was most likely as you had never looked inside your initial fs. By doing so you will understand the boot process better and avoid similar problems in the future. I had done this long ago out of curiosity and instantly recognized your problem. Next time you will know immediately.

A hybrid approach is possible. I strongly recommend at least looking at the contents with
cd temp_dir && gzip -dc /boot/initrd-2.6...img | cpio -i -c
and then if you want use the mkinitrd script to fix the references. You should then verify that the corrections were made by looking inside the new initrd.

Sometimes the long way provides more understanding.

Last edited by tofino_surfer; 08-28-2007 at 04:07 PM.
Old 08-28-2007, 11:18 AM   #17
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Just a note to say I agree with tofino_surfer. Looking at what initrd contains is very interesting and much fun. I also advise you look at it if you don't know what's inside. Look at the init script which is launched by the kernel with nash. You can customize it to your own needs. You can also have a look at the mkinitrd script and see how it is generated
Old 08-28-2007, 11:58 PM   #18
LQ Newbie
Registered: Aug 2007
Distribution: Fedora Core 7
Posts: 7

Rep: Reputation: 0
tofino_surfer and agrouf, thank you both for your kind replies.
Old 01-13-2013, 10:33 AM   #19
LQ Newbie
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
LVM problems

hi everyone,
could some one help me how to rename a volume group.
volume group "volgr1" still has active LVs

and also when i type df -h. It doesn't show any information about my logical volume and volume group

Last edited by khanks; 01-13-2013 at 10:39 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Vol-Group BadKharma Fedora 4 09-29-2007 11:31 AM
rename a group of files to a single extention Lleb_KCir Linux - General 9 02-20-2005 12:40 AM
Maxiumum Vol Size monkeyleader Linux - Hardware 5 10-22-2004 05:17 PM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 04:01 PM
Modem config-vol off lachlan Linux - General 2 10-16-2002 05:26 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration