Grub Manual

Les Mikesell lesmikesell at gmail.com
Sat Oct 20 18:28:44 UTC 2007


Mike Wright wrote:

>> I'd like to have a locally installed system, but have one of the boot 
>> choices be to network-boot into an LTSP thin-client. I don't want to 
>> just PXE boot because I want the default after a timeout to be a local 
>> OS.  I thought some versions of grub used to be able to do the 
>> equivalent of an etherboot internally, but that may be gone now.  If I 
>> have a stand-alone bootable floppy or CD that will network-boot the 
>> way I want, is there a way to copy that to the hard drive and make a 
>> grub menu choice that will load it?
>>
> 
> If I understand you correctly that sounds like my setup.  I use pxeboot 
> with a tree'd menu.  Sub menus are boot, install, and tools.  If nothing 
> on the main menu is selected within the timeout period the connecting 
> machine is instructed to boot locally using its own grub loader.
> 
> Here is the top level menu (/tftpboot/pxeboot.cfg/default)
> 
> DEFAULT menu.c32
> TIMEOUT 100
> ONTIMEOUT local
> 
> MENU TITLE Main Menu
> 
> LABEL local
>     MENU LABEL Boot from ^Local Drive
>     LOCALBOOT 0
> 
> LABEL boot
>     MENU LABEL ^Boot
>     KERNEL menu.c32
>     APPEND pxelinux.cfg/boot
> 
> LABEL install
>     MENU LABEL ^Install
>     KERNEL menu.c32
>     APPEND pxelinux.cfg/install
> 
> LABEL tools
>     MENU LABEL ^Tools
>     KERNEL menu.c32
>     APPEND pxelinux.cfg/tools
> 
> If you want the submenus, too, let me know.

Yes, that would certainly be useful in some situations, especially a lab 
  where an assortment of installs could be chosen.  In others, though, 
I'd like the machine to be able to boot locally without depending on the 
network so I was hoping for the equivalent from a local grub boot.

-- 
   Les Mikesell
    lesmikesell at gmail.com




More information about the users mailing list