This is my first attempt to set up a LFS. I have used Version
SVN-20121122 for this. I have just finished the book with the given
instructions except following two.
1. Instead of preparing my LFS partition to be ext2 or ext3, I chose
it to be ext4.
2. I didnt install LFS grub, instead I have updated grub of my host
system (ubuntu 12.10).
My HDD now looks like :
$ sudo fdisk -l /dev/sda
Device Boot Start End Blocks Id System
/dev/sda1 2048 51199999 25598976 83
Linux #LFS / ext4
/dev/sda2 * 51200000 51589119 194560 83
Linux #Ubuntu /boot ext3
/dev/sda3 51589120 56276991 2343936 82 Linux swap /
Solaris
/dev/sda4 56279038 312580095 128150529 5 Extended
/dev/sda5 56279040 116824063 30272512 83
Linux #Ubuntu / ext4
/dev/sda6 116826112 312580095 97876992 83
Linux #Shared /home ext4
Part of my LFS kernel config looks like :
CONFIG_EXT3_FS=y
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_EXT4_FS=m
CONFIG_EXT4_USE_FOR_EXT23=y
CONFIG_EXT4_FS_XATTR=y
# CONFIG_EXT4_FS_POSIX_ACL is not set
# CONFIG_EXT4_FS_SECURITY is not set
# CONFIG_EXT4_DEBUG is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
The EXT4 is compiled as kernel module.
The grub meny entry in ubuntu grub looks like :
When I try to go into LFS, it (I am not sure what do I mean by 'it' -
grub / kernel :P) goes into panic state.
The points I could extract from error messages is, Somehow system is
trying to attempt and mount the '/' partition (/dev/sda1) as ext3 which
is incorrect.
Anyways I took a snap of my error screen when I try to boot LFS and kept
it at
http://ubuntuone.com/3bLEHLy31YuLisa87A6AFB
and
https://picasaweb.google.com/lh/photo/E7NQ3tPJSxmb7Jq9moYlE9MTjNZETYmyPJy0liipFm0?feat=directlink
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page