Hi everyone

I have a problem in section 8.4(making the LFS System Bootable, LFS 6.4)
I have two hard disks. the fisrt one is for host system as master and the
second one is for LFS as slave.
things that i did in section 8.4 was :
- - - - - - - -- - -- -- ---- - -- - -----
root :/# grub
grub > root (hd1,0)
grub > setup (hd1)


cat > /boot/grub/menu.lst << "EOF"
# Begin /boot/grub/menu.lst
# By default boot the first menu entry.
default 0
# Allow 30 seconds before booting the default.
timeout 30
# Use prettier colors.
color green/black light-green/black
# The first entry is for LFS.
title LFS 6.4
root (hd0,1)
kernel /boot/lfskernel-2.6.27.4 root=/dev/hdb1
EOF

- - - - - - - -- - -- -- ---- - -- - -----

but when i boot from the second hard (by removing the the first hard), i
just encounter with this error :

root (hd1,0)
Error 21 : selected disk does not exist

and when i just changed the menu.lst file as :

- - - - - - - -- - -- -- ---- - -- - -----
cat > /boot/grub/menu.lst << "EOF"
# Begin /boot/grub/menu.lst
# By default boot the first menu entry.
default 0
# Allow 30 seconds before booting the default.
timeout 30
# Use prettier colors.
color green/black light-green/black
# The first entry is for LFS.
title LFS 6.4
root (hd0,0)
kernel /boot/lfskernel-2.6.27.4 root=/dev/hda1
EOF
- - - - - - - -- - -- -- ---- - -- - -----
this time i saw this error :

root (hd0,0)
Error 11: unrecognized device starting

I don't what is wrong here ?
Thanks for any help
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to