Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
i just finished "installing" gentoo using the genkernel option... now after i rebooted the system, i get a "The root block device is unspecified or not detected!" ... "Please specify a device to boot, or "shell" for a shell"..
what do i need to do? do i have to do the install all over again??
please help! it took me a long time... i hope i dont have to do it all over again
Boot off the install cd, remount your partitions (remount, NOT reformat), and double check the "installing a bootloader" part of the installation. It sounds like you forgot the root=/dev/hdxy (where x and y correspond to your / partition) in the grub.conf on the kernel line.
All of this is taken from the Gentoo Install Handbook. If for some reason you didn't, the best thing to do is going step by step in the handbook and do exactly what it tells you.
Mounting you partitions:
Code:
mount /dev/hda3 /mnt/gentoo
mkdir /mnt/gentoo/boot
mount /dev/hda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
The hda3 and hda1 device tags need to be change to whatever devices are you using. I assume you know this if you've gone through the installation before.
Then chroot:
Code:
chroot /mnt/gentoo /bin/bash
env-update
* Caching service dependencies...
source /etc/profile
Then you either did something wrong mounting the parititons or you did something wrong in the original installation and not everything got installed correctly. Did you follow the handbook closely when you did the initial isntall?
The kernel and linux in general uses tags like this, hda1, hda2, ect. The root=/dev/hda3 line is being passed into the kernel. When you see things like root (hd0,0) in grub.conf that is refereing to the grub device id's. Grub handles them differently. For instance, the first hard drive on the system's first partition is (hd0,0). The first harddrives 2nd partition is (hd0,1). The 2nd harddrives 3rd partition would be (hd1,2) and so on. Grub itself is the only thing that understands this. The tags in grub aren't tied to a particular bus. If I have a IDE HD and a SCSI HD and the IDE HD is usually hd0 removing it would then cause the SCSI HD to become hd0.
Can you show us your /boot/grub/grub.conf (or /boot/grub/menu.lst) file?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.