On Sat, May 6, 2017 at 12:30 AM, Andrei Borzenkov <[email protected]> wrote:
> 05.05.2017 23:49, Carl Karsten пишет: > > On Fri, May 5, 2017 at 12:20 PM, Andrei Borzenkov <[email protected]> > > 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 > > > > You likely need to "insmod biosdisk" before, PXE grub image (at least as > built by grub-mknetdir) does not include it. > > that woks. two down. thanks. > > > > > >> 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 _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
