Skip to contentSkip to conversation

FC8: "no Volumegroups found" after Mainboard-Change, Rescueboot:OK

linux-lvm Reinald Gfuellner 3 participants 3 messages Dec 15, 2008

lore
Share & tools
lore
#0 lore raw

After changing the mainboard, booting of several preexistent FC8-Installations fails: "No volume groups found". (kernel can not mount root-filesystem.)

DVD-Rescue-Boot however is OK, volumegroups are found and root-filesystem is accessible.

I've been searching quite a while for a solution.

Any help would be great! Thanks.
Reinald
-------------------------------------------------------------------------------

Fedora 8
Gigabyte-MA78GM-S2 (Chipset: AMD SB700, AMD 780G)
HD, DVD: PATA (SATA-Controller : OFF)

FC8-DVD-Rescue-Session:

fdisk -l :
Disk /dev/sda: 10.1 GB, 10140204544 bytes
255 heads, 63 sectors/track, 1232 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0009356a

Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 1232 9695227+ 8e Linux LVM

------
/etc/fstab:
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
-----
vpdisplay:
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 9.25 GB / not usable 28.00 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 295
Free PE 1
Allocated PE 294
PV UUID DC88UL-JHKW-wZak-2MlF-paO2-3u2a-uVqlIr
--------
lvdisplay:
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID GvUO1w-rZMj-Rd0X-pdWm-wNeB-DeZW-5jBcX6
LV Write Access read/write
LV Status available

# open 1
LV Size 8.31 GB
Current LE 266
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0

--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID CREAgo-wh4y-Bnyl-CjFn-00oZ-cJEV-onvFh8
LV Write Access read/write
LV Status available

# open 1
LV Size 896.00 MB
Current LE 28
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1
Signature · 4 lines
________________________________________________________________________
Dipl.-Ing.(FH) Reinald Gfuellner               http://www.rcs.ei.tum.de
Institute for Real-Time Computer Systems (RCS)     fon +49-89-289-23564
Technische Universitaet Muenchen, D-80290 Muenchen fax +49-89-289-23555
#1 lore raw
Quoted 9 lines · Reinald Gfuellner

After changing the mainboard, booting of several preexistent FC8-Installations fails: "No volume groups found". (kernel can not mount root-filesystem.)

DVD-Rescue-Boot however is OK, volumegroups are found and root-filesystem is accessible.

I've been searching quite a while for a solution.

Have you tried to rebuild your initrd from the rescue environment? It's possible that the new motherboard requires a different set of kernel modules to boot than the old one.

Regards,
Bryn.

#2 lore raw
In reply to Reinald Gfuellner
Quoted 6 lines · Reinald Gfuellner

After changing the mainboard, booting of several preexistent FC8-Installations fails: "No volume groups found". (kernel can not mount root-filesystem.)

DVD-Rescue-Boot however is OK, volumegroups are found and root-filesystem is accessible.

I've run into this several times. In my cases, the problem has been a change in disk controller, so that the drivers in initrd no longer work. This can usually be fixed by booting the rescue, mount the root and boot, chroot, and mkinitrd. You might need to use lsmod to find out which driver is needed if mkinitrd can't figure it out from the chroot environment. Use -v to make sure mkinitrd is including the LVM stuff. If not, more manual overrides are in order.

Signature · 4 lines
	      Stuart D. Gathman <[email protected]>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.