View previous topic :: View next topic |
Author |
Message |
jordanwb l33t
Joined: 10 Jul 2008 Posts: 642 Location: Ottawa, Canada
|
Posted: Sun Dec 07, 2008 4:07 pm Post subject: Block device /dev/system/root is not a valid root device... |
|
|
I have root on a LVM volume and I used genkernel (which is supposed to be the greatest thing since sliced bread) to make the initramfs. After genkernel compiled the kernel I added the grub options manually (since genkernel borks up /boot/grub/grub.conf). When I try to boot into my install the kernel complains that /dev/system/root is not a valid root device despite the fact that it is. I compiled LVM built-in plus the drivers for my sata controller and my pata controller.
/boot/grub/grub.conf:
Code: |
default 0
timeout 10
title Gentoo 2.6.27.8
root (hd0,1)
kernel /kernel-genkernel-x86_64-2.6.27.8 dolvm root=/dev/ram0 real_root=/dev/system/root vga=0x317
initrd /initramfs-genkernel-x86_64-2.6.27.8
title Windows XP Professional
rootnoverify (hd0,0)
makeactive
chainloader +1
|
lspci:
Code: |
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 5
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 6
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller
01:00.0 VGA compatible controller: nVidia Corporation GeForce 9500 GT (rev a1)
02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6101 single-port PATA133 interface (rev b2)
05:00.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
05:00.1 Input device controller: Creative Labs SB Audigy Game Port (rev 03)
05:00.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port
|
I suspect I'm supposed to put "dolvm" on the initrd line. |
|
Back to top |
|
|
Exil Apprentice
Joined: 10 Oct 2005 Posts: 251 Location: Nibylandia
|
Posted: Sun Dec 07, 2008 8:19 pm Post subject: |
|
|
did you compiled lvm into initramfs? (with genkernel) |
|
Back to top |
|
|
jordanwb l33t
Joined: 10 Jul 2008 Posts: 642 Location: Ottawa, Canada
|
Posted: Sun Dec 07, 2008 11:50 pm Post subject: |
|
|
Yes I did. When the kernel boots it says "Activating LVM volumes" then whines that /dev/system/root is not a valid block device. |
|
Back to top |
|
|
Exil Apprentice
Joined: 10 Oct 2005 Posts: 251 Location: Nibylandia
|
Posted: Mon Dec 08, 2008 10:52 am Post subject: |
|
|
add to grub "udev dolvm"
works for me. |
|
Back to top |
|
|
jordanwb l33t
Joined: 10 Jul 2008 Posts: 642 Location: Ottawa, Canada
|
Posted: Mon Dec 08, 2008 2:07 pm Post subject: |
|
|
Where do I put that? In the kernel params? |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Mon Dec 08, 2008 2:29 pm Post subject: |
|
|
Did you make your genkernel kernel like this:
Code: | genkernel --lvm all |
or just the initrd with this command:
Code: | genkernel --lvm initrd |
i.e. did you use the "--lvm" option? |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Mon Dec 08, 2008 2:30 pm Post subject: |
|
|
Exil wrote: | add to grub "udev dolvm"
works for me. |
You don't need "udev" anymore as that's on by default and you already have dolvm as a kernel param. |
|
Back to top |
|
|
jordanwb l33t
Joined: 10 Jul 2008 Posts: 642 Location: Ottawa, Canada
|
Posted: Mon Dec 08, 2008 2:56 pm Post subject: |
|
|
richard.scott wrote: | Did you make your genkernel kernel like this:
Code: | genkernel --lvm all |
or just the initrd with this command:
Code: | genkernel --lvm initrd |
i.e. did you use the "--lvm" option? |
I don't remember if I put the two hyphens before lvm but I did put all. I'll rebuild and make sure I put "--lvm" and not "lvm". |
|
Back to top |
|
|
jordanwb l33t
Joined: 10 Jul 2008 Posts: 642 Location: Ottawa, Canada
|
Posted: Sat Dec 20, 2008 4:37 pm Post subject: |
|
|
I still can't boot even with the 2.6.27.10 kernel. |
|
Back to top |
|
|
|