Linuxclient für Surface Go 2 (Mint, Ubuntu...)

Liebe Community,

auf einem Surface Go 2 würde ich gerne ein Linuximage zu laufen bekommen - hat damit schon jemand Erfahrung gemacht? Ein Domänenbeitritt ist nicht notwendig. Es sollen Leihgeräte sein, wie nach Rückgabe und einem Rotstart wieder ausleihbar sind. Selber habe ich versucht gemäß der Anleitung Mint Cinnamon zu installieren. Alles lief bis auf Camera (entbehrlich) und beim Herunterfahren hat sich das Gerät nicht ausgeschaltet. Nach einem Kernel-Update (wie unter Install or Upgrade To Latest Linux Kernel on Ubuntu 20.04 & Linux Mint 20 ) beschrieben, lief auch das Shutdown wie gewollt. Ich war eigentlich ganz zufrieden, aber beim Versuch ein Image zu erstellen, crasht Linbo. Vielleicht ein ganz einfacher Fehler? Ich hänge nicht besonders an Cinnamon - Ubuntu wäre genauso gut. Alles läuft unter Linuxmuster 7.2. Danke im voraus und viele Grüße,

Jan

Hallo Jan,

poste doch mal die Meldung mit der linbo abbricht.
Wann genau ist das den?
Poste auch mal die start.conf.GRUPPE
von der Gruppe, in der das Surface Go ist.

Welchen LAN Dongel verwendest du den?

LG
Holger

Hallo Holger,
danke für deine Antwort und Hilfe. Zu dem Dongle kann ich nichts momentan sagen - der liegt an der Schule, aber beim Erstellen einen Windows-Image funktioniert er. Was der Bildschirm beim Abbruch genau anzeigt, kann ich auch erst am Montag genau sagen, aber ich meine die relevanten Informationen sind im Text - leider darf ich keine Anhänge hochladen…

LG
Jan


[LINBO]
Server = 10.0.0.1
Group = mint_surface_go_2_128_2024thin
Cache = /dev/nvme0n1p3
RootTimeout = 600
AutoPartition = no
AutoFormat = no
AutoInitCache = no
DownloadType = torrent
BackgroundFontColor = white
ConsoleFontColorStdout = lightgreen
ConsoleFontColorStderr = orange
SystemType = efi64
KernelOptions = dhcpretry=25 nomodeset  net.ifnames=0
clientDetailsVisibleByDefault = yes
Locale = de-DE

[Partition]
Dev = /dev/nvme0n1p1
Label = efi
Size = 200M
Id = ef
FSType = vfat
Bootable = yes

[Partition]
Dev = /dev/nvme0n1p2
Label = mint
Size = 80G
Id = 83
FSType = ext4
Bootable = yes

[Partition]
Dev = /dev/nvme0n1p3
Label = cache
Size = 30G
Id = 83
FSType = ext4
Bootable = no

[Partition]
Bootable = no
FSType = swap
Id = 82
Size = 8G
Label = 
Dev = /dev/nvme0n1p4

[Partition]
Label = data
Dev = /dev/nvme0n1p5
Size = 
Id = 7
FSType = ntfs
Bootable = no

[OS]
Name = Mint
Version = 21.3
Description = Linux Mint 21.3
IconName = mint.svg
Image = 
BaseImage = mint_surface_202404.qcow
Boot = /dev/nvme0n1p2
Root = /dev/nvme0n1p2
Kernel = auto
Initrd = 
Append = 
StartEnabled = yes
SyncEnabled = yes
NewEnabled = yes
Autostart = yes
AutostartTimeout = 5
DefaultAction = start
RestoreOpsiState = no
ForceOpsiSetup = 
Hidden = yes
_______________________
[+++ Chapter +++] Creating image
[Info] Linbo state changed to: 9
[Info] Writing image description
[Info] Beginning image creation...
[Info] Executing: linbo_cmd create /dev/nvme0n1p3 mint_surface_202404 mint_surface_202404 /dev/nvme0n1p2 /dev/nvme0n1p2 auto 
[StdOut] Creates a base or differential image (option "qdiff") of an operating system
[StdOut] either defined by start.conf postition number or by root partition.
[StdOut] Usage:
[StdOut] linbo_create_image <#> [qdiff] | [help]
[StdOut] linbo_create_image <root> [qdiff] | [help]
[StdOut] For compatibility reasons legacy options are also accepted. In this case
[StdOut] the image type is defined by the filename:
[StdOut] linbo_create_image <cache> <imagefilename> <root>
[+++ Chapter end +++] Command finished with an error.
[Info] Linbo state changed to: 16
[Info] Linbo state changed to: 8
[Info] Linbo state changed to: 3
[+++ Chapter +++] Starting mint
[Info] Linbo state changed to: 4
[Info] Executing: linbo_cmd start /dev/nvme0n1p2 /dev/nvme0n1p2 auto   /dev/nvme0n1p3
ls: /dev/disk/by-label/mint: No such file or directory
[StdOut] No kernel auto on partition /dev/nvme0n1p2. Using "auto".
mk_boot /dev/nvme0n1p2 auto  
[StdOut] mk_boot /dev/nvme0n1p2 auto
prepare_grub /cache/boot/grub /cache/boot/grub/grubenv /usr/share/grub
prepare_reboot /dev/nvme0n1 /dev/nvme0n1p2 /cache/boot/grub/grubenv auto   /dev/nvme0n1p1
repair_efi /dev/nvme0n1p1
[StdOut] prepare_grub /cache/boot/grub /cache/boot/grub/grubenv /usr/share/grub
[StdOut] prepare_reboot /dev/nvme0n1 /dev/nvme0n1p2 /cache/boot/grub/grubenv auto /dev/nvme0n1p1
[StdOut] repair_efi /dev/nvme0n1p1
Installing for x86_64-efi platform.
grub-install: warning: cannot open directory `/usr/share/locale': No such file or directory.
Installation finished. No error reported.
BootNext: 0002
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0002,0001,0000,2002
Boot0000* Network Boot-IPV4: 60-6D-3C-3E-49-18
Boot0001* grub
Boot0002* mint
Boot0003* ubuntu
Boot2001* EFI USB Device
Boot2002* EFI Network
EFI bootnext for mint has been set to 0002.
[StdOut] EFI bootnext for mint has been set to 0002.
BootNext: 0002
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0001,0000,2002
Boot0000* Network Boot-IPV4: 60-6D-3C-3E-49-18
Boot0001* grub
Boot0002* mint
Boot0003* ubuntu
Boot2001* EFI USB Device
Boot2002* EFI Network
EFI bootorder has been successfully set.
[StdOut] EFI bootorder has been successfully set.
BootNext: 0002
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0001,0000,2002
Boot0000* Network Boot-IPV4: 60-6D-3C-3E-49-18
Boot0001* grub
Boot0002* mint
Boot0003* ubuntu
Boot2001* EFI USB Device
Boot2002* EFI Network
[StdOut] BootNext: 0002
[StdOut] BootCurrent: 0000
[StdOut] Timeout: 0 seconds
[StdOut] BootOrder: 0001,0000,2002
[StdOut] Boot0000* Network Boot-IPV4: 60-6D-3C-3E-49-18
[StdOut] Boot0001* grub
[StdOut] Boot0002* mint
[StdOut] Boot0003* ubuntu
[StdOut] Boot2001* EFI USB Device
[StdOut] Boot2002* EFI Network
Installing GRUB in MBR/EFI of /dev/nvme0n1 ... [StdOut] Installing GRUB in MBR/EFI of /dev/nvme0n1 ...
Installing for x86_64-efi platform.
grub-install: warning: cannot open directory `/usr/share/locale': No such file or directory.
Installation finished. No error reported.
OK!
[StdOut] OK!
[StdOut] Uploading linbo.log ...
## Log session end: Mi 24. Apr 13:17:02 CEST 2024 ##
## Log session begin: Mi 24. Apr 13:19:23 CEST 2024 ##
[1377] Apr 24 13:19:06 Running in background
[2008] Apr 24 13:19:23 Child connection from 10.0.0.1:44800
[2008] Apr 24 13:19:23 Pubkey auth succeeded for 'root' with key sha1!! 50:b6:54:db:f9:bf:16:e8:41:26:92:2c:e5:a6:76:88:7e:98:5c:e5 from 10.0.0.1:44800
t.conf
[Info] Finished parsing start.conf
[Info] Loading environment values
[Info] Executing: linbo_cmd ip
[Info] Executing: linbo_cmd netmask
[Info] Executing: linbo_cmd bitmask
[Info] Executing: linbo_cmd mac
[Info] Executing: linbo_cmd version
[Info] Executing: linbo_cmd hostname
[Info] Executing: linbo_cmd cpu
[Info] Executing: linbo_cmd memory
[Info] Executing: linbo_cmd size /dev/nvme0n1p3
[Info] Executing: linbo_cmd size /dev/nvmenp
[Info] Executing: linbo_cmd listimages /dev/nvme0n1p3
[Info] Finished loading environment values
[Info] Linbo state changed to: 2
[Info] Beginning autostart timeout for Mint
[Info] Cancelling autostart
[Info] Linbo state changed to: 3
[+++ Chapter +++] Starting Mint
[Info] Linbo state changed to: 4
[Info] Executing: linbo_cmd start /dev/nvme0n1p2 /dev/nvme0n1p2 auto   /dev/nvme0n1p3
ls: /dev/disk/by-label/mint: No such file or directory
[StdOut] No kernel auto on partition /dev/nvme0n1p2. Using "auto".
[StdOut] Mounting cache partition /dev/nvme0n1p3 ...
mk_boot /dev/nvme0n1p2 auto  
[StdOut] mk_boot /dev/nvme0n1p2 auto
prepare_grub /cache/boot/grub /cache/boot/grub/grubenv /usr/share/grub
prepare_reboot /dev/nvme0n1 /dev/nvme0n1p2 /cache/boot/grub/grubenv auto   /dev/nvme0n1p1
repair_efi /dev/nvme0n1p1
[StdOut] prepare_grub /cache/boot/grub /cache/boot/grub/grubenv /usr/share/grub
[StdOut] prepare_reboot /dev/nvme0n1 /dev/nvme0n1p2 /cache/boot/grub/grubenv auto /dev/nvme0n1p1
[StdOut] repair_efi /dev/nvme0n1p1
Installing for x86_64-efi platform.
grub-install: warning: cannot open directory `/usr/share/locale': No such file or directory.
Installation finished. No error reported.
BootNext: 0002
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0002,0001,0000,2002
Boot0000* Network Boot-IPV4: 60-6D-3C-3E-49-18
Boot0001* grub
Boot0002* Mint
Boot0003* ubuntu
Boot2001* EFI USB Device
Boot2002* EFI Network
EFI bootnext for Mint has been set to 0002.
[StdOut] EFI bootnext for Mint has been set to 0002.
BootNext: 0002
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0001,0000,2002
Boot0000* Network Boot-IPV4: 60-6D-3C-3E-49-18
Boot0001* grub
Boot0002* Mint
Boot0003* ubuntu
Boot2001* EFI USB Device
Boot2002* EFI Network
EFI bootorder has been successfully set.
[StdOut] EFI bootorder has been successfully set.
BootNext: 0002
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0001,0000,2002
Boot0000* Network Boot-IPV4: 60-6D-3C-3E-49-18
Boot0001* grub
Boot0002* Mint
Boot0003* ubuntu
Boot2001* EFI USB Device
Boot2002* EFI Network
[StdOut] BootNext: 0002
[StdOut] BootCurrent: 0000
[StdOut] Timeout: 0 seconds
[StdOut] BootOrder: 0001,0000,2002
[StdOut] Boot0000* Network Boot-IPV4: 60-6D-3C-3E-49-18
[StdOut] Boot0001* grub
[StdOut] Boot0002* Mint
[StdOut] Boot0003* ubuntu
[StdOut] Boot2001* EFI USB Device
Installing GRUB in MBR/EFI of /dev/nvme0n1 ... [StdOut] Boot2002* EFI Network
[StdOut] Installing GRUB in MBR/EFI of /dev/nvme0n1 ...
Installing for x86_64-efi platform.
grub-install: warning: cannot open directory `/usr/share/locale': No such file or directory.
Installation finished. No error reported.
OK!
[StdOut] OK!
[StdOut] Uploading linbo.log ...
## Log session end: Mi 24. Apr 13:19:23 CEST 2024 ##
## Log session begin: Di 30. Apr 12:31:15 CEST 2024 ##
[1387] Apr 24 13:31:17 Running in background
[2219] Apr 30 12:31:18 Child connection from 10.0.0.1:49558
[2219] Apr 30 12:31:18 Pubkey auth succeeded for 'root' with key sha1!! 50:b6:54:db:f9:bf:16:e8:41:26:92:2c:e5:a6:76:88:7e:98:5c:e5 from 10.0.0.1:49558
t.conf
[Info] Finished parsing start.conf
[Info] Loading environment values
[Info] Executing: linbo_cmd ip
[Info] Executing: linbo_cmd netmask
[Info] Executing: linbo_cmd bitmask
[Info] Executing: linbo_cmd mac
[Info] Executing: linbo_cmd version
[Info] Executing: linbo_cmd hostname
[Info] Executing: linbo_cmd cpu
[Info] Executing: linbo_cmd memory
[Info] Executing: linbo_cmd size /dev/nvme0n1p3
[Info] Executing: linbo_cmd size /dev/nvmenp
[Info] Executing: linbo_cmd listimages /dev/nvme0n1p3
[Info] Finished loading environment values
[Info] Linbo state changed to: 2
[Info] Beginning autostart timeout for Mint
[Info] Cancelling autostart
[Info] Linbo state changed to: 3
[+++ Chapter +++] Authenticating with password.
[Info] Executing: linbo_cmd authenticate 10.0.0.1 linbo HLA4linbo
[Info] Linbo state changed to: 8
[+++ Chapter end +++] Authentication SUCCESSFULL
[Info] Executing: linbo_cmd readfile /dev/nvme0n1p3 mint_surface_202404.qcow.desc
[Info] Executing: linbo_cmd readfile /dev/nvme0n1p3 mint_surface_202404.qcow.desc
[+++ Chapter +++] Creating image
[Info] Linbo state changed to: 9
[Info] Writing image description
[Info] Beginning image creation...
[Info] Executing: linbo_cmd create /dev/nvme0n1p3 mint_surface_202404.qcow mint_surface_202404.qcow /dev/nvme0n1p2 /dev/nvme0n1p2 auto 
[StdOut] Creates a base or differential image (option "qdiff") of an operating system
[StdOut] either defined by start.conf postition number or by root partition.
[StdOut] Usage:
[StdOut] linbo_create_image <#> [qdiff] | [help]
[StdOut] linbo_create_image <root> [qdiff] | [help]
[StdOut] For compatibility reasons legacy options are also accepted. In this case
[StdOut] the image type is defined by the filename:
[StdOut] linbo_create_image <cache> <imagefilename> <root>
[+++ Chapter end +++] Command finished with an error.
[Info] Linbo state changed to: 16
[Info] Linbo state changed to: 8
[Info] Executing: linbo_cmd readfile /dev/nvme0n1p3 mint_surface_202404.qcow.desc
[+++ Chapter +++] Creating image
[Info] Linbo state changed to: 9
[Info] Writing image description
[Info] Beginning image creation...
[Info] Executing: linbo_cmd create /dev/nvme0n1p3 mint_surface_202404.qcow mint_surface_202404.qcow /dev/nvme0n1p2 /dev/nvme0n1p2 auto 
[StdOut] Creates a base or differential image (option "qdiff") of an operating system
[StdOut] either defined by start.conf postition number or by root partition.
[StdOut] Usage:
[StdOut] linbo_create_image <#> [qdiff] | [help]
[StdOut] linbo_create_image <root> [qdiff] | [help]
[StdOut] For compatibility reasons legacy options are also accepted. In this case
[StdOut] the image type is defined by the filename:
[StdOut] linbo_create_image <cache> <imagefilename> <root>
[+++ Chapter end +++] Command finished with an error.
[Info] Linbo state changed to: 16
[Info] Linbo state changed to: 8
[Info] Linbo state changed to: 3
[+++ Chapter +++] Starting Mint
[Info] Linbo state changed to: 4
[Info] Executing: linbo_cmd start /dev/nvme0n1p2 /dev/nvme0n1p2 auto   /dev/nvme0n1p3
ls: /dev/disk/by-label/mint: No such file or directory
[StdOut] No kernel auto on partition /dev/nvme0n1p2. Using "auto".
mk_boot /dev/nvme0n1p2 auto  
[StdOut] mk_boot /dev/nvme0n1p2 auto
prepare_grub /cache/boot/grub /cache/boot/grub/grubenv /usr/share/grub
prepare_reboot /dev/nvme0n1 /dev/nvme0n1p2 /cache/boot/grub/grubenv auto   /dev/nvme0n1p1
repair_efi /dev/nvme0n1p1
[StdOut] prepare_grub /cache/boot/grub /cache/boot/grub/grubenv /usr/share/grub
[StdOut] prepare_reboot /dev/nvme0n1 /dev/nvme0n1p2 /cache/boot/grub/grubenv auto /dev/nvme0n1p1
[StdOut] repair_efi /dev/nvme0n1p1
Installing for x86_64-efi platform.
grub-install: warning: cannot open directory `/usr/share/locale': No such file or directory.
Installation finished. No error reported.
BootNext: 0002
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0002,0001,0000,2002
Boot0000* Network Boot-IPV4: 60-6D-3C-3E-49-18
Boot0001* grub
Boot0002* Mint
Boot0003* ubuntu
Boot2001* EFI USB Device
Boot2002* EFI Network
EFI bootnext for Mint has been set to 0002.
[StdOut] EFI bootnext for Mint has been set to 0002.
BootNext: 0002
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0001,0000,2002
Boot0000* Network Boot-IPV4: 60-6D-3C-3E-49-18
Boot0001* grub
Boot0002* Mint
Boot0003* ubuntu
Boot2001* EFI USB Device
Boot2002* EFI Network
EFI bootorder has been successfully set.
[StdOut] EFI bootorder has been successfully set.
BootNext: 0002
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0001,0000,2002
Boot0000* Network Boot-IPV4: 60-6D-3C-3E-49-18
Boot0001* grub
Boot0002* Mint
Boot0003* ubuntu
Boot2001* EFI USB Device
Boot2002* EFI Network
[StdOut] BootNext: 0002
[StdOut] BootCurrent: 0000
[StdOut] Timeout: 0 seconds
[StdOut] BootOrder: 0001,0000,2002
[StdOut] Boot0000* Network Boot-IPV4: 60-6D-3C-3E-49-18
[StdOut] Boot0001* grub
[StdOut] Boot0002* Mint
[StdOut] Boot0003* ubuntu
[StdOut] Boot2001* EFI USB Device
[StdOut] Boot2002* EFI Network
Installing GRUB in MBR/EFI of /dev/nvme0n1 ... [StdOut] Installing GRUB in MBR/EFI of /dev/nvme0n1 ...
Installing for x86_64-efi platform.
grub-install: warning: cannot open directory `/usr/share/locale': No such file or directory.
Installation finished. No error reported.
OK!
[StdOut] OK!
[StdOut] Uploading linbo.log ...
## Log session end: Di 30. Apr 12:31:15 CEST 2024 ##

Hallo Jan,

Wie bist Du vorgegangen? Hast Du ZUERST per Linbo gebootet, die Partitionen erstellt und danach installiert?

Er findet laut den Logs die Mint-Partition nicht.

Bist Du sicher, dass das Go NVME-SSDs besitzt (es gibt ja auch Geräte mit eMMC-Speicher).

Wenn das Gerät unter Linbo läuft, kannst Du ja mal per SSH hinüber wechseln und schauen, wie da die Lage ist.

Zu Deiner grundsätzlichen Idee: wir haben mehrere Surface-Geräte, die wir mit Linbo bespielen. Das geht (nach der je nach Gerät etwas hakeligen Erstinstallation) ziemlich problemlos. Was ich sehr empfehlen kann ist der Surface-Kernel. Einfach zu installieren und danach kann Linux ein paar Dinge mehr. Was dank Thomas’ Entwicklung auch geht: den Surface-Kernel für Linbo verwenden. Dann klappt die Touch-Eingabe auf vielen Surface-Geräten auch in Linbo.

Viele Grüße
Thomas