Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.