LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 6.2 grub boot error 15 problem (http://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-6-2-grub-boot-error-15-problem-574178/)

HedAche 08-02-2007 06:31 AM

LFS 6.2 grub boot error 15 problem
 
Hi all,

I have been getting an Error 15 message when I try to boot into my shiny new LFS system. The error message is as follows:

Quote:

Booting 'lfs 6.2'

root (hd1,6)
Filesystem type is ext2fs, partition type 0x83
kernel (hd1,6)/boot/lfskernel-2.6.16.27 root=/dev/sdb7

Error 15: File not found
Press any key to continue...
My host system is openSUSE 10.2 and sits on a different disk to the one LFS resides on. I have edited the grub files in the host system to allow me to boot into LFS instead of installing grub as instructed to do in Chapter 8.4 Making the LFS System Bootable.

First, running:

fdisk -l

gives the following:

Quote:

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 26491 212788926 7 HPFS/NTFS
/dev/sda2 26492 26615 996030 82 Linux swap / Solaris
/dev/sda3 26616 30401 30411045 f W95 Ext'd (LBA)
/dev/sda5 26616 28129 12161173+ 83 Linux
/dev/sda6 28130 30401 18249808+ 83 Linux

Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 2 30515 245103705 f W95 Ext'd (LBA)
/dev/sdb5 2 26110 209720511 7 HPFS/NTFS
/dev/sdb6 26111 26372 2104483+ 82 Linux swap / Solaris
/dev/sdb7 26373 30515 33278616 83 Linux

Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 30401 244196001 c W95 FAT32 (LBA)
The host system (openSUSE 10.2) sits on sda5; LFS sits on sdb7.

My grub files from openSUSE look like this:

/boot/grub/menu.1st:

Quote:

# Modified by YaST2. Last modification on Thu Aug 2 11:34:59 BST 2007
default 0
timeout 8
gfxmenu (hd0,4)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2
root (hd0,4)
kernel /boot/vmlinuz root=/dev/sda5 vga=0x317 resume=/dev/sdb6 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.2
root (hd0,4)
kernel /boot/vmlinuz root=/dev/sda5 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd

title lfs 6.2
root (hd1,6)
kernel /boot/lfskernel-2.6.16.27 root=/dev/sdb7

title Windows
rootnoverify (hd0,0)
chainloader (hd0,0)+1
/boot/grub/device.map:

Quote:

(hd0) /dev/sda
(hd2) /dev/sdc
(hd1) /dev/sdb
and /etc/grub.conf looks like this:

Quote:

setup --stage2=/boot/grub/stage2 (hd0) (hd0,4)
quit
I don't understand why I am getting the Error 15 message at all. When I look at the LFS system (which I have mounted under openSUSE) I can see that the file /boot/lfskernel-2.6.16.27 is there, so the message makes absolutely no sense to me. If anyone can help in any way I'd massively appreciate it. Thanks in advance.

raskin 08-02-2007 01:20 PM

Try pressing 'e' in GRUB (to go to edit mode), then pressing 'e' on the line with kernel file name. Then type
kernel (hd1,
and press tab a few times. Check it offers (hd1,6). Choose it. Add
/boot/
and use tab completion again. Check there are no minor typos in what you have in menu.lst . After you have a completed name, add
root=/dev/sdb7
, press enter and then 'b' to boot. Will it really boot?


All times are GMT -5. The time now is 06:24 PM.