Quote:
- Which filesystem did you create for the LFS partition (ext2/ext3/ext4/etc)?
|
As it is written in the book, I created a ext3 partition
Quote:
- Which partition did you use for creating LFS?
|
I use the LFS Live CD
Quote:
- What does your /etc/fstab look like?
|
Code:
root:/sources/linux-2.6.35.4# cat /etc/fstab
# Begin /etc/fstab
# file system mount-point type options dump fsck
# order
/dev/hda1 / ext3 defaults 1 1
/dev/hda2 swap swap pri=1 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devpts /dev/pts devpts gid=4,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
# End /etc/fstab
Quote:
- What does your /boot/grub/grub.cfg LFS menuentry look like?
|
Code:
root:/sources/linux-2.6.35.4# cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 6565ea77-31c4-4b94-9483-c91359dd4104
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "GNU/Linux, with Linux 2.6.35.4-lfs-6.7" --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 6565ea77-31c4-4b94-9483-c91359dd4104
echo Loading Linux 2.6.35.4-lfs-6.7 ...
linux /boot/vmlinux-2.6.35.4-lfs-6.7 root=/dev/hda1 ro
}
menuentry "GNU/Linux, with Linux 2.6.35.4-lfs-6.7 (recovery mode)" --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 6565ea77-31c4-4b94-9483-c91359dd4104
echo Loading Linux 2.6.35.4-lfs-6.7 ...
linux /boot/vmlinux-2.6.35.4-lfs-6.7 root=/dev/hda1 ro single
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
root:/sources/linux-2.6.35.4#
Quote:
- Are the correct option(s) present in your kernel config?
|
What options? Configuring the kernel isnt well described in the LFS book, so first I tried creating it with "make defconfig". But as it didnt work, I tried make menuconfig, looked through the menus (selected EXT2 and EXT3 in "filesystems") and compiled it. Same error on reboot...
Thank you for your help!