|
发表于 2005-8-8 10:58:40
|
显示全部楼层
In my PC, One harddisk, One cdrom, One FD,
grub>root ( (press TAB)
Possible disks are: fd0, hd0
grub>root (hd0, (press TAB)
Possible partitions are:
Partition num: 0 , Filesystem type is ext2fs, partition type 0x83
Partition num: 1 , Filesystem type unknown, partition type 0x82
grub>root (hd0,0)
I'm sorry I have a mistake on
[quote:63c26bf149="blackwolf"]For the LFS, after you compile the kernel, you must copy the kernel... from your source directory to /boot(/mnt/lfs/boot).
[code:1]cp arch/i386/boot/bzImage /boot/lfs_kernel
cp System.map /boot/System.map
cp .Config /boot/Config
[/code:1]
then in the grub.conf, add
[code:1]
title LFS (lfskernel-2.6.11.12)
root (hd0,5)
kernel /boot/lfs_kernel ro root=/dev/hda6
[/code:1][/quote]
It must be /boot/grub/menu.lst but not grub.conf, sorry. |
|