help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: chain hd0 and next bios


From: Carl Karsten
Subject: Re: chain hd0 and next bios
Date: Fri, 5 May 2017 15:49:11 -0500

On Fri, May 5, 2017 at 12:20 PM, Andrei Borzenkov <address@hidden>
wrote:

> 05.05.2017 07:31, Carl Karsten пишет:
> > pxe boot grub-net
> >
> > I want options to tell the bios Never mind, failed to boot anything, try
> > next device,
> >
> > label bootnext
> >     # fail the pxe boot,
> >     localboot 0
> >
>
> Does "exit" work for you here?
>

Why yes it does!
that was easy.


>
> > and also Boot HD0 (for some idea of first hard disk)
> >
> > label boothd
> > # boot from the first HD
> >         kernel syslinux/chain.c32
> >         append hd0
> >
>
> Not sure - if this is generic question "how to chainload something", it
> would be
>
> set root=hd0
> chainloader +1
>
>

Error disk 'hd0' not found



> which loads first sector of hd0 and jumps to it. The value of ${root} is
> passed as boot device, it is in principle possible to do
>
> set root=hd0
> chainloader (hd1)+1
>
>
Error disk 'hd1' not found



> If you are aware of it and your question is specific to PXE boot - could
> you elaborate?
>


I don't think it is specific to pxe other than it might not make sense for
a grub booted from the hd  to have an option to load itself again.

or maybe it explains why there is no hd0?


-- 
Carl K


reply via email to

[Prev in Thread] Current Thread [Next in Thread]