LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-02-2007, 06:31 AM   #1
HedAche
LQ Newbie
 
Registered: Jul 2004
Location: London, UK
Distribution: Kubuntu 8.04 & OpenSuse 11.0
Posts: 5

Rep: Reputation: 0
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.
 
Old 08-02-2007, 01:20 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
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?
 
1 members found this post helpful.
  


Reply

Tags
boot, grub, lfs, opensuse, opensuse102



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB error 17 boot problem digitalmojo17 Linux - Software 2 10-24-2005 11:06 PM
error in 6.34 grub lfs-6 sharmashikha Linux From Scratch 1 07-05-2005 08:22 AM
Boot problem: "GRUB Loading stage2read Error" after installing PCI Ethernet card nsyng Fedora - Installation 1 06-06-2005 06:53 AM
Boot Error in LFS saurav_gohain Linux From Scratch 5 07-07-2003 01:19 AM
Boot LFS with Grub darkmage Linux From Scratch 2 08-20-2002 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration