EFI Linbo Win10 + Ubuntu-client läuft noch nicht ganz rund

Hallo Liste,

Dank der Millionen aus Berlin durften wir ca. 50 neue Notebooks kaufen (Fujitssu Lifebook A359 mit SSD 256G…), die kein CSM mehr haben. Bisher läuft bei uns LMN 6.2 nur mit bios.

Vorlage für EFI64 + Win10 (60G)+Ubuntu (20480000k) Partitionsgrößen und Imagenamen angepasst, linbo vom Netz booten, partitionieren, läuft (holprig s.u.).

  1. mit bios erstellte Images booten (bei mir) nicht - weder Win noch Xenial

  2. div. Windowsen (1511,1709, 2004) verweigert Installation in ihre Partition /dev/sda3.
    nach Löschen der auf Win folgenden Partition /dev/sda4 von Ubuntu kann win installiert werden und, global.reg einspielen etc. - das kann nicht die Lösung sein!

  3. Wenn die Win-Partition nicht 60G, sondern 60000000k beträgt, installiert Win anstandslos !?! Ich dachte linbo sei seit Jahren schlau genug so zu partitionieren, dass die Grenzen für SSDs auf Vielfache von 4k treffen … ?!?

  4. Wird an der Start.conf etwas geändert, kommt linbo beim Partitionieren total ins trudeln. D.h. Reihenfolgen Größen Formate Labels kommen wild verwurstelt. Ein Tipp in ask.linuxmuster die labels zu ändern hilft (schon nach Tagen des rätselns gefunden)

  5. Win und Ubuntu lassen sich jetzt auf einer Testmaschine anstandslos ausrollen und von Linbo aus starten. Also zuletzt Bootzeit von 3 Minuten auf 20 Sekunden (wir haben Doppel-Stunden, da sind 3 Minuten schon indiskutabel) mit angepasster GRUB-Startdatei. Von dort starten Win und Ubuntu nicht, nur von Linbo ?!???

Vielen Dank schon jetzt für eure Hilfe
Claus

LMN 6.2, linbo2.3.53-0

Auszug aus grub-cfg

...
# global part of group specific grub.cfg template for linbo net boot
# thomas@linuxmuster.net
# 20171107
#

# if you don't want this file being overwritten by import_workstations remove the following line:
# ### NOTmanaged by linuxmuster.net ###

# edit to your needs
set default=0
set timeout=5
set fallback=1
...

es wurde nur das NOT und der timeout geändert.

start.conf:

# LINBO start.conf, example for windows 10 & ubuntu (efi, gpt)
# DON'T EDIT THIS FILE! MAKE A COPY AND ADAPT THE VALUES TO YOUR NEEDS!
# efi system partition 1
# microsoft reserved partition 2
# windows on partition 3
# ubuntu on partition 4
# cache on partition 5
# swap on partition 6
# data on partition 7

[LINBO]                             # global section
Cache = /dev/sda5                   # cache partition
Server = 10.16.1.1                  # linbo server ip address
Group = nbw1064u16                       # name of the hardware group
# IMPORTANT: server and group will be automatically set during device import!
SystemType = efi64                  # possible values: bios|bios64|efi32|efi64 (default: bios)
RootTimeout = 1000                   # logout from admin console after 600 secs
AutoPartition = no                  # no partition repair during LINBO startup
AutoFormat = no                     # no formatting of all partitions during LINBO startup
AutoInitCache = no                  # no initial cache setup during LINBO startup
DownloadType = rsync              # image download method (torrent|multicast|rsync)
BackgroundFontColor = white         # font color of status section (default: white)
ConsoleFontColorStdout = white # console font color (default: white)
ConsoleFontColorStderr = red     # console error font color (default: red)
KernelOptions = dhcpretry=15 modprobe.blacklist=radeon nomodeset        # linbo kernel options, space separated
#KernelOptions = acpi=noirq irqpoll # linbo kernel options example for use with acpi problems
#KernelOptions = server=10.16.1.5   # different pxe server ip, (needs device import to be activated)

[Partition]          # efi system partition
Dev = /dev/sda1      # device name of the partition
Size = 67M          # partition size 200M, will use kiB if no unit (M, G or T) is set
Id = ef              # partition id (ef = efi)
FSType = vfat        # filesystem vfat
Bootable = yes       # set bootable flag yes
Label = efi          # partition label

[Partition]          # microsoft reserved partition
Dev = /dev/sda2      # device name of the partition
Size = 43M          # partition size 128M
Id = c01            # partition id (0c01 = msr)
FSType =             # no filesystem
Bootable = no        # set bootable flag no
Label = msr          # partition label

[Partition]          # partition section (operating system)
Dev = /dev/sda3      # device name of the partition
Size = 60000000           # partition size 50G, will use kiB if no unit (M, G or T) is set
Id = 7               # partition id (7 = ntfs)
FSType = ntfs        # filesystem ntfs
Bootable = no        # set bootable flag no
Label = win1      # partition label

[Partition]          # partition section (operating system)
Dev = /dev/sda4      # device name of the partition
Size = 20480000           # partition size 30G
Id = 83              # partition id (83 = linux)
FSType = ext4        # filesystem ext4
Bootable = no        # set bootable flag no
Label = ubuntu1       # partition label

[Partition]          # partition section (cache)
Dev = /dev/sda5      # device name of the partition
Size = 35G           # partition size 80G
Id = 83              # partition id (83 = linux)
FSType = ext4        # filesystem ext4
Bootable = no        # set bootable flag no
Label = cache1        # partition label

[Partition]          # partition section (swap)
Dev = /dev/sda6      # device name of the partition
Size = 1G            # partition size 8G
Id = 82              # partition id (82 = swap)
FSType = swap        # filesystem swap
Bootable = no        # set bootable flag no
Label = swap1         # partition label

[Partition]          # partition section (data)
Dev = /dev/sda7      # device name of the partition
Size =               # partition size (no value = remaining space of the disk)
Id = 7               # partition id (7 = ntfs)
FSType = ntfs        # filesystem ntfs
Bootable = no        # set bootable flag no
Label = data1         # partition label

[OS]                          # os section
Name = Windows 10             # os name
Version =                     # version (not used)
Description = Windows 10 1903 # detailed description of os
IconName = win10.png          # icon filename in /var/linbo/icons
Image =                       # filename of differential image (extension .rsync, optional)
BaseImage = acer1w10efi.cloop       # filename of main image (extension .cloop)
Boot = /dev/sda3              # boot partition (not used, identical with root partition)
Root = /dev/sda3              # root partition of the os
Kernel = grub.exe                 # auto for windows
Initrd =                      # empty for windows
Append =                      # empty for windows
StartEnabled = yes            # show start button
SyncEnabled = no             # show sync+start button
NewEnabled = yes              # show new+start button
Hidden = yes                  # hide os tab (unused option, leave it at yes)
Autostart = yes                # automatic start of os (yes|no)
AutostartTimeout = 600          # timeout in secs for user to cancel automatic start
DefaultAction = start          # default action on automatic start: start|sync|new

[OS]                          # os section
Name = Ubuntu                 # os name
Version =                     # version (not used)
Description = Ubuntu 16.04    # detailed description of os
IconName = ubuntu.png         # icon filename in /var/linbo/icons
Image =                       # filename of differential image (extension .rsync, optional)
BaseImage = ubu2004blau.cloop      # filename of main image (extension .cloop)
Boot = /dev/sda4              # boot partition (not used, identical with root partition)
Root = /dev/sda4              # root partition of the os
Kernel = vmlinuz              # relative path to kernel
Initrd = initrd.img           # relative path to initrd
Append = quiet splash            # kernel append parameters
StartEnabled = yes            # show start button
SyncEnabled = yes             # show sync+start button
NewEnabled = yes              # show new+start button
Hidden = yes                  # hide os tab (unused option, leave it at yes)
Autostart = no                # automatic start of os (yes|no)
AutostartTimeout = 5          # timeout in secs for user to cancel automatic start
DefaultAction = start          # default action on automatic start: start|sync|new

Hallo!

Du hast in der start.conf efi drinnenstehen. Dann geht ein Bios-Image nicht. Da ich letztens mit einem über UEFI-Gebooteten USB-Stick kein chroot machen konnte (Fehlermeldung war falsches BIOS), glaube ich nicht, dass man das Ubuntu umbiegen kann, lasse mich aber eines besseren Belehren. Vielleicht mal ne boot-Partition erstellen und probieren, GRUB das beizubringen (Suchmaschine?)

Punkt 5 verstehe ich nicht ganz: Die Bootzeit ist auf 20 Sekunden (gesunken?) aber nichts bootet?

LG
Max

Hallo,

  * mit bios erstellte Images booten (bei mir) nicht - weder Win
    noch Xenial

Du hast in der start.conf efi drinnenstehen. Dann geht ein Bios-Image
nicht.

… ops … so offensichtlich und wir haben 9 Tage nicht drauf geantwortet :frowning:
Das ist in der ersten Schulwoche wohl untergegangen :-((

Da ich letztens mit einem über UEFI-Gebooteten USB-Stick kein
chroot machen konnte (Fehlermeldung war falsches BIOS), glaube ich
nicht, dass man das Ubuntu umbiegen kann, lasse mich aber eines besseren
Belehren.

… mach ich doch gerne :slight_smile:
Ja, man kann ein Ubuntu von BIOS auf UEFI umbiegen.
Als ich mir vor ca. 3 Jahren meinen ersten Ryzen gekauft hatte, hab ich
ihn in meinen Rechner eingebaut und rechnete mit größeren
Umbaumaßnahmen, dass das dann wieder alles ordentlich funktioniert: aber
mein seit ewigkeiten upgedatetes ubuntu hat einfach so gebootet: auch
nachdem ich es auf die nvme SSD geklont hatte… langweilig.
Also dachte ich: wenn du schon über zwei Stunden dafür veranschlagt
hast, dann hast du ja jetzt noch Zeit: ziehen wir mal um von BIOS Boot
auf UEFI Boot.
Das hat dann eine halbe Stunde gedauert, aber dann lief das auch.
Die längste Zeit davon ging für die Recherche drauf und da das 3 Jahre
her ist, weiß ich die Fallstricke nicht mehr…
Schau mal hier nach:
www.ecosia.com

:slight_smile:

LG

Holger

hallo Max, hallo Holger,

Danke für eure Antworten.

Das Problem hat an Dringlichkeit verloren, da die Notebooks inzwischen alle im blauen Netz sind (Win mit autologon, kein linbo, ubuntu, Schulkonsole, shares oder Drucker … managed by acronis&Turnschuh).

zurück zu lmn6.2 und efi:

xenial und bionic laufen out-of-the.box (urspr mbr/bios)-image. Win hät ich auch gern 1 image für efi und bios, ich teste obs umgekehrt geht - efi anfangen, dann bios … . Wenns nicht geht, leb ich halt mit einem weiteren Win-image …

Bleiben die Probleme beim Partitionieren und booten.

  • ab dem zweiten Partitionieren der selben SSD gibts nur noch Mist (partitionen, labels, formate, reihenfolge alles total gemixt) ,

workaround
jedes mal neue labels (langfristig keine Lsg) oder mit dd die ersten MBs der SSD nullen (wie mache ich das automatisiert?, solte das nicht linbo machen). [bin ich der einzige?]

  • win lässt sich in sda3 nur installieren, wenn linbo/conf Vielfaches von 4k (60000000k geht, 60000M und 60G nicht). Da ich alle anderen Images mit gleichen Partionsgrößen hab, muss ich wohl weiter testen (linbo partitionieren lassen, winpartition verkleinern, installieren imagen, ausrollen, guckenobWinstartet) oder alle auf 60…k umstellen.
    efi und msr machen diesbezügl. keine probleme, obwohl Größe in … M in start.conf?!?

** grub startet weder Win noch Ubuntu.
Aus linbo heraus gehts?!?
Die Biester starten zZ Win in 10 sec, da kann und will ich nicht mehr mit Linbos 3 min kommen (ums wlan einzuschalten etc.).

Wieso/wie startet linbo win etc.und warum anders als Grub???

Wie modifiziere ich die grub.cfg, damit win und ubuntu (wieder) schnell starten?

Gruß Claus

Hallo!

Ich habe hier im Forum gelesen, dass die Probleme mit der Partitionierung bereits behoben, nur noch nicht released sind (stimmt das?)
Du kannst die grub.cfg bzw imagename.cfg (befindet sich in /var/linbo/boot/grub) anpassen. Dort die Zeile ### managed by linuxmuster.net ### oder so ähnlich einfach abändern (z.B. NOT reinschreiben) und dann default=1 und timeout =3 setzen, dann startet er das 1. BS ohne Sync.
noch ein import_workstations bzw. import_devices oder wie das bei lmn7 heißt…

LG
Max