|
|
我采用的是在host(fc5)下安装到路径,不建新分区
在全部编译完成后,chroot可以进入。剩下的工作就是:
1, 写fstab
2, 编译内核
遇到的问题是:
安装目录在 (hd0,8)/lfs
根据hint,在host grub.conf添加
title LFS system in /lfs on /dev/sda9
root (hd0,8)
kernel /boot/lfskernel-x.y.z root=/dev/sda9 init=/lfs/sbin/pre-init
启动失败
错误为
please append a correct "root=" boot option
Kernel panic - not syncing:VFS: Unable to mount root fs on unknown-block(0,0)
a)我不知我这种情况fstab应该如何写?
b)fstab重写后,是否需要重新编译kernel?
参考文档:
6.1.1手册和
安装在现存的某个操作系统所在的分区上的hint
http://www.linuxfromscratch.org/ ... xisting_systems.txt |
|