Linbo mit uefi hat Probleme

Hallo zusammen,
heute habe ich nach einem update-linbofs die folgende Ausgabe bekommen:

root@server:/srv/samba# update-linbofs
Processing linbofs update …
100 % 17,1 MiB / 61,9 MiB = 0,277 1,7 MiB/s 0:37
Ok!
Processing linbofs-np update …
100 % 16,8 MiB / 60,0 MiB = 0,280 1,6 MiB/s 0:36
Ok!
Processing linbofs64 update …
100 % 21,4 MiB / 92,6 MiB = 0,231 1,5 MiB/s 1:00
Ok!
0+0 records in
0+0 records out
0 bytes copied, 0,000175717 s, 0,0 kB/s
mkfs.fat 4.1 (2017-01-24)
xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'stdio:/srv/linbo/linbo.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 84.2g free
Added to ISO image: directory '/'='/var/cache/linuxmuster/linbo/iso'
xorriso : UPDATE : 955 files added in 1 seconds
xorriso : UPDATE : 955 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 432 bytes from file '/usr/lib/ISOLINUX/isohdpfx.bin'
xorriso : WARNING : Boot image load size exceeds 65535 blocks of 512 bytes. Will record 0 in El Torito to extend ESP to end-of-medium.
libisofs: NOTE : Aligned image size to cylinder size by 167 blocks
xorriso : UPDATE :  32.37% done
xorriso : UPDATE : Thank you for being patient. Working since 1 seconds.
ISO image produced: 110080 sectors
Written to medium : 110080 sectors at LBA 0
Writing to 'stdio:/srv/linbo/linbo.iso' completed successfully.

Das beunruhigende dabei ist:

xorriso : WARNING : Boot image load size exceeds 65535 blocks of 512 bytes. Will record 0 in El Torito to extend ESP to end-of-medium.

und genau das ist auch passiert:

und dann ging nix mehr.

Was kann ich machen? Gibt es einen Weg, die linbofs kleiner zu kriegen?

Gruß,
Mathias

Hallo Mathias.
Hier sieht es so aus:

Drive current: -outdev 'stdio:/srv/linbo/linbo.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 45.2g free
Added to ISO image: directory '/'='/var/cache/linuxmuster/linbo/iso'
xorriso : UPDATE : 955 files added in 1 seconds
xorriso : UPDATE : 955 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 432 bytes from file '/usr/lib/ISOLINUX/isohdpfx.bin'
xorriso : WARNING : Boot image load size exceeds 65535 blocks of 512 bytes. Will record 0 in El Torito to extend ESP to end-of-medium.
libisofs: NOTE : Aligned image size to cylinder size by 49 blocks
xorriso : UPDATE :  16.28% done
ISO image produced: 110080 sectors
Written to medium : 110080 sectors at LBA 0
Writing to 'stdio:/srv/linbo/linbo.iso' completed successfully.

Bisher starten die Geräte aber per PXE … stutzig hatte mich diese Meldung aber auch schon vorher gemacht…

VG,
Michael

Hi, Mathias,

bootest Du wirklich im UEFI-mode ? Ähnliche Fehler kenne ich, wenn man entweder in der start.conf oder in den Rechnereinstellungen die boot-Modi „mischt“.
L.G.
Christoph

Hallo Christoph,

gezwungenermaßen. Ich wollte heute ein Windows 10 prof installieren. Und da meinte der Windowsinstaller, dass er auf keine der Partitionen installieren kann. Grund: Bei einem UEFI-Bios braucht er eine PGT. Und das, obwohl ich BIOS Lagacy BIOS eingestellt habe.

Gruß,
Mathias

Hallo Mathias,

Dann hast du das Installationsmedium von Windows im UEFI-Modus gestartet. Dann weiß der Windows Installer, dass UEFI eingestellt ist und will eine entsprechende Installation auf einer GPT- Partition machen.
Wenn das Installationsmedium im BIOS-Modus gestartet wird, dann findet die Installation in diesem Modus auf einer MB-Partition statt.

Viele Grüße
Christian

Hallo Christian,

Wie startet man das Installationsmedium im BIOS-Modus ?
Gruß,
Mathias

Hey Mathias,

für Windows gibts das Tool Rufus…da kann man das einstellen (ob UEFI oder BIOS)…damit kann man dann einen bootfähigen USB-Stick erstellen…

Gruß Frank

Hallo Frank,

Super, ich probier’s aus…
Gruß,
Mathias

Ich meinte den „System type“ in der start.conf…

Den hab ich auf zuerst auf BIOS 64Bit gestellt. Dann wollte sich Windows nicht installieren.
Also habe ich eine neue start.conf mit System type UEFI gemacht. Und die war zu groß.
Ob das Windows sich jetzt im BIOS-Mode installieren lässt, probier ich erst am Montag.

Wenn’s klappt, wäre das Problem vermieden, was für mich ok wäre.
Die Warnung über ein zu großes Image hatte ich vorher allerdings noch nie. Erst seit dem linbo-Update kommt diese Warnung…
Gruß,
Mathias

Hi,

die Beschraenkung auf 65535 * 512 ~= 32 MB gilt nur fuer das Booten von
CD, DVD oder BD Medien. Das Feld im El Torito Katalog, der in diesem Fall
die EFI Partition beschreibt, ist nur 16 Bit breit. Die 0 ist der offiziell
in UEFI erwaehnte Ausweg, der die Partition aber vergroessern kann.

Es koennte vielleicht helfen, wenn der File mit dem Image der EFI Partition
ganz ans Ende des ISOs gedrueckt wird. Dann wuerde wirklich fast die
richtige Groesse der EFI Partition wahrgenommen, weil nach etwas mehr 300 KB
dahinter das ISO endet.

Dazu muesste man zB. zwischen Zeile 96 (-isohybrid-gpt-basdat ) und
97 (.) in make-linbo-iso.sh einfuegen:
--sort-weight -1 efiboot.img

Man kann das Padding unterdruecken und so weitere 300 KB einsparen mit
-no-pad

Have a nice day :slight_smile:

Thomas

Hi,

frankb schrieb:

für Windows gibts das Tool Rufus

Von USB Sticks oder von (virtuellen) Festplatten muesste es im BIOS- und im
EFI-Modus booten, wenn man das ISO flach mit dd oder cp auf den
Basisdevicefile kopiert (zB. auf /dev/sdc, nicht auf /dev/sdc1), oder
einfach das ISO Image als virtuelle Festplatte benutzt.
Das ergibt sich aus den Zeilen ab 86 in make-linbo-iso.sh
-isohybrid-mbr und -isohybrid-gpt-basdat.

Mit Rufus waere das dann der „dd“ Modus, nicht der andere, dessen
Namen ich nicht weiss … google … ist nun automatisch superschlau
dem Pete sein Rufus.

Have a nice day :slight_smile:

Thomas

Hallo zusammen,
mit Rufus konnte ich tatsächlich einen USB-Stick so bespielen, dass windows auch im BIOS-Mode installiert wird.
Vielen Dank,
Mathias