On Mon, Aug 31, 2009 at 5:59 PM, Amir Khezrian<amir.khezr...@gmail.com> wrote:
> 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
>
>

I am wondering if the second hard disk is still the second hard disk
if you removed the first one. You may need to keep it there.

I'm not answering your question but rather bring here my own one.
I compile the system successfully(it should be) but can't boot it up.

I installed lfs in /dev/sda4, vista was installed in /dev/sda1 and mbr
also belong to vista
i setup the grub as root(hd0,3), setup(hd0,3) but got the same error
message: Error 11: unrecognized device starting   or  'unrecognized
selected disks'

Why?

THanks for any help.

-- 
Regards,
Hugh
-- 
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