Start.conf auf Client und start.conf.<Gruppe> auf Server unterschiedlich

Ich bastel immer noch an meinem anderen Problem (siehe: Linbo: alle Icons grau nur bei Laptops) herum. Dabei ist mir ein anderes, bereits vorher bestehendes Problem aufgefallen:

Die Laptops binden die Swappartion unter Ubuntu nicht ein. Das verzögert den Start um 1:30 Minuten, da systemd auf die Partition wartet.

Alles ist korrekt, aber Linbo scheint die start.conf auf dem Weg zwischen Server und Client zu verbasteln. Dabei geht das Partitionslayout kaputt.

Relevant sind die Einträge für die erste und zweite Partition, hier besonders der Eintrag „dev“.
So sieht das auf dem Server aus:

11:44/0 server1 ~ # cat /var/linbo/start.conf.t430 

[LINBO]                  # globale Konfiguration
Server = 10.16.1.1       # IP des Linbo-Servers, der das Linbo-Repository vorhaelt
Group = t430
# Achtung: Server und Group werden beim Workstationsimport automatisch gesetzt!
Cache = /dev/sda5        # lokale Cache Partition
[...]
#-----Dies ist meine Datei!-----

[Partition]              # Start einer Partitionsdefinition, Kubuntu
Dev = /dev/sda1          # Device-Name der Partition (sda2 = 2. Partition auf erster IDE-Platte)
Size = 30G           # Partitionsgroesse in kB (Bsp.: 6G)
Id = 83                  # Partitionstyp (83 = Linux, 82 = swap, c = FAT32, 7 = NTFS, ...)
FSType = ext4            # Dateisystem auf der Partition (ext3)
Bootable = yes            # Bootable-Flag
Label=ubuntu

[Partition]              # Definition der Swappartition
Dev = /dev/sda2          # Device-Name der Partition (sda3 = 3. Partition auf erster IDE-Platte)
Size = 4G          # Partitionsgroesse in kB (Bsp.: 1G)
Id = 82                  # Partitionstyp (83 = Linux, 82 = swap, c = FAT32, ...)
FSType = swap            # Dateisystem auf der Partition (swap)
Bootable = no
Label=swap

[Partition]              # Erweiterte Partition
Dev = /dev/sda3          # Device-Name der Partition (sda4 = 4. Partition auf erster IDE-Platte)
Size =                   # Partitionsgroesse in kB (leer bei erweiterter Partition)
Id = 5                   # Partitionstyp (5 = erweiterte Partition)
FSType =                 # Dateisystem auf der Partition (leer bei erweiterter Partition)
Bootable = no            # Bootable-Flag

[Partition]              # Start einer Partitionsdefinition, Windows XP mit FAT32
Dev = /dev/sda5          # Device-Name der Partition (sda1 = 1. Partition auf erster IDE-Platte)
Size = 20G          # Partitionsgroesse in kB (Bsp.: 5G)
Id = 83                   # Partitionstyp (83 = Linux, 82 = swap, c = FAT32, 7 = NTFS, ...)
FSType = ext4            # Dateisystem auf der Partition (FAT32)
Bootable = no            # Bootable-Flag
Label=cache

[Partition]              # Start einer Partitionsdefinition, Datenpartition mit FAT32
Dev = /dev/sda6          # Device-Name der Partition (sda6 = 6. Partition auf erster IDE-Platte)
Size =                   # Partitionsgroesse in kB (Bsp.: keine Angabe = Rest der Platte, ca. 18G)
Id = 83                  # Partitionstyp (83 = Linux, 82 = swap, c = FAT32, ...)
FSType = ext4        # Dateisystem fuer Cache-Partition (reiserfs empf.)
Bootable = no            # Bootable-Flag
Label=data

[OS]
Name = Ubuntu 16.04 64bit         # Name des Betriebssystems
[...]

und so sieht die Datei auf dem Clienten aus. Den Eintrag „DIes ist meine Datei“ habe ich auf dem Server erstellt. Er war nach einem linbo-remote: format,sync,label,halt auf dem Clienten ebenfalls vorhanden. Es ist also meine eigene vom Server und Linbo hat sie verändert.

root@r998pc01:~# cat /cache/start.conf 

[LINBO]                  # globale Konfiguration
Server = 10.16.1.1       # IP des Linbo-Servers, der das Linbo-Repository vorhaelt
Group = t430
# Achtung: Server und Group werden beim Workstationsimport automatisch gesetzt!
Cache = /dev/sda5        # lokale Cache Partition
[...]

#-----Dies ist meine Datei!-----

[Partition]              # Start einer Partitionsdefinition, Kubuntu
Dev = /dev/sda2          # Device-Name der Partition (sda2 = 2. Partition auf erster IDE-Platte)
Size = 30G           # Partitionsgroesse in kB (Bsp.: 6G)
Id = 83                  # Partitionstyp (83 = Linux, 82 = swap, c = FAT32, 7 = NTFS, ...)
FSType = ext4            # Dateisystem auf der Partition (ext3)
Bootable = yes            # Bootable-Flag
Label=ubuntu

[Partition]              # Definition der Swappartition
Dev = /dev/sda2          # Device-Name der Partition (sda3 = 3. Partition auf erster IDE-Platte)
Size = 4G          # Partitionsgroesse in kB (Bsp.: 1G)
Id = 82                  # Partitionstyp (83 = Linux, 82 = swap, c = FAT32, ...)
FSType = swap            # Dateisystem auf der Partition (swap)
Bootable = no
Label=swap

[Partition]              # Erweiterte Partition
Dev = /dev/sda3          # Device-Name der Partition (sda4 = 4. Partition auf erster IDE-Platte)
Size =                   # Partitionsgroesse in kB (leer bei erweiterter Partition)
Id = 5                   # Partitionstyp (5 = erweiterte Partition)
FSType =                 # Dateisystem auf der Partition (leer bei erweiterter Partition)
Bootable = no            # Bootable-Flag

[Partition]              # Start einer Partitionsdefinition, Windows XP mit FAT32
Dev = /dev/sda5          # Device-Name der Partition (sda1 = 1. Partition auf erster IDE-Platte)
Size = 20G          # Partitionsgroesse in kB (Bsp.: 5G)
Id = 83                   # Partitionstyp (83 = Linux, 82 = swap, c = FAT32, 7 = NTFS, ...)
FSType = ext4            # Dateisystem auf der Partition (FAT32)
Bootable = no            # Bootable-Flag
Label=cache

[Partition]              # Start einer Partitionsdefinition, Datenpartition mit FAT32
Dev = /dev/sda6          # Device-Name der Partition (sda6 = 6. Partition auf erster IDE-Platte)
Size =                   # Partitionsgroesse in kB (Bsp.: keine Angabe = Rest der Platte, ca. 18G)
Id = 83                  # Partitionstyp (83 = Linux, 82 = swap, c = FAT32, ...)
FSType = ext4        # Dateisystem fuer Cache-Partition (reiserfs empf.)
Bootable = no            # Bootable-Flag
Label=data

[OS]
Name = Ubuntu 16.04 64bit         # Name des Betriebssystems
[...]

Die geschriebene Partition sieht ganz anders aus:

#> fdisk /dev/sda
[....]
Befehl (m für Hilfe): p
Medium /dev/sda: 119,2 GiB, 128035676160 Bytes, 250069680 Sektoren
Einheiten: sectors von 1 * 512 = 512 Bytes
Sektorengröße (logisch/physisch): 512 Bytes / 512 Bytes
I/O Größe (minimal/optimal): 512 Bytes / 512 Bytes
Typ der Medienbezeichnung: dos
Medienkennung: 0xda27ced7

Gerät      Boot     Start      Ende  Sektoren Größe Id Typ
/dev/sda1            2048   8390655   8388608    4G 82 Linux Swap / Solaris
/dev/sda2  *      8390656  71305215  62914560   30G 83 Linux
/dev/sda3        71305216 250068991 178763776 85,2G  f W95 Erw. (LBA)
/dev/sda5        71307264 113250303  41943040   20G 83 Linux
/dev/sda6       113252352 250068991 136816640 65,2G 83 Linux

Fragen:

  • Welcher Teil von Linbo könnte die start.conf verändern und warum?
  • Wie kann ich dafür sorgen, dass mein Partitionslayout erhalten bleibt?

Hi,

Du könntest unter dem gleichen Problem leiden wie ich . Ich habe es unter „Linbo verrechnet sich/ulkiges Problem…“ beschrieben: Linbo verrechnet sich - ein ulkiges Problem
Da jetzt ein Update vorhanden ist, kannst du vielleicht durch einen Server Update dein Problem beseitigen.

L.G.
Christoph

Das wird es sein.

Ein Plattieren der Partitionstabelle mit dd if=/dev/zero of=/dev/ bs=512 count=4 und ein anschließendes format,initcache,sync,label funktionieren.

Gruß
Frithjof

Hallo, Frithjof,

evtl. reicht sogar das Linbo-Konsolen-fdisk aus.
Schau mal in den UEFI-PXE-thread gegen Ende.

L.G.
Christoph