LFS Version 6.2 - 8.4. Making the LFS System Bootable

Mag. Leonhard Landrock 1977-Hamlet at gmx.at
Sun Aug 20 02:07:38 PDT 2006


Hi!

I'm nearly finished with my fisrt LFS installation. :-) Nevertheless I still 
have some problems booting the new system. :-(

My problem:
========

When trying to boot my LFS kernel, it starts and finally gets stuck with the 
following error:

VFS: Cannot open root device "sdb3" or unknown-block (0,0)
Please append a correct "root" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block 
(0,0)


Here comes the data of my installation:
========================

My PC has one internal scsi hard disk (/dev/sda)) and an external usb hard 
disk (/dev/sdb). My LFS root is on the usb hard disk.

My "normal" Linux system:
================

partitions:
---------------

# <file system>  <mount point>  <type>  <options>  <dump>  <pass>
/dev/sda2       /               reiserfs notail          0       1
/dev/sda3       none         swap    sw              0       0

boot loader:
------------------

GRUB installed in the MBR of scsi hard disk (/dev/sda).

"/boot/grub/menu.lst":
-----------------------------------

I have the following entry for booting my "LFS GRUB":

# This entry added by Leonhard Landrock for a non-linux OS
# on /dev/sdb3
title           Linux from Scratch
root            (hd1,2)
savedefault
makeactive
chainloader     +1


My LFS system:
==========

(part of) linux kernel configuration:
------------------------------------------------------

Device Drivers ---> USB support --->
[*] USB Mass Storage support
[*] USB Mass Storage verbose debug

partitions:
---------------

# file system  mount-point  type  options  dump  fsck
#                                                                        order

/dev/sdb3       /               ext3    defaults        1       1
/dev/sda3       none         swap     sw              0       0

boot loader:
------------------

GRUB installed in the “boot sector” of the LFS partition (/dev/sdb3).

Note: As necessary I used the command setup (hd1,2).

"/boot/grub/menu.lst":
-----------------------------------

# Begin /boot/grub/menu.lst

# By default boot the first menu entry.
default 0

# Allow 30 seconds before booting the default.
timeout 30

# Use prettier colors.
color green/black light-green/black

# The first entry is for LFS.
title LFS 6.2
root (hd1,2)
kernel /boot/lfskernel-2.6.16.27 root=/dev/sdb3
title           Debian GNU/Linux, kernel 2.6.15-1-686
root            (hd0,1)
kernel          /boot/vmlinuz-2.6.15-1-686 root=/dev/sdb3 ro bootkbd=de
initrd          /boot/initrd.img-2.6.15-1-686
savedefault
boot


I hope someone can help me getting the system booted.

Kind regards,
Leonhard.



More information about the lfs-support mailing list