Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36540 - genkernel 3.x
Summary: genkernel 3.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Brad House
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-26 11:12 UTC by Imad R. Faiad
Modified: 2004-01-18 02:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Imad R. Faiad 2003-12-26 11:12:00 UTC
generating a gentoo-dev-sources (I have not tried with other kernel flavours) kernel with genkernel will result is the following error on boot
"root block device unspecified or not detected"
genkernel was invoked as follows:
genkernel --menuconfig all
reverting to genkernel 1.9 and using the any of the config files (/usr/src/linux/.config or /usr/share/genkernel/x86/whatever) does not reproduce the problem.  so it's not a kernel config file problem.
Comment 1 SpanKY gentoo-dev 2003-12-26 11:43:43 UTC
what filesystem is your root ?
Comment 2 Imad R. Faiad 2003-12-26 13:26:22 UTC
ext3, it's compile with the kernel
Comment 3 Imad R. Faiad 2003-12-26 13:27:24 UTC
ext3, it's compile with the kernel
Comment 4 Panard 2003-12-29 07:33:05 UTC
did you append real_root=/dev/hda.. to kernel arguments?
Comment 5 Imad R. Faiad 2003-12-30 02:50:45 UTC
Ponard, real_root only applies to grub, I am using lilo.
according to the genkernel 3.0.1 readme file "automatically mount at boot" should be disabled for devfs (ihad it enabled).
also root should point to /dev/ram0
I am recompiling the kernel with genkernel, and this time will
do as recommended in the readme file, will report my findings.
another question regaring real_root, I am not sure whether it may be
used with lilo, but will nevertheless try it should the above fail
seasons greetings
Comment 6 Imad R. Faiad 2003-12-30 07:02:24 UTC
Update: many thanks Panard, it works!

I guess this bug should be closed.

Sample lilo.conf file (since there isn't one in the
genkernel 3.x readme file)

lba32
boot = /dev/sda
map = /boot/System.map
menu-scheme=Wb
prompt
timeout=150
delay = 50
vga=0x31B
default="2.6.0-gentoo-r1"
image = /boot/kernel-2.6.0-gentoo-r1
	root = /dev/sda3
	vga=0x31B
	label = 2.6.0-gentoo-r1
	initrd=/boot/initrd-2.6.0-gentoo-r1
	append="root=/dev/ram0 real_root=/dev/sda3 init=linuxrc video=:vesa:ywrap,mtrr"