On Saturday 17 November 2007, Thufir wrote: > I'm currently getting error 15 from GRUB, of the "Code Listing 4.2: Grub > Output - Booting an Entry" variety. I can boot into either Gentoo or > Fedora, but not into Gentoo with the new kernel. > > The Gentoo doc's say to "First, verify that the root and setup lines you > have used are correct." I don't know how to verify that the root and > setup lines are correct. The only difference between entries for the two > Gentoo kernels are the kernels specified in GRUB. The /boot/ partition > would look to be (hd1,0) and the root partition would look to be /dev/ > hdb3; at a minimum these work for the genkernel so should work for the > new kernel.
I am not sure which disk you have installed gentoo in, so some guessing will be necessary. Pressing e to get you into edit mode when Grub is booting and then using the find command or tab completion will tell you what partitions you have available and where Grub's root fs is found. Of course if you have installed Grub in more than one disk and partition then some trial and error should get you there. > Perhaps it's a naming convention? I gave the kernel a name meaningful to > me, not knowing what other name to give it version wise. As long the kernel image file name in /boot and in your grub.conf entry is the same there shouldn't be a problem. > I can always > recompile the kernel if necessary. Could it be a modules issue? Yes it can, although not on this occasion because it gives a different error. Make sure that essential things like your MoBo chipset and your root fs are compiled in the kernel, not as modules. Alternatively, you'll need to build a fat initrd to contain these and make them available at boot time. > I > didn't understand that step of configuring the kernel. However, it might > be something else, as it would seem to me that it would still at least > *start* to boot and not give this particular error: > > "Code Listing 4.2: Grub Output - Booting an Entry > > Booting 'gentoo Linux' > > root (hd0,0) > Filesystem type is ext2fs, partition type 0x83 > kernel (hd0,0)/boot/kernel-2.4.20 root=/dev/hda3 vga=792 This is trying to boot a file called kernel-2.4.20 in a directory called /boot inside your first partition, of your first disk. Do you have a /boot directory in /boot partition in there? Does it boot if you remove /boot from that line? > Error 15: File not found > Press any key to continue..." It did not find the file you told it in there. > although some of the particulars are different. > > > Here's what I have so far: > > > arrakis ~ # > arrakis ~ # cat /boot/grub/grub.conf > default 0 > timeout 30 > splashimage=(hd1,0)/grub/splash.xpm.gz > > > title=Gentoo Linux with ALSA > root (hd1,0) > kernel /kernel-has-alsa root=/dev/hdb3 So, this has a file called kernel-has-alsa which is in the first partition of the *second* hard drive? > title=Gentoo Linux > root (hd1,0) *second* hard drive too? See if the above helps otherwise post back. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.

