Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Offline boot ends in remote control mode when the disk has no by-id links

Chiusa Adatta ai principianti
#189 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
75/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
shell

Direzione di ricerca

Inizia leggendo findcache() in linbo_mountcache e segui il modo in cui cerca /dev/disk/by-id/*part*. Verifica come si possono considerare le partizioni note al kernel sotto /sys/class/block/*/partition con gli stessi controlli di montabilità e linbo64. Il lavoro è completato quando l’avvio offline trova la cache sui dischi senza collegamenti by-id e avvia la GUI dalla cache.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Problem

A client booting without network ends up in "remote control mode" instead of starting the GUI from the cache, although the cache partition holds start.conf and the GUI archive.

Cause

Without a server, the cache device is not known yet (/conf/linbo is only written from a downloaded start.conf). findcache() in linbo_mountcache then looks for it only via /dev/disk/by-id/*part*. Disks without by-id links are not found:

  • virtio disks without a serial (libvirt <serial> unset)
  • some eMMC and USB devices

linbo_mountcache prints its usage and fails, so copyfromcache start.conf fails, no start.conf and no GUI are available, and LINBO shows the remote control message.

In the online case this stays unnoticed because the cache device comes from the downloaded start.conf; the early linbo_mountcache call during init only prints its usage.

Reproduction / verification

Test VM with a virtio disk vda without serial, 7.4.19: /dev/disk/by-id/ holds only the DVD drive, the vda partitions only show up in by-path and /proc/partitions. Booting without link ends in remote control mode (watched via console screenshots). After adding <serial> to the disk, the same offline boot starts the GUI from the cache.

Not related to #187: the DHCP request just times out normally here.

Proposed fix

Keep the by-id search and add a fallback over the partitions known to the kernel (/sys/class/block/*/partition), using the same check (mountable and contains linbo64).

Lingua principale
Shell
Stelle
14
Fork
11
Merge medio
1g 19h
PR unite (30g)
14

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxmuster/linuxmuster-linbo7

Tutte le issue di linuxmuster/linuxmuster-linbo7

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.