Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When booting:
VFS: Cannot open root device "hda10" or unknow-block(0,0)
Please append a correct "root=" boot option
Kernel panic:VFS:Unable to mount root fs on unknow-block(0,0)
Below is my gentoo / and /boot:
Paradise:/home/felix# df -hT
/dev/hda10
reiserfs 4.5G 937M 3.6G 21% /mnt/gentoo
/dev/hda7 ext3 99M 23M 72M 24% /mnt/gentoo/boot
I did include reiserfs in the kernel:
Paradise:/home/felix# chroot /mnt/gentoo/ /bin/bash
Paradise:/# cat /boot/config-2.6.7-gentoo-r6 |grep REISER
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_REISERFS_FS_XATTR is not set
The other kernel images in /dev/hda7 can boot but the gentoo one:
Paradise:/home/felix# cat /mnt/rh/etc/grub.conf
......
title Gentoo Linux (2.6.7-gentoo-r6)
root (hd0,6)
kernel /kernel-2.6.7-gentoo-r6 root=/dev/hda10
title Debian GNU/Linux (2.6.6-2-k7)
root (hd0,6)
kernel /boot/vmlinuz-2.6.6-2-k7 ro root=/dev/hda5
initrd /boot/initrd.img-2.6.6-2-k7
if you have'nt tweaked the gentoo2.6.7-r6 kernel config too much....
when grub appears...choose the gentoo kernel you are having trouble with then press 'e' to edit that line
I did not use the genkernel and i did tweak the kernel very much. EXT3 is included:
Paradise:/# cat /boot/config-2.6.7-gentoo-r6 | grep EXT
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SND_GUSEXTREME=m
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set
I did not use the genkernel and i did tweak the kernel very much. EXT3 is included:
Paradise:/# cat /boot/config-2.6.7-gentoo-r6 | grep EXT
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SND_GUSEXTREME=m
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set
under 'filesystems' somewhere,(pseudo filesystems?) is a reference to the /dev files system and also, beneath that, 'automatically mount at boot'.
Are these compiled in?
My gentoo handbood is from a gentoo-install-x86-minimal-2004.1.iso. It lists:
File systems --->[*] Virtual memory file system support (former shm fs)[*] /proc file system support[*] /dev file system support (EXPERIMENTAL)[*] Automatically mount at boot
My gentoo handbood is from a gentoo-install-x86-minimal-2004.1.iso. It lists:
File systems --->[*] Virtual memory file system support (former shm fs)[*] /proc file system support[*] /dev file system support (EXPERIMENTAL)[*] Automatically mount at boot
But my 2.6.7 kernel's menuconfig says:
/dev file system support (OBSOLETE)
Who is right? Why are they not the same? I choose the menuconfig not the handbook(hb_part1_chap7.html). I ingore the /dev fs and of coz its auto mount. Now i include them and is making && making modules_install.
sorry, equinox. For my Debian, I have the same kernel files in both the root partition and boot partition. So
title Debian GNU/Linux (2.6.6-2-k7)
root (hd0,6)
kernel /boot/vmlinuz-2.6.6-2-k7 ro root=/dev/hda5
initrd /boot/initrd.img-2.6.6-2-k7
should be /vmlinuz... and /initrd.... in order not to be confusing.
Though i added /dev fs and automount of it, it is still unbootable.
This is my first time tweaking a kernel. I find most of the modules are unnecessary, aren't they? Like ISDL, Telephony, Camera, etc., many are meaningless to me. I excluded many of them. Maybe that's the result my gentoo cannot boot. I am now using its default state and making the kernel and modules. It will be time-consuming. I wish i am luck enough.
im having the same problem unable to mount root fs under gentoo amd64 with 2.6.7 custom kern, and i have compiled in proper fs support and the /dev even though it said obselete but said in the handkbook to do so and all the other options it says to compile in so i have no idea why im having this problem either
If you haven't successfully compiled a kernel before, you should use genkernel to get a working system at first. You can then always start practising compiling/configuring later on. Or you could take a config from another distro. I used to use slackwares 2.6.7 default config as a "base", then just made some small changes.
edit: to dmx9595: yes, this post is for the guy who started this thread, not you
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.