Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Block device /dev/system/root is not a valid root device...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jordanwb
l33t
l33t


Joined: 10 Jul 2008
Posts: 642
Location: Ottawa, Canada

PostPosted: Sun Dec 07, 2008 4:07 pm    Post subject: Block device /dev/system/root is not a valid root device... Reply with quote

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
View user's profile Send private message
Exil
Apprentice
Apprentice


Joined: 10 Oct 2005
Posts: 251
Location: Nibylandia

PostPosted: Sun Dec 07, 2008 8:19 pm    Post subject: Reply with quote

did you compiled lvm into initramfs? (with genkernel)
Back to top
View user's profile Send private message
jordanwb
l33t
l33t


Joined: 10 Jul 2008
Posts: 642
Location: Ottawa, Canada

PostPosted: Sun Dec 07, 2008 11:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Exil
Apprentice
Apprentice


Joined: 10 Oct 2005
Posts: 251
Location: Nibylandia

PostPosted: Mon Dec 08, 2008 10:52 am    Post subject: Reply with quote

add to grub "udev dolvm"

works for me.
Back to top
View user's profile Send private message
jordanwb
l33t
l33t


Joined: 10 Jul 2008
Posts: 642
Location: Ottawa, Canada

PostPosted: Mon Dec 08, 2008 2:07 pm    Post subject: Reply with quote

Where do I put that? In the kernel params?
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Mon Dec 08, 2008 2:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Mon Dec 08, 2008 2:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
jordanwb
l33t
l33t


Joined: 10 Jul 2008
Posts: 642
Location: Ottawa, Canada

PostPosted: Mon Dec 08, 2008 2:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
jordanwb
l33t
l33t


Joined: 10 Jul 2008
Posts: 642
Location: Ottawa, Canada

PostPosted: Sat Dec 20, 2008 4:37 pm    Post subject: Reply with quote

I still can't boot even with the 2.6.27.10 kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum