Last modified 2 years ago
Grafisches-PXE-Boot-Menü
Das LINBO-Boot-System ermöglicht im Zusammenspiel mit Syslinux und Grub4dos das Erstellen eigener PXE-Bootmenüs. Dazu muss die gruppenspezifische PXE-Boot-Konfigurationsdatei unter /var/linbo/pxelinux.cfg/<gruppe> gegen eine Selbstgestrickte entsprechend dem unten aufgeführten Beispiel ausgetauscht werden.
Konfigurationsdatei für ein Grafisches PXE-Boot-Menü1:
DEFAULT /vesamenu.c32
# nach Ablauf des Timeouts wird Windows XP mit synchronisiertem Autostart gebootet.
ONTIMEOUT winxpsync
PROMPT 0
# STARTE winxpsync nach 5 Sek. Untätigkeit, wird durch Tastendruck des Anwenders unterbrochen.
TIMEOUT 50
# starte auf jeden Fall das Defaultsystem nach 5 Sek.,
# auch wenn der Anwender den Autostart unterbrochen hat.
TOTALTIMEOUT 50
KBDMAP /german.kbd
DISPLAY /boot.msg
# verbietet die Änderung der APPEND-Zeile
ALLOWOPTIONS 0
# Layout-Definitionen fuer das Menue
MENU AUTOBOOT Automatischer Start von "Windows XP - Sync+Start" in # Sekunde{n}...
MENU BACKGROUND /logo.16
MENU TITLE Boot-Menue der Gruppe fs
MENU color title 1;36;44 #ffffffff #00000000 std
MENU color sel 7;37;40 #ffffffff #ffdaa520 all
MENU color hotsel 1;7;37;40 #ffffffff #ffdaa520 all
MENU WIDTH 80
MENU MARGIN 10
MENU ROWS 12
MENU ENDROW 24
MENU TIMEOUTROW 18
MENU VSHIFT 2
# direkter Start des Windows-XP-Systems aus der 1. Partition
LABEL winxp
MENU LABEL ^1. Windows XP - Start
KERNEL grub.exe
APPEND keeppxe --config-file=pxe basedir /; default 0; timeout 0; hiddenmenu; title Partition 1; errorcheck off; configfile (hd0,0)/boot/grub/menu.lst; configfile (hd0,0)/menu.lst; chainloader +1; errorcheck on;
# LINBO-Start mit synchronisiertem Autostart des Windows-XP-Systems
LABEL winxpsync
MENU LABEL ^2. Windows XP - Sync+Start
KERNEL linbo
APPEND initrd=linbofs.gz vga=788 quiet autostart=1
# direkter Start des Ubuntu-Systems aus der 2. Partition
LABEL ubuntu
MENU LABEL ^3. Ubuntu - Start
KERNEL grub.exe
APPEND keeppxe --config-file=pxe basedir /; default 0; timeout 0; hiddenmenu; title Partition 1; errorcheck off; configfile (hd0,1)/boot/grub/menu.lst; configfile (hd0,1)/menu.lst; chainloader +1; errorcheck on;
# LINBO-Start mit synchronisiertem Autostart des Ubuntu-Systems
LABEL ubuntusync
MENU LABEL ^4. Ubuntu - Sync+Start
KERNEL linbo
APPEND initrd=linbofs.gz vga=788 quiet autostart=2
# LINBO-PXE-Boot ohne Autostart eines Systems
LABEL linbo
MENU LABEL ^5. LINBO PXE
KERNEL linbo
APPEND initrd=linbofs.gz vga=788 quiet autostart=0
# LINBO-PXE-Boot im Debug-Modus
LABEL debug
MENU LABEL ^6. LINBO PXE debug
KERNEL linbo
APPEND initrd=linbofs.gz vga=788 debug autostart=0
# lokaler LINBO-Boot
LABEL linbo-lokal
MENU LABEL ^7. LINBO lokal
KERNEL grub.exe
APPEND --config-file=default 0; timeout 0; hiddenmenu; title LINBO lokal; find --set-root --ignore-floppies --ignore-cd /linbofs.gz; kernel /linbo vga=788 quiet autostart=0; initrd /linbofs.gz;
# lokaler LINBO-Boot im Debug-Modus
LABEL debug-lokal
MENU LABEL ^8. LINBO lokal debug
KERNEL grub.exe
APPEND --config-file=default 0; timeout 0; hiddenmenu; title LINBO lokal debug; find --set-root --ignore-floppies --ignore-cd /linbofs.gz; kernel /linbo vga=788 quiet autostart=0; initrd /linbofs.gz;
So erscheint das Boot-Menü nach obiger Beispieldatei auf dem Client (Navigation mit den Pfeiltasten, Auswahl mit ENTER):
1) Zur Menü-Syntax siehe http://syslinux.zytor.com/wiki/index.php/Menu.
Attachments
-
grafisches-PXE-Boot-Menu.png
(47.6 KB) -
added by tschmitt 2 years ago.
-
beispiel.txt
(2.7 KB) -
added by tschmitt 2 years ago.
