[oclug] Gentoo/GRUB

Bob Lockie bjlockie at lockie.ca
Sun Aug 18 16:44:34 EDT 2002


>> I compiled Gentoo successfully but I can't boot.
>> The hardest part was configuring GRUB (and it's probably still not right).
>
>A common error for Gentoo/grub is to not mount the "boot" partition
>and instead install the kernel + grub config to the directory /boot
>(under the root partition). You might want to double check you didn't
>do this.
>
>> I can boot my Windows with GRUB but Linux gives me the following error:
>> "Waring: unable to open an initial console.
>> Kernel panic: No init found. Try passing init= option to kernel.".
>> 
>> I hope I don't have to recompile the kernel because I don't really want
>> to figure out how to manually mount the partitions. :-)
>Just use the install disk. Boot to a prompt. Mount your root fs:
>mount /dev/hdX# /mnt/blah/root/ 
>and mount your boot to /boot:
>mount /dev/hdX# /mnt/blah/root/boot/a
>
>Then chroot /mnt/blah/root/
>
>Recompile kernel if necessary. mv your kernel to /boot and double check
>your grub config. Then reboot.

Thanks.
My /etc/fstab was wrong as well as my GRUB menu.lst.
All boots now. :-)

I have to recompile the kernel.
I am missing DEVFS and it complains. :-)

My network module does not load anymore.
The network was there when I installed it but something broke.






More information about the OCLUG mailing list