Liebe Mitstreiter,
bei mir gibt es immer noch ein Problem mit dem UEFI-Boot unter Windows 10 bzw. beim Ausrollen der Installation. Folgendes Ereignisprotokoll stelle ich mal zur Diskussion:
Die Rechner sind Dell Inspiron 15 mit UEFI-Boot, Secure Boot ist off; Zunächst existieren in der GPT die Bootmöglichkeiten Onboard NIC (IPv4) und Onboard NIC (IPv6)
Rechner via Netzwerk gestartet → Linbo bootet
Anschließend existiert ein Eintrag grub in GPT
Rechner partitioniert und formatiert und in Linbo neu gebootet. Fallback in Linbo
Ubuntu 16.04-Image zurückgespielt, bootet neu und bootet in Linbo auch nach lokalem Start, neuer Eintrag in GPT: „Ubuntu“
- Start ohne Synchronisation O. K.
- mit Synchronisation ca. 2 Minuten incl. Reboot; O.K.
Soweit also alles in Ordnung. Jetzt kommt aber Windows:
Windows10-Image zurückgespielt, Boot nach erfolgreicher Restauration in grub-rescue-Menü. Fehlermeldung: error: unknown filesystem Entering rescue mode… grub rescue>
Bei Start über NIC bootet Linbo ganz normal, allerdings wird dann die Cache-Partition formatiert!!!
Nach erneutem lokalen Boot bootet Linbo wie am Anfang kann allerdings bei unsynchronisiertem Start die Betriebsystempartition nicht mounten. (Bei synchronisiertem Start wird natürlich das neue Image heruntergeladen.
Was könnte die Ursache sein bzw. was könnte helfen?
Anbei die Startkonfigurationsdatei und die Grub-Startdatei:
/var/linbo/start.conf.dellinspiron15
LINBO start.conf für Dell Inspiron 15 Hector-Seminar mit EFI (GPT)
EFI 64 Partition 1
MSR Partition 2
Windows 10 Partition 3
Ubuntu Partition 4
Swap Partition 5
Daten auf Partition 6
Cache auf Partition 7
[LINBO] # globale Konfiguration
Cache = /dev/sda7 # lokale Cache Partition
#Cache = //10.16.1.1/linbo-repo> # Remote-Cache
Server = 10.16.1.1 # IP des Linbo-Servers, der das Linbo-Repository vorhaelt
Group = dellinspiron15 # Name der Rechnergruppe fuer die diese Konfigurationsdatei gilt
Achtung: Server und Group werden beim Workstationsimport automatisch gesetzt!
SystemType = efi64 # moeglich ist bios|bios64|efi32|efi64 (Standard: bios fuer bios 32bit)
RootTimeout = 600 # automatischer Rootlogout nach 600 Sek.
AutoPartition = no # automatische Partitionsreparatur beim LINBO-Start
AutoFormat = no # kein automatisches Formatieren aller Partitionen beim LINBO-Start
AutoInitCache = no # kein automatisches Befuellen des Caches beim LINBO-Start
DownloadType = rsync # Image-Download per torrent|multicast|rsync, default ist rsync
BackgroundFontColor = white # Bildschirmschriftfarbe (default: white)
ConsoleFontColorStdout = lightgreen # Konsolenschriftfarbe (default: white)
ConsoleFontColorStderr = yellow # Konsolenschriftfarbe fuer Fehler-/Warnmeldungen (default: red)
KernelOptions = quiet splash # Beispiele:
#KernelOptions = acpi=noirq irqpoll # LINBO Kerneloptionen (z. B. acpi=off), m. Leerz. getrennt
#KernelOptions = server=10.16.1.5 # Abweichende Linbo-Server-IP als Kerneloption gesetzt
# falls gesetzt wird diese IP beim Workstationsimport verwendet.
[Partition] # Partition fuer EFI
Dev = /dev/sda1 # Device-Name der Partition (sda1 = erste Partition auf erster Platte)
Size = 200M # Partitionsgroesse (Bsp.: 200M), ist keine Einheit (M, G oder T) angegeben, wird kiB angenomme
Id = ef # Partitionstyp (83 = Linux, 82 = swap, c = FAT32, 7 = NTFS, ef = efi)
FSType = vfat # Dateisystem auf der Partition (FAT32)
Bootable = yes # Bootable-Flag gesetzt
Label = efi # Partitionslabel efi (efi system partition)
[Partition] # Partition fuer MSR
Dev = /dev/sda2 # Device-Name der Partition (sda2 = zweite Partition auf erster Platte)
Size = 128M # Partitionsgroesse 128M
Id = c01 # Partitionstyp 0c01
FSType = # kein Dateisystem
Bootable = no # kein Bootable-Flag
Label = msr # Partitionslabel msr (microsoft reserved partition)
[Partition] # Partition fuer Windows
Dev = /dev/sda3 # Device-Name der Partition (sda3 = dritte Partition auf erster Platte)
Size = 70G # Partitionsgroesse 30G
Id = 7 # Partitionstyp 7
FSType = ntfs # Dateisystem ntfs
/var/linbo/start.conf.dellinspiron15 [----] 17 L:[ 51+49 100/125] *(5620/7384b) 0032 0x020
Bootable = yes # kein Bootable-Flag
Label = win10 # Partitionslabel win10
[Partition] # Partition fuer Ubuntu
Dev = /dev/sda4 # Device-Name der Partition (sda4 = vierte Partition auf erster Platte)
Size = 50G # Partitionsgroesse 30G
Id = 83 # Partitionstyp 83
FSType = ext4 # Dateisystem ext4
Bootable = yes # kein Bootable-Flag
Label = ubuntu # Partitionslabel ubuntu
[Partition] # Swap-Partition
Dev = /dev/sda5 # Device-Name der Partition (sda5 = fuenfte Partition auf erster Platte)
Size = 4G # Partitionsgroesse 4G
Id = 82 # Partitionstyp 82
FSType = swap # Dateisystem swap
Bootable = no # kein Bootable-Flag
Label = swap # Partitionslabel swap
[Partition] # Daten-Partition
Dev = /dev/sda6 # Device-Name der Partition (sda6 = sechste Partition auf erster Platte)
Size = 700G # Partitionsgroesse 80G
Id = 83 # Partitionstyp 83
FSType = ext4 # Dateisystem ext4
Bootable = no # kein Bootable-Flag
Label = Daten # Partitionslabel Daten
[Partition] # Cache
Dev = /dev/sda7 # Device-Name der Partition (sda7 = siebte Partition auf erster IDE-Platte)
Size = # Partitionsgroesse nicht angegeben = Rest der Platte
Id = 83 # Partitionstyp 7
FSType = ext4 # Dateisystem ntfs
Bootable = no # kein Bootable-Flag
Label = Cache # Partitionslabel daten
[OS] # Beginn einer Betriebssystemdefinition
Name = Windows 10 # Name des Betriebssystems
Version = # Version (unbenutzt, leer lassen)
Description = Windows 10 # Beschreibung
IconName = win10.png # Icon fuer den Startbutton, muss unter /var/linbo/icons abgelegt sein
Image = # differentielles Image (Erweiterung .rsync, Verwendung nicht empfohlen)
BaseImage = dellinspironwin10.cloop # Dateiname des Basisimages (Erweiterung .cloop)
Boot = /dev/sda3 # Bootpartition (unbenutzt, immer gleich Rootpartition)
Root = /dev/sda3 # Rootpartition, in die das BS installiert ist
Kernel = reboot # Windows: auto (LINBO & Grub erkennen die Startparameter automatisch)
Initrd = # Windows: leer
Append = # Windows: leer
StartEnabled = yes # “Start”-Button anzeigen
SyncEnabled = yes # “Sync+Start”-Button anzeigen
NewEnabled = yes # “Neu+Start”-Button anzeigen
/var/linbo/start.conf.dellinspiron15 [----] 19 L:[ 92+ 1 93/125] *(5154/7384b) 0032 0x020
BaseImage = dellinspironwin10.cloop # Dateiname des Basisimages (Erweiterung .cloop)
Boot = /dev/sda3 # Bootpartition (unbenutzt, immer gleich Rootpartition)
Root = /dev/sda3 # Rootpartition, in die das BS installiert ist
Kernel = reboot # Windows: auto (LINBO & Grub erkennen die Startparameter automatisch)
Initrd = # Windows: leer
Append = # Windows: leer
StartEnabled = yes # “Start”-Button anzeigen
SyncEnabled = yes # “Sync+Start”-Button anzeigen
NewEnabled = yes # “Neu+Start”-Button anzeigen
Hidden = yes # verstecke OS-Reiter (unbenutzte Option, auf “yes” lassen)
Autostart = no # automatischer Start des Betriebssystems (yes|no)
AutostartTimeout = 5 # Timeout in Sekunden fuer Benutzerabbruch bei Autostart
DefaultAction = start # Standardaktion bei Autostart: start|sync|new
[OS]
Name = Ubuntu # Name des Betriebssystems
Version = # Version (unbenutzt, leer lassen)
Description = Ubuntu 16.04 Xenial # Beschreibung
IconName = ubuntu.png # Icon fuer den Startbutton, muss unter /var/linbo/icons abgelegt sein
Image = # differentielles Image (Erweiterung .rsync, Verwendung nicht empfohlen)
BaseImage = dellxenial.cloop # Dateiname des Basisimages (Erweiterung .cloop)
Boot = /dev/sda4 # Bootpartition (unbenutzt, immer gleich Rootpartition)
Root = /dev/sda4 # Rootpartition, in die das BS installiert ist
Kernel = vmlinuz # Relativer Pfad zum Kernel
Initrd = initrd.img # Relativer Pfad zur Initrd
Append = ro splash # Kernel-Append-Parameter, ggf. anpassen
StartEnabled = yes # “Start”-Button anzeigen
SyncEnabled = yes # “Sync+Start”-Button anzeigen
NewEnabled = yes # “Neu+Start”-Button anzeigen
Hidden = yes # verstecke OS-Reiter (unbenutzte Option, auf “yes” lassen)
Autostart = no # automatischer Start des Betriebssystems (yes|no)
AutostartTimeout = 5 # Timeout in Sekunden fuer Benutzerabbruch bei Autostart
DefaultAction = sync # Standardaktion bei Autostart: start|sync|new
Hier die Grub-Startdatei
global part of group specific grub.cfg template for linbo net boot
thomas@linuxmuster.net
20160804
if you don’t want this file being overwritten by import_workstations remove the following line:
###NOT managed by linuxmuster.net
edit to your needs
set default=0
set timeout=0
set fallback=1
set gfxpayload=800x600x16
32bit pae, non pae or 64bit kernel
if cpuid -l; then
set linbo_kernel=/linbo64
set linbo_initrd=/linbofs64.lz
elif cpuid -p; then
set linbo_kernel=/linbo
set linbo_initrd=/linbofs.lz
else
set linbo_kernel=/linbo-np
set linbo_initrd=/linbofs-np.lz
fi
theme settings (modify for custom theme)
set theme=/boot/grub/themes/linbo/theme.txt
#set font=/boot/grub/themes/linbo/unifont-regular-16.pf2
load theme
#if [ -e “$theme” -a -e “$font” ]; then
loadfont “$font”
export theme
#fi
clear
linbo part, boot local or net (default #0)
menuentry ‘LINBO’ --class linux {
echo LINBO $bootflag for group dellinspiron15
echo
set root="(hd0,6)“
if [ -e “$linbo_kernel” -a -e “$linbo_initrd” ]; then
set bootflag=localboot
elif [ -n “$pxe_default_server” ]; then
set root=”(tftp)"
set bootflag=netboot
fi
if [ -n “$bootflag” ]; then
echo -n "Loading $linbo_kernel …"
linux $linbo_kernel quiet splash $bootflag
echo
echo -n "Loading $linbo_initrd …“
initrd $linbo_initrd
boot
else
if [ “$grub_platform” = “pc” ]; then
set ipxe=”/ipxe.lkrn"
fi
if [ -e “$ipxe” ]; then
echo -n "Initiating pxe boot …"
linux16 $ipxe dhcp
boot
fi
fi
}
group specific grub.cfg template for linbo net boot, should work with linux and windows operating systems
thomas@linuxmuster.net
20160804
start “Windows 10” directly
menuentry ‘Windows 10 (Start)’ --class win_start {
set root="(hd0,3)“
set win_efiloader=”/EFI/Microsoft/Boot/bootmgfw.efi"
if [ -e /vmlinuz -a -e /initrd.img ]; then
linux /vmlinuz root=/dev/sda3
initrd /initrd.img
elif [ -e /vmlinuz -a -e /initrd ]; then
linux /vmlinuz root=/dev/sda3
initrd /initrd
elif [ -e /auto -a -e /noinitrd_placeholder ]; then
linux /auto root=/dev/sda3
initrd /noinitrd_placeholder
elif [ -e /auto ]; then
linux /auto root=/dev/sda3
elif [ -s /boot/grub/grub.cfg ] ; then
configfile /boot/grub/grub.cfg
elif [ “$grub_platform” = “pc” ]; then
if [ -s /bootmgr ] ; then
ntldr /bootmgr
elif [ -s /ntldr ] ; then
ntldr /ntldr
elif [ -s /grldr ] ; then
ntldr /grldr
else
chainloader +1
fi
elif [ -e “$win_efiloader” ]; then
chainloader $win_efiloader
boot
fi
}
boot LINBO, sync and then start “Windows 10”
menuentry ‘Windows 10 (Sync+Start)’ --class win_syncstart {
set root="(hd0,6)"
if [ -e “$linbo_kernel” -a -e “$linbo_initrd” ]; then
set bootflag=localboot
elif [ -n “$pxe_default_server” ]; then
set root="(tftp)"
set bootflag=netboot
fi
if [ -n “$bootflag” ]; then
echo LINBO $bootflag for group dellinspiron15
echo
echo -n "Loading $linbo_kernel …"
linux $linbo_kernel quiet splash linbocmd=sync:1,start:1 $bootflag
echo
echo -n "Loading $linbo_initrd …"
initrd $linbo_initrd
boot
fi
}
boot LINBO, format os partition, sync and then start “Windows 10”
menuentry ‘Windows 10 (Neu+Start)’ --class win_newstart {
set root="(hd0,6)"
if [ -e “$linbo_kernel” -a -e “$linbo_initrd” ]; then
set bootflag=localboot
elif [ -n “$pxe_default_server” ]; then
set root="(tftp)"
set bootflag=netboot
fi
if [ -n “$bootflag” ]; then
echo LINBO $bootflag for group dellinspiron15
echo
echo -n "Loading $linbo_kernel …"
linux $linbo_kernel quiet splash linbocmd=format:3,sync:1,start:1 $bootflag
echo
echo -n "Loading $linbo_initrd …"
initrd $linbo_initrd
boot
fi
}
group specific grub.cfg template for linbo net boot, should work with linux and windows operating systems
thomas@linuxmuster.net
20160804
start “Ubuntu” directly
menuentry ‘Ubuntu (Start)’ --class ubuntu_start {
set root="(hd0,4)“
set win_efiloader=”/EFI/Microsoft/Boot/bootmgfw.efi"
if [ -e /vmlinuz -a -e /initrd.img ]; then
linux /vmlinuz root=/dev/sda4 ro splash
initrd /initrd.img
elif [ -e /vmlinuz -a -e /initrd ]; then
linux /vmlinuz root=/dev/sda4 ro splash
initrd /initrd
elif [ -e /vmlinuz -a -e /initrd.img ]; then
linux /vmlinuz root=/dev/sda4 ro splash
initrd /initrd.img
elif [ -e /vmlinuz ]; then
linux /vmlinuz root=/dev/sda4 ro splash
elif [ -s /boot/grub/grub.cfg ] ; then
configfile /boot/grub/grub.cfg
elif [ “$grub_platform” = “pc” ]; then
if [ -s /bootmgr ] ; then
ntldr /bootmgr
elif [ -s /ntldr ] ; then
ntldr /ntldr
elif [ -s /grldr ] ; then
ntldr /grldr
else
chainloader +1
fi
elif [ -e “$win_efiloader” ]; then
chainloader $win_efiloader
boot
fi
}
boot LINBO, sync and then start “Ubuntu”
menuentry ‘Ubuntu (Sync+Start)’ --class ubuntu_syncstart {
set root="(hd0,6)"
if [ -e “$linbo_kernel” -a -e “$linbo_initrd” ]; then
set bootflag=localboot
elif [ -n “$pxe_default_server” ]; then
set root="(tftp)"
set bootflag=netboot
fi
if [ -n “$bootflag” ]; then
echo LINBO $bootflag for group dellinspiron15
echo
echo -n "Loading $linbo_kernel …"
linux $linbo_kernel quiet splash linbocmd=sync:2,start:2 $bootflag
echo
echo -n "Loading $linbo_initrd …"
initrd $linbo_initrd
boot
fi
}
boot LINBO, format os partition, sync and then start “Ubuntu”
menuentry ‘Ubuntu (Neu+Start)’ --class ubuntu_newstart {
set root="(hd0,6)"
if [ -e “$linbo_kernel” -a -e “$linbo_initrd” ]; then
set bootflag=localboot
elif [ -n “$pxe_default_server” ]; then
set root="(tftp)"
set bootflag=netboot
fi
if [ -n “$bootflag” ]; then
echo LINBO $bootflag for group dellinspiron15
echo
echo -n "Loading $linbo_kernel …"
linux $linbo_kernel quiet splash linbocmd=format:4,sync:2,start:2 $bootflag
echo
echo -n "Loading $linbo_initrd …"
initrd $linbo_initrd
boot
fi
}