Wieder mal UEFI Linbo

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

}

Hallo, liebe Mitstreiter,
nachdem ich das Verhalten reproduzieren konnte, hier der letzte Abschnitt der linbo.log:

BootOrder: 0001
Boot0000* Windows Boot Manager
Boot0001* grub
Boot0002* Ubuntu
Boot0009* Onboard NIC(IPV6)
Boot000B* Onboard NIC(IPV4)
Installiere GRUB in MBR/EFI von /dev/sda … Installing for x86_64-efi platform.
grub-install: warning: cannot open directory `/usr/share/locale’: No such file or directory.
grub-install: error: cannot find a GRUB drive for /dev/sda7. Check your device.map.
Fehler!

Nach der Installation bzw. dem Synchronisieren des Ubuntu-Images ist der Eintrag so:

## Log session begin: Wed Jul 12 14:21:23 CEST 2017 ##
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0004
Boot0000* Windows Boot Manager
Boot0001* grub
Boot0002* Ubuntu
Boot0004* Onboard NIC(IPV6)
Boot0009* Onboard NIC(IPV6)
Boot000B* Onboard NIC(IPV4)
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001
Boot0000* Windows Boot Manager
Boot0001* grub
Boot0002* Ubuntu
Boot0009* Onboard NIC(IPV6)
Boot000B* Onboard NIC(IPV4)
Installing for x86_64-efi platform.
grub-install: warning: cannot open directory /usr/share/locale': No such file or directory. Installation finished. No error reported. Stelle EFI-Standardboot wieder her. BootNext: 0002 BootCurrent: 0001 Timeout: 0 seconds BootOrder: 0002,0001 Boot0000* Windows Boot Manager Boot0001* grub Boot0002* Ubuntu Boot0009* Onboard NIC(IPV6) Boot000B* Onboard NIC(IPV4) Setze EFI Bootreihenfolge auf Lokal,Netzwerk: 0001. BootNext: 0002 BootCurrent: 0001 Timeout: 0 seconds BootOrder: 0001 Boot0000* Windows Boot Manager Boot0001* grub Boot0002* Ubuntu Boot0009* Onboard NIC(IPV6) Boot000B* Onboard NIC(IPV4) Installiere GRUB in MBR/EFI von /dev/sda ... Installing for x86_64-efi platform. grub-install: warning: cannot open directory/usr/share/locale’: No such file or directory.
Installation finished. No error reported.
OK!
## Log session end: Wed Jul 12 14:21:23 CEST 2017 ##

Hallo Bernd,

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!!!

bitte schick mal llinbo-ogdateien des Clients.

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 heruntergelade> Was könnte die Ursache sein bzw. was könnte helfen?

in der start.conf sind etliche Fehler.
Zuerst:
sda3 sollte nicht bootable gesetzt sein.
nur sda1 sollte bootable sein.

Im Bereich der Betriebsystemdefinition Windows hast du etliche Zeilen
doppelt.

Und dann die Datenpartition: 700GB? Tatsächlich?
Sind da TerraByte Platten drin?

Hier mal eine funktionierende start.conf eines uefi Clients:


LINBO start.conf Beispiel mit EFI (GPT)

EFI 64 Partition 1

MSR Partition 2

Windows 10 Partition 3

Ubuntu Partition 4

Swap Partition 5

Cache auf Partition 6

Daten auf Partition 7

[LINBO] # globale Konfiguration
Server = 10.16.1.1 # IP des Linbo-Servers, der das
Linbo-Repository vorhaelt
Group = win10efi # Name der Rechnergruppe fuer die diese
Konfigurationsdatei gilt

Achtung: Server und Group werden beim Workstationsimport automatisch

gesetzt!
Cache = /dev/sda6 # lokale Cache Partition
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 = torrent # Image-Download per torrent|multicast|rsync,
default ist rsync
BackgroundFontColor = white # Bildschirmschriftfarbe (default:
white)
ConsoleFontColorStdout = lightgreen # Konsolenschriftfarbe (default: white)
ConsoleFontColorStderr = orange # Konsolenschriftfarbe fuer
Fehler-/Warnmeldungen (default: red)
SystemType = efi64 # moeglich ist
bios|bios64|efi32|efi64 (Standard: bios fuer bios 32bit)
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)
Label = efi # Partitionslabel efi (efi system partition)
Size = 200M # Partitionsgroesse (Bsp.: 200M), ist keine
Einheit (M, G oder T) angegeben, wird kiB angenommen
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

[Partition] # Partition fuer MSR
Dev = /dev/sda2 # Device-Name der Partition (sda2 = zweite
Partition auf erster Platte)
Label = msr # Partitionslabel msr (microsoft reserved
partition)
Size = 128M # Partitionsgroesse 128M
Id = 0c01 # Partitionstyp 0c01
FSType = # kein Dateisystem
Bootable = no # kein Bootable-Flag

[Partition] # Partition fuer Windows
Dev = /dev/sda3 # Device-Name der Partition (sda3 = dritte
Partition auf erster Platte)
Label = win10 # Partitionslabel win10
Size = 51G # Partitionsgroesse 30G
Id = 7 # Partitionstyp 83
FSType = ntfs # Dateisystem ext4
Bootable = no # kein Bootable-Flag

[Partition] # Partition fuer Ubuntu
Dev = /dev/sda4 # Device-Name der Partition (sda4 = vierte
Partition auf erster Platte)
Label = ubuntu # Partitionslabel ubuntu
Size = 20G # Partitionsgroesse 30G
Id = 83 # Partitionstyp 83
FSType = ext4 # Dateisystem ext4
Bootable = no # kein Bootable-Flag

[Partition] # Swap-Partition
Dev = /dev/sda5 # Device-Name der Partition (sda5 = fuenfte
Partition auf erster Platte)
Label = swap # Partitionslabel swap
Size = 4G # Partitionsgroesse 4G
Id = 82 # Partitionstyp 82
FSType = swap # Dateisystem swap
Bootable = no # kein Bootable-Flag

[Partition] # Cache-Partition
Dev = /dev/sda6 # Device-Name der Partition (sda6 = sechste
Partition auf erster Platte)
Label = cache # Partitionslabel cache
Size = # Partitionsgroesse 80G
Id = 83 # Partitionstyp 83
FSType = ext4 # Dateisystem ext4
Bootable = no # kein Bootable-Flag

#[Partitiion] # Daten-Partition
#Dev = /dev/sda7 # Device-Name der Partition (sda7 = siebte
Partition auf erster IDE-Platte)
#Label = daten # Partitionslabel daten
#Size = # Partitionsgroesse nicht angegeben = Rest der
Platte
#Id = 7 # Partitionstyp 7
#FSType = ntfs # Dateisystem ntfs
#Bootable = no # kein Bootable-Flag

[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 = win10.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 = auto # 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
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
Hidden = yes # verstecke OS-Reiter (unbenutzte Option,
auf „yes“ lassen)

[OS]
Name = Ubuntu # Name des Betriebssystems
Version = # Version (unbenutzt, leer lassen)
Description = Ubuntu 14.04 trusty # Beschreibung
IconName = ubuntu.png # Icon fuer den Startbutton, muss
unter /var/linbo/icons abgelegt sein
Image = # differentielles Image (Erweiterung
.rsync, Verwendung nicht empfohlen)
BaseImage = trusty-lmg.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
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
Hidden = yes # verstecke OS-Reiter (unbenutzte
Option, auf „yes“ lassen)


LG

Holger

Hallo Holger,

ich habe nach Deiner Mail mal die Startkonfigurationsdatei verglichen
und abgeändert. Ich habe unten mal die Unterschiede kommentiert/markiert
(und dazwischen einiges gelöscht)

[baumhof] baumhof https://ask.linuxmuster.net/u/baumhof Vize-Präsident
12. Juli

Hallo Bernd,

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!!!!!!!!!!

bitte schick mal llinbo-ogdateien des Clients.

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
heruntergelade> Was könnte die Ursache sein bzw. was könnte helfen?

in der start.conf sind etliche Fehler.
Zuerst:
sda3 sollte nicht bootable gesetzt sein.

Habe ich jetzt geändert.

nur sda1 sollte bootable sein.

Im Bereich der Betriebsystemdefinition Windows hast du etliche Zeilen
doppelt.

Das kam bloß vom Kopieren in das Forum

Und dann die Datenpartition: 700GB? Tatsächlich?
Sind da TerraByte Platten drin?

Ja, 1 TB. Ich hätte einfach auch den Cache groß machen können, für
„Daten“ wars mir lieber.

Hier mal eine funktionierende start.conf eines uefi Clients:


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)
Label = efi # Partitionslabel efi (efi system partition)
Size = 200M # Partitionsgroesse (Bsp.: 200M), ist keine
Einheit (M, G oder T) angegeben, wird kiB angenommen
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

[Partition] # Partition fuer MSR
Dev = /dev/sda2 # Device-Name der Partition (sda2 = zweite
Partition auf erster Platte)
Label = msr # Partitionslabel msr (microsoft reserved
partition)
Size = 128M # Partitionsgroesse 128M
Id = 0c01 # Partitionstyp 0c01
FSType = # kein Dateisystem
Bootable = no # kein Bootable-Flag

[Partition] # Partition fuer Windows
Dev = /dev/sda3 # Device-Name der Partition (sda3 = dritte
Partition auf erster Platte)
Label = win10 # Partitionslabel win10
Size = 51G # Partitionsgroesse 30G
Id = 7 # Partitionstyp 83
FSType = ntfs # Dateisystem ext4
Bootable = no # kein Bootable-Flag

[Partition] # Partition fuer Ubuntu
Dev = /dev/sda4 # Device-Name der Partition (sda4 = vierte
Partition auf erster Platte)
Label = ubuntu # Partitionslabel ubuntu
Size = 20G # Partitionsgroesse 30G
Id = 83 # Partitionstyp 83
FSType = ext4 # Dateisystem ext4
Bootable = no # kein Bootable-Flag

[Partition] # Swap-Partition
Dev = /dev/sda5 # Device-Name der Partition (sda5 = fuenfte
Partition auf erster Platte)
Label = swap # Partitionslabel swap
Size = 4G # Partitionsgroesse 4G
Id = 82 # Partitionstyp 82
FSType = swap # Dateisystem swap
Bootable = no # kein Bootable-Flag

[Partition] # Cache-Partition
Dev = /dev/sda6 # Device-Name der Partition (sda6 = sechste
Partition auf erster Platte)
Label = cache # Partitionslabel cache
Size = # Partitionsgroesse 80G
Id = 83 # Partitionstyp 83
FSType = ext4 # Dateisystem ext4
Bootable = no # kein Bootable-Flag

Bei mir ist halt die Datenpartition 700G groß und auf sda6 und die
letzte Partition ist die Cache-Partition.

[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 = win10.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 = auto # Windows: auto (LINBO & Grub erkennen die

Hier hatte ich den Eintrag „reboot“, warum auch immer.

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
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
Hidden = yes # verstecke OS-Reiter (unbenutzte Option,
auf „yes“ lassen)

[OS]
Name = Ubuntu # Name des Betriebssystems
Version = # Version (unbenutzt, leer lassen)
Description = Ubuntu 14.04 trusty # Beschreibung
IconName = ubuntu.png # Icon fuer den Startbutton, muss
unter /var/linbo/icons abgelegt sein
Image = # differentielles Image (Erweiterung
.rsync, Verwendung nicht empfohlen)
BaseImage = trusty-lmg.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
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
Hidden = yes # verstecke OS-Reiter (unbenutzte
Option, auf „yes“ lassen)


LG

Holger

Ansonsten hatte ich die start.conf gleich. Ich habe jetzt noch einmal
partitioniert und spiele gerade das Windows10-Image zurück, bei 30 GB
kein Vergnügen :frowning:
Viele Grüße
Bernd

Hallo Holger,
anscheinend ist das Problem aufgetreten, weil das Image defekt war, oder mit einer alten Linbo-Version erstellt, oder oder… egal.
Nach einer kompletten Neuinstallation funktioniert auch bei mir Windows 10 mit UEFI so, wie es soll. Nur ein Problem gibt es noch, das ist aber ein anderes Thema.
Viele Grüße
Bernd