close Warning: Can't synchronize with repository "keplertools" (/srv/svn/keplertools does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Initial Version and Version 1 of Ticket #3493, comment 2


Ignore:
Timestamp:
Jun 5, 2020, 11:53:33 AM (6 years ago)
Author:
bau

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3493, comment 2

    initial v1  
    1414* /initrd.img durch /boot/initrd.img
    1515
     16{{{
     17#Ergänzt für Netzwerk-Boot
     18menuentry 'Start Ubuntu' {
     19   set root="(hd0,1)"
     20   linux  /boot/vmlinuz root=/dev/sda1 ro splash intel_idle.max_cstate=1 net.ifnames=0
     21   initrd /boot/initrd.img
     22}
     23}}}
     24
    1625
    1726Bootet der Rechner lokal, so benutzt er die grub-Datei, die LINBO automatisch erstellt, dazu muss die entsprechende start.conf in /var/linbo/ angepasst werden:
    … …  
    2837}}}
    2938
     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
     44menuentry '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
     81Das könnte man auch kürzen auf:
     82{{{
     83# start "Ubuntu 16.04" directly
     84menuentry '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}}}