Automatisierte Linbo-Abläufe funktionieren nicht komplett

Hallo Thomas,

Es ist ein UEFI System, dazu wurde mir gesagt, dass die Windows Partition nach wie vor mit :1 von Linbo angesprochen wird. Wenn das nicht mehr so ist, dann muss ich in Zukunft z.B. start:3 absetzen.

Viele Grüße Alois

Es ist schon immer so, dass die Nummer hinter format: die Positionsnr. der Partition in der start.conf ist. Was sollte man denn angeben, wenn man die Cache-, Daten- oder EFI-Partition formatieren will?

Hallo Thomas,

Ich habe jetzt versucht mit linbo_wrapper Schritt für Schritt vorzugehen.

Im Bild siehst Du das Ergebnis

Wieso soll die Cache-Partition gesynct werden?

Und mit linbo_wrapper start:3 soll die Cache-Partition gestartet werden.

Viele Grüße Alois

1 „Gefällt mir“

Hallo Alois,

Man kann die Cache Partition nicht syncen, nur die OS :

format:<#>               : Writes the partition table and formats only
                           partition nr <#>.
sync:<#>                 : Syncs the operating system on position nr <#>.

format erwartet eine Partitionnummer und sync eine OSnummer.
Es wäre vielleicht einfacher dein start.conf zu sehen, oder der Output von fdisk -l auf dem Client.

Gruß

Arnaud

Hallo Arnaud,

Ich wollte die Cache-Partition nicht syncen, das hat Linbo gemacht. Ich hatte

linbo_wrapper sync:3

auf der Konsole abgesetzt. Limbo wollte dann die vierte Partition syncen.

Ich habe jetzt die Festplatte gelöscht und neu partitioniert um auszuschließen dass alte Fragmente auf der Festplatte Linbo in die Irre führen.

Gerade läuft der Vorgang des syncens. Ich werde berichten, wenn er abgeschlossen ist.

Viele Grüße Alois

Hallo Arnaud,

auch nach der „geputzten“ Festplatte macht

linbo_wrapper sync:3

das gleiche wie oben im Bild. Es wird wieder versucht, die vierte Partition zu syncen, was dann natürlich nicht funktioniert.

@alle, wenn noch wer solche Probleme feststellt, dann möge er das hier berichten, damit nicht der Eindruck entsteht das Problem gäbe es nur bei mir.

Viele Grüße

Alois

Hallo Alois,

entweder hast du 3 Betriebsysteme in der start.conf definiert, oder du
hast in den Nachrichten von Arnaud (und vorher Thomas) was überlesen:

Hallo Alois,

poste doch einfach mal start.conf um Verwirrung um die unterschiedliche Begriffe Partiotionsnummer einerseits und Betriebssystemnummer anderseits ausschließen können.

Wenn du z.B. die efi-Partition die erste Partition ist und Windows auf der zweiten Partition liegt (und es sonst keine Betriebsystem gibt) müsstest du zum Formatieren (erwartet eine Partitionsnummer) eine 2 angeben, zum syncen bzw. starten aber eine 1 (erwartet die Betriebssystemnr ).

Das war schon immer so, ist einem ab in BIOs Zeiten nicht so aufgefallen, da man dort meist das erste OS auf der ersten Partition hatte, durch die bei UEFI benötigte zusätzliche efi-Partition sind die Nummer eben nicht mehr identisch.

Grüße
Sven

Hallo Holger,

Die Unterschiede zwischen format und sync bzw. start waren mir bei UEFI Systemen nicht klar.

In meinem Fall ist die dritte Partition die Windows Partition

also format:3

Und die erste Betriebssystem Partition

also sync:1,start:1

Viele Grüße Alois

Ok, es war eine schwierige Geburt zu verstehen, dass bei UEFI ein Unterschied zwischen der Partition und den Startpartitionen besteht.

Trotzdem bleibt das Eingangs beschriebene Problem, dass der Rechner mit Process exited stehen bleiben.

Viele Grüße

Alois

Hallo Alois,

linbo-remote formatiert jede in der start.conf definierte Partition anhand ihrer Nr. Soll zusätzlich noch ein BS gesynct und gestartet werden, gibt man dazu jeweils noch die BS-Nr an. Will mensch vorher die BS-Partition formatieren, muss mensch halt schauen, auf welcher Partition die liegt. Das kann auf Partition 1, 2 oder 17 sein, völlig egal. Eigentlich logisch und einfach.

Offensichtlich bist du der Einzige, der das Problem hat. Das legt den Schluss nahe, dass es an deiner Konfiguration liegt. Die kennen wir aber nicht.

VG, Thomas

Hallo Thomas,

das mit dem Unterschied Partition bzw. Bs. habe ich inzwischen verstanden.

Bzgl der Konfiguration habe ich auf Bitte von Holger die gewünschten Dateien an seine Mailadresse geschickt. Ich wollte diesen Beitrag nicht mit endlosen Konfig- und Log-Dateien überfrachten (das Hochladen der Dateien war nicht möglich. Vielleicht kann man das Hochladen von Dateien wie *.log und *.conf erlauben @crazy-to-bike ).

Holgers Hinweise habe ich 1:1 umgesetzt. Das Problem ist geblieben. Gerade eben habe ich wieder einen Client mit dem roten Button - früher „neu und start“, heute „Windows neu installieren“ - bearbeiten lassen. Es erfolgte wieder kein Neustart, sondern am Ende des Syncens stand wieder Process exited. Von Hand den Start anstoßen, funktionierte wie gehabt.

Viele Grüße Alois

Hallo Thomas,

wenn ich tatsächlich der einzige bin, dann kann ich damit leben. Wenn aber noch jemand dieses Verhalten feststellen sollte, dann bitte ich darum, dass er sich hier meldet.

Viele Grüße

Alois

Hallo Alois,

nein, du bist nicht allein. Ich hatte das auch schon an zwei Lehrerrechnern.
Da meine Kollegen aber sowieso nur Windows benutzen, habe ich Windows dort ohne Linbo installiert und die Kollegen gebeten, sich selbst um Updates der Programm zu kümmern.
Es ist zum Mäusemelken. Ich bin nicht dahinter gekommen, woran es liegt. Ich hatte den Verdacht, dass die EFI Partition die zählweise durcheinander bringt.

VG
Christian

Hallo Christian,

vielen Dank für Deinen Beitrag.

Viele Grüße

Alois

Hallo Christian,

Dein Hinweis auf UEFI hat mich dazu bewogen noch einmal einen BIOS-Rechner mit „neu und start“ zu starten. Bei mir bleiben auch diese Rechner mit „process exited“ stehen.

Gruß

Alois

Hi Alois,
ich habe dieses Verhalten bei der Home-Partition meiner Verleih-Rechner (da will ich das aber auch so, weil nach sync von Home ein Start sinnfrei wäre). In der start.conf habe ich bei diesem [OS] hinter Kernel= und Initrd= nichts angegeben, ich denke, dass es daran liegt. Hast Du da alles richtig eingetragen?
LG
Max

Hallo Max,

Ich hatte ja Holger meine Konfigurationsdateien geschickt. Er hatte in dieser Hinsicht nichts auszusetzen. Ich habe beide start.conf Dateien aus den Examples generiert und lediglich Kernelparameter wie dhcpretry=9 und nomodeset hinzugefügt. Ich schaue aber noch mal, was da steht.

Vielen Dank für Deinen Beitrag

Alois

Hallo,

da die start.conf nicht allzu groß sind stelle ich sie hier ein.

start.conf BIOS

# LINBO start.conf, example for windows 10
# DON'T EDIT THIS FILE! MAKE A COPY AND ADAPT THE VALUES TO YOUR NEEDS!
# operating system on partition 1
# cache on partition 2
# data on partition 3

[LINBO]                             # global section
Server = 10.16.1.1                   # linbo server ip address
Group = win10fs2                       # name of the hardware group
# IMPORTANT: server and group will be automatically set during device import!
Cache = /dev/sda2                   # cache partition
RootTimeout = 600                   # 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 = multicast              # image download method (torrent|multicast|rsync)
GuiDisabled = no                    # disable gui <yes|no>
UseMinimalLayout = no               # gui layout style <yes|no>
Locale = de-de                      # gui locale <de-de|en-gb|fr-fr|es-es>
SystemType = bios64                 # possible values: bios|bios64|efi32|efi64 (default: bios)
KernelOptions = quiet splash        # linbo kernel options, space separated
#KernelOptions = acpi=noirq irqpoll # linbo kernel options example for use with acpi problems
#KernelOptions = server=10.0.0.5    # different pxe server ip, (needs device import to be activated)

[Partition]          # partition section (operating system)
Dev = /dev/sda1      # device name of the partition
Label = WIN          # partition label
Size = 100G           # 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 = yes       # set bootable flag yes

[Partition]          # partition section (cache)
Dev = /dev/sda2      # device name of the partition
Label = CACHE        # partition label
Size = 100G           # partition size 50G
Id = 83              # partition id (83 = linux)
FSType = ext4        # filesystem ext4
Bootable = yes       # set bootable flag yes

#[Partition]          # partition section (data)
#Label = DATA         # partition label
#Dev = /dev/sda3      # 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

[OS]                          # os section
Name = Windows 10             # os name
Version =                     # version (not used)
Description = Windows 10 20H2 # detailed description of os
IconName = win10.svg          # icon filename in /srv/linbo/icons
Image =                       # filename of differential image (extension .rsync, optional)
BaseImage = win10fs2.qcow2       # filename of main image (extension .qcow2)
Boot = /dev/sda1              # boot partition (not used, identical with root partition)
Root = /dev/sda1              # root partition of the os
Kernel = auto                 # 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
Autostart = no                # automatic start of os (yes|no)
AutostartTimeout = 2          # timeout in secs for user to cancel automatic start
DefaultAction = start          # default action on automatic start: start|sync|new
                              # to setup after sync (e.g. mozilla.firefox,mozilla.thunderbird)
Hidden = yes                  # hide os tab (unused option, leave it at yes)

start.conf UEFI

# LINBO start.conf, example for windows 10 (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
# operating system on partition 3
# cache on partition 4
# data on partition 5

[LINBO]                             # global section
Server = 10.16.1.1                   # linbo server ip address
Group = win10uefi
# IMPORTANT: server and group will be automatically set during device import!
Cache = /dev/sda4                   # cache partition
RootTimeout = 600                   # 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 = multicast              # image download method (torrent|multicast|rsync)
GuiDisabled = no                    # disable gui <yes|no>
UseMinimalLayout = no               # gui layout style <yes|no>
Locale = de-de                      # gui locale <de-de|en-gb|fr-fr|es-es>
SystemType = efi64                  # possible values: bios|bios64|efi32|efi64 (default: bios)
KernelOptions = quiet splash nomodeset dhcpretry=9      # linbo kernel options, space separated
#KernelOptions = acpi=noirq irqpoll # linbo kernel options example for use with acpi problems
#KernelOptions = server=10.0.0.5    # different pxe server ip, (needs device import to be activated)

[Partition]          # efi system partition
Dev = /dev/sda1      # device name of the partition
Label = EFI          # partition label
Size = 200M          # 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

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

[Partition]          # partition section (operating system)
Dev = /dev/sda3      # device name of the partition
Label = WINDOWS      # partition label
Size = 100G           # partition size 50G
Id = 7               # partition id (7 = ntfs)
FSType = ntfs        # filesystem ntfs
Bootable = no        # set bootable flag no

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

#[Partition]          # partition section (data)
#Label = DATA         # partition label
#Dev = /dev/sda5      # 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

[OS]                          # os section
Name = Windows 10             # os name
Version =                     # version (not used)
Description = Windows 10 21H2 # detailed description of os
IconName = win10.svg          # icon filename in /srv/linbo/icons
Image =                       # filename of differential image (extension .rsync, optional)
BaseImage = win10uefi.qcow2       # filename of main image (extension .qcow2)
Boot = /dev/sda3              # boot partition (not used, identical with root partition)
Root = /dev/sda3              # root partition of the os
Kernel = auto                 # 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
Autostart = no                # automatic start of os (yes|no)
AutostartTimeout = 2          # timeout in secs for user to cancel automatic start
DefaultAction = start          # default action on automatic start: start|sync|new
                              # to setup after sync (e.g. mozilla.firefox,mozilla.thunderbird)
Hidden = yes                  # hide os tab (unused option, leave it at yes)

Gruß

Alois

Hallo,

Ich hatte ja Holger meine Konfigurationsdateien geschickt. Er hatte in
dieser Hinsicht nichts auszusetzen.

… das stimmt so leider nciht.
Du hast die Dateien nur an mich geschickt und nicht ins Forum gestellt,
weswegen nur ich sie anschauen kann.
Ich hab aber noch keien Zeit gehabt (wegen Internetausfällen,
Stromausfällen und gernell hoher Beschäftigung aufgrund des beschissenen
BelWü Wegfalls: DANKE STUTTGART!).

LG

Holger