Changeset 416 for main/linuxmuster-linbo/trunk/linbo/linbo_cmd.sh
- Timestamp:
- 01/13/09 18:15:46 (3 years ago)
- File:
-
- 1 edited
-
main/linuxmuster-linbo/trunk/linbo/linbo_cmd.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
main/linuxmuster-linbo/trunk/linbo/linbo_cmd.sh
r414 r416 548 548 case "$3" in 549 549 *[Gg][Rr][Uu][Bb].[Ee][Xx][Ee]*) 550 # Load grub.exe preferably from cache partition, if present551 # if [ -r "/cache/$3" ]; then552 # KERNEL="/cache/$3"553 # mkgrubmenu "$1"554 # grub-set-default --root-directory=/cache 1555 #WINDOWS="yes"556 # LOADED="true"557 # fi558 # [ -r "$KERNEL" ] || KERNEL="/usr/lib/grub.exe" # Use builtin559 550 # tschmitt: use builtin grub.exe or badgrub.exe in any case 560 551 KERNEL="/usr/lib/$3" … … 563 554 [ -z "$APPEND" ] && APPEND="--config-file=map(rd) (hd0,0); map --hook; chainloader (hd0,0)/ntldr; rootnoverify(hd0,0) --device-map=(hd0) $disk" 564 555 ;; 565 *[ Pp][Xx][Ee][Gg][Rr][Uu][Bb]*)566 # tschmitt: if kernel is pxegrubassume that it is a real windows, which has to be rebootet556 *[Rr][Ee][Bb][Oo][Oo][Tt]*) 557 # tschmitt: if kernel is "reboot" assume that it is a real windows, which has to be rebootet 567 558 WINDOWS="yes" 568 559 LOADED="true" … … 572 563 grub-set-default --root-directory=/cache 1 573 564 fi 574 # oehler: set windows boot flag575 flag="$(printf '\%o' 1)"576 echo -n -e "$flag" | dd seek=432 bs=1 count=1 of=$disk conv=notrunc577 565 ;; 578 566 *) … … 641 629 sleep 2 642 630 reboot -f 643 sleep 10631 #sleep 10 644 632 fi 645 633 else
Note: See TracChangeset
for help on using the changeset viewer.
