On 07/22/2014 12:07 PM, 樱木洋葱 wrote:
Hi,all.
In Chapter 9, I change the grub.cfg accordiing to my machine environment:
cat > /boot/grub/grub.cfg << "EOF"
# Begin /boot/grub/grub.cfg
set default=0
set timeout=5
insmod ext2
set root=(hd0,msdos6)
menuentry "GNU/Linux, Linux 3.13.3-lfs-7.5" {
linux /boot/vmlinuz-3.13.3-lfs-7.5 root=/dev/sda2 ro
}
EOF
(I use cfdisk to seprate the hard disk and I am also curious why I have
msdos partition...)
In this case, "msdos" is the type, or class, of your disk partitions.
I don't see why you look for the linux kernel in partition 6 (msdos6)
and set then your root filesystem in sda2. Maybe you are using logical
partitions?
The question is:
I can't reboot into the completed system and it seems I stuck in it. I
have take a screen shot in
http://smiletaiki.qiniudn.com/2014-07-22%2017:51:05%E7%9A%84%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE.png
Also as Bruce points, your screenshot shows a reference to an initrd but
your grub.cfg file doesn't include one. You should review where your LFS
system is, and set your root partition and your root filesystem accordingly.
The right part is the htop command and the left part is what the VMware
shows.
Any help will be greatly appreciated.
Maybe this thread helps with VMware disks:
http://comments.gmane.org/gmane.linux.lfs.support/38751
Regards.
ALZ.
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page