[oclug] Gentoo/GRUB
Peter
s_ain_t at yahoo.com
Sun Aug 18 16:18:07 EDT 2002
heh..
i remember doing thing. not mounting the /boot partition and trying to figure
out why the boot does not reflect the lastest kernel compile. it is was a
painful experience. but now every time i compile the kernel i make sure that i
mount the boot partition and copy the kernel image there.
Petro
--- Ross Jordan <rjordan at student.math.uwaterloo.ca> wrote:
> >
> > 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.
>
> Hope this helps,
> Ross
>
>
>
> _______________________________________________
> oclug mailing list
> oclug at lists.oclug.on.ca
> http://www.oclug.on.ca/mailman/listinfo/oclug
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
More information about the OCLUG
mailing list