Hallo,
das Chaos beim Partitionieren und Syncen geht weiter:
Folgendes Szenario:
Ich habe in den Sommerferien eine Rechnergruppe ubuntu20 erstellt. Wegen diverser Softwareprobleme bin ich nicht mehr dazu gekommen (trotz Ferienverkürzung auf 2 Wochen…), unser alten virtuelles WinXP auf dem neuen Client einzurichten, ich bin mit folgender, funtionierender ubuntu20.start.conf gestartet:
[LINBO]
Server = 10.0.0.1
Group = ubuntu20
Cache = /dev/sda2
RootTimeout = 600
AutoPartition = no
AutoFormat = no
AutoInitCache = no
DownloadType = torrent
BackgroundFontColor = white
ConsoleFontColorStdout = lightgreen
ConsoleFontColorStderr = orange
SystemType = bios64
KernelOptions = quiet splash dhcpretry=9
[Partition]
Dev = /dev/sda1
Label = ubuntu
Size = 30G
Id = 83
FSType = ext4
Bootable = yes
[Partition]
Dev = /dev/sda2
Label = cache
Size = 30G
Id = 83
FSType = ext4
Bootable = yes
[Partition]
Dev = /dev/sda3
Label = swap
Size = 8G
Id = 82
FSType = swap
Bootable = no
[Partition]
Label = data
Dev = /dev/sda4
Size =
Id = 83
FSType = ext4
Bootable = no
[OS]
Name = Ubuntu
Version = 20.04
Description = Ubuntu 18.04
IconName = ubuntu.png
Image =
BaseImage = ubuntu.cloop
Boot = /dev/sda1
Root = /dev/sda1
Kernel = /boot/vmlinuz
Initrd = /boot/initrd.img
Append = ro splash
StartEnabled = yes
SyncEnabled = yes
NewEnabled = yes
Autostart = no
AutostartTimeout = 5
DefaultAction = start
RestoreOpsiState = no
ForceOpsiSetup =
Hidden = yes
Jetzt habe ich den virtuellen WinXP-Client für VBox am Laufen. Die Einstellungsdateien für WinXP und die .vdi-Datei residieren auf sda5 (ext4-formatiert), das als /virtual in Ubuntu gemounted wird.
Folgendermaßen sieht die ubuntu20a.cloop.conf aus:
[LINBO]
Server = 10.0.0.1
Group = ubuntu20a
Cache = /dev/sda2
RootTimeout = 600
AutoPartition = no
AutoFormat = no
AutoInitCache = no
DownloadType = torrent
BackgroundFontColor = white
ConsoleFontColorStdout = lightgreen
ConsoleFontColorStderr = orange
SystemType = bios64
KernelOptions = quiet splash dhcpretry=9
[Partition]
Dev = /dev/sda1
Label = ubuntu
Size = 30G
Id = 83
FSType = ext4
Bootable = yes
[Partition]
Dev = /dev/sda2
Label = cache
Size = 30G
Id = 83
FSType = ext4
Bootable = yes
[Partition]
Dev = /dev/sda3
Label = swap
Size = 8G
Id = 82
FSType = swap
Bootable = no
[Partition]
Bootable = no
FSType =
Id = 5
Size =
Label =
Dev = /dev/sda4
[Partition]
Bootable = no
FSType = ext4
Id = 83
Size = 10G
Label = virtwinxp
Dev = /dev/sda5
[Partition]
Label = data
Dev = /dev/sda6
Size =
Id = 83
FSType = ext4
Bootable = no
[OS]
Name = Ubuntu
Version = 20.04
Description = Ubuntu 20.04
IconName = ubuntu.png
Image =
BaseImage = ubuntu20.cloop
Boot = /dev/sda1
Root = /dev/sda1
Kernel = /boot/vmlinuz
Initrd = /boot/initrd.img
Append = ro splash
StartEnabled = yes
SyncEnabled = yes
NewEnabled = yes
Autostart = no
AutostartTimeout = 5
DefaultAction = start
RestoreOpsiState = no
ForceOpsiSetup =
Hidden = yes
[OS]
Name = virt. Windows
Version = XP
Description = Windows XP
IconName = win7.png
Image =
BaseImage = winxp.cloop
Root = /dev/sda5
Boot = /dev/sda5
Kernel = auto
Initrd =
Append =
StartEnabled = no
SyncEnabled = yes
NewEnabled = yes
Hidden = yes
Autostart = no
AutostartTimeout = 5
DefaultAction = sync
Auf dem Musterclient in dieser Gruppe ubuntu20a läuft alles. Die vdi-Datei von VBox im Verzeichnis /virtual ist über 5GB groß, ist OK so.
Jetzt habe ich die beiden neuen cloops ubuntu20.cloop und winxp.cloop auf dem Musterclient erstellt. Die ubuntu20.cloop ist normal groß und funktioniert auf anderen Clients problemlos.
Die winxp.cloop ist nach dem Erstellen (2x ausprobiert) nur 178MB groß. Nach dem Syncen auf einem anderen Client ist unter /virtual nur das Verzeichnis lost-found zu finden, sonst sind da keine Dateien. Bei der Image-Größe ja auch kein Wunder (wobei für 0 Dateien 178MB wiederum etwas viel sind…).
Als weiteres Problem kommt immernoch hinzu:
Wenn ich die ehemals zur Gruppe ubuntu20 gehörenden Clients als ubuntu20a-Client partitionieren will, gibt es eine Fehlermeldung beim Erstellen der Partition sda5 („nicht bereit“ oder so). Wenn ich in der Linbo-Konsole
dd if=/dev/zero of=/dev/sda bs=512 count=1
ausführe, neu starte, wieder partitioniere, dann läuft es ohne Fehler durch…
Wie komme ich zu einem funktionierenden winxp.cloop?
Grüße, Stefan