| | 39 | |
| | 40 | !! WICHTIG !! Wir haben in die Gruppen-Konfiguration des Grub eingegriffen, deshalb ändern in: /var/linbo/boot/grub/[Gruppe].cfg: |
| | 41 | |
| | 42 | {{{ |
| | 43 | # start "Ubuntu 16.04" directly |
| | 44 | menuentry 'Ubuntu 16.04 (Start)' --class ubuntu_start { |
| | 45 | |
| | 46 | set root="(hd0,1)" |
| | 47 | set win_efiloader="/EFI/Microsoft/Boot/bootmgfw.efi" |
| | 48 | |
| | 49 | if [ -e /vmlinuz -a -e /initrd.img ]; then |
| | 50 | linux /vmlinuz root=/dev/sda1 root=/dev/sda1 ro splash intel_idle.max_cstate=1 net.ifnames=0 |
| | 51 | initrd /initrd.img |
| | 52 | elif [ -e /vmlinuz -a -e /initrd ]; then |
| | 53 | linux /vmlinuz root=/dev/sda1 root=/dev/sda1 ro splash intel_idle.max_cstate=1 net.ifnames=0 |
| | 54 | initrd /initrd |
| | 55 | elif [ -e /vmlinuz -a -e /initrd.img ]; then |
| | 56 | linux /vmlinuz root=/dev/sda1 root=/dev/sda1 ro splash intel_idle.max_cstate=1 net.ifnames=0 |
| | 57 | initrd /initrd.img |
| | 58 | elif [ -e /vmlinuz ]; then |
| | 59 | linux /vmlinuz root=/dev/sda1 root=/dev/sda1 ro splash intel_idle.max_cstate=1 net.ifnames=0 |
| | 60 | elif [ -s /boot/grub/grub.cfg ] ; then |
| | 61 | configfile /boot/grub/grub.cfg |
| | 62 | elif [ "$grub_platform" = "pc" ]; then |
| | 63 | if [ -s /bootmgr ] ; then |
| | 64 | ntldr /bootmgr |
| | 65 | elif [ -s /ntldr ] ; then |
| | 66 | ntldr /ntldr |
| | 67 | elif [ -s /grldr ] ; then |
| | 68 | ntldr /grldr |
| | 69 | else |
| | 70 | chainloader +1 |
| | 71 | fi |
| | 72 | elif [ -e "$win_efiloader" ]; then |
| | 73 | chainloader $win_efiloader |
| | 74 | boot |
| | 75 | fi |
| | 76 | |
| | 77 | } |
| | 78 | |
| | 79 | }}} |
| | 80 | |
| | 81 | Das könnte man auch kürzen auf: |
| | 82 | {{{ |
| | 83 | # start "Ubuntu 16.04" directly |
| | 84 | menuentry 'Ubuntu 16.04 (Start)' --class ubuntu_start { |
| | 85 | |
| | 86 | set root="(hd0,1)" |
| | 87 | linux /boot/vmlinuz root=/dev/sda1 ro splash intel_idle.max_cstate=1 net.ifnames=0 |
| | 88 | initrd /boot/initrd.img |
| | 89 | |
| | 90 | } |
| | 91 | |
| | 92 | }}} |