bei mir am Seminar tritt „plötzlich“ (leider kann ich nicht genau festmachen seit wann genau) dieses Problem hier auf:
Wir haben seit einiger Zeit eigentlich keine Clients mehr, aber im Juni habe ich mal testweise einen Linuxclient aufgesetzt und ein altes HP pro 650 G2 und einen Desktop-PC damit bespielt, und damals trat das Problem noch nicht auf.
In der Zwischenzeit wurden auf dem Server ein paar Updates (u.a. für den Kernel) eingespielt, aber die Linbo-Version hat sich dabei, soweit ich das sehe, nicht geändert, denn 4.2.16 wurde im Februar installiert.
ich bin jetzt nicht sicher, was genau bei dir für ein Problem vor liegt.
Ist es wirklich so, dass die Clients schwarze Bildschirme zeigen? Oder kommt linbo hoch und zeigt unten einfach „OFFLINE“ an (man kann das einblenden lassen in der Linbo GUI, wenn man F1 drückt).
Bitte beschreib lieber in eigenen Worten das, was du bei dir beobachtest.
Ich vermute, dass du einfach dhcpretry=10 setzen mußt, weil das Netzwerk zu langsam ist.
Außerdem bin ich etwas überrascht, dass ihr noch 7.2 habt.
7.3 wurde vor über einem Jahr veröffentlicht und 7.4 ist auch released …
die Linbo-GUI startet problemlos, der Client bekommt aber keine IP. Erst der Aufruf von udhcpc stellt die Verbindung her. Eigentlich alles genau so, wie du und @ChristianWd das in euren ersten Beiträgen im Thread zu Linbo 4.2.0 testing geschrieben habt:
Der Unterschied ist nur, dass wir bei Linbo 4.2.16 sind und das ganze mit derselben Linbo-Version schon funktioniert hat (und dhcpretry bringt auch nix).
Ich weiß, ich habe den Thread gelesen. Umso verwunderlicher finde ich es ja, dass das jetzt bei mir unter 4.2.16 auftritt, obwohl es in derselben Version bereits (zumindest Ende Juni) funktioniert hat.
Es hat damals mit dhcpretry=3 funktioniert (den Wert sieht man ja dann auch beim Start in der Linbo-GUI).
Ich habe es jetzt zwischendurch auch auf 10 gesetzt, das hat nichts gebracht (außer einer längeren Startdauer … )
udhcpc bekommt danach dann quasi instantan eine IP.
Also mit Netzproblemen lässt sich das m.E. eher nicht erklären…
Andreas
Nachtrag: Hier noch die start.conf
[LINBO]
Server = 10.7.0.1
Group = linuxmint22mate_efi_nvme
Cache = /dev/nvme0n1p3
RootTimeout = 600
AutoPartition = no
AutoFormat = no
AutoInitCache = no
DownloadType = rsync
GuiDisabled = no
UseMinimalLayout = no
Locale = de-DE
SystemType = efi64
KernelOptions = quiet splash dhcpretry=9
clientDetailsVisibleByDefault = yes
[Partition]
Dev = /dev/nvme0n1p1
Label = efi
Size = 200M
Id = ef
FSType = vfat
Bootable = yes
[Partition]
Dev = /dev/nvme0n1p2
Label = ubuntu
Size = 80G
Id = 83
FSType = ext4
Bootable = no
[Partition]
Dev = /dev/nvme0n1p3
Label = cache
Size =
Id = 83
FSType = ext4
Bootable = no
[OS]
Name = Linuxmint
Version = 22.3
Description = Ubuntu 18.04
IconName = mint.svg
BaseImage = linuxmint22mate.qcow2
Boot = /dev/nvme0n1p2
Root = /dev/nvme0n1p2
Kernel = boot/vmlinuz
Initrd = boot/initrd.img
Append = ro splash
StartEnabled = yes
SyncEnabled = yes
NewEnabled = yes
Autostart = yes
AutostartTimeout = 10
DefaultAction = start
Hidden = yes
Mir ist das Zusammenspiel zwischen Linbo und dem Server-Kernel nicht ganz klar, aber kann es sein, dass der Kernel auf dem Server mittlerweile „zu neu“ ist für die Version von Linbo?
# global part of group specific grub.cfg template for linbo net boot
# thomas@linuxmuster.net
# 20231119
#
# if you don't want this file being overwritten by import_workstations remove the following line:
# ### managed by linuxmuster.net ###
# edit to your needs
set default=0
set timeout=0
set fallback=1
set gfxmode=auto
set gfxpayload=keep
insmod all_video
insmod png
insmod gfxterm
insmod gfxmenu
insmod minicmd
insmod progress
terminal_output gfxterm
background_color 42,68,87
# kernel & initrd
set linbo_kernel=/linbo64
set linbo_initrd=/linbofs64
# theme settings (modify for custom theme)
set theme=/boot/grub/themes/linbo/theme.txt
export theme
clear
# find linbo cache partition
set cachelabel="cache"
if [ -n "$cachelabel" ]; then
search --label "$cachelabel" --set cacheroot
fi
if [ -z "$cacheroot" ]; then
search --file /start.conf --set cacheroot
fi
if [ -z "$cacheroot" ]; then
search --file "$linbo_initrd" --set cacheroot
fi
if [ -n "$cacheroot" ]; then
set root="$cacheroot"
else
set root="(hd0,3)"
fi
# linbo part, boot local or net (default #0)
menuentry 'LINBO' --class linbo {
echo LINBO $bootflag for group linuxmint22mate_efi_nvme
echo
if [ -e "$linbo_kernel" -a -e "$linbo_initrd" ]; then
set bootflag=localboot
elif [ -n "$pxe_default_server" ]; then
set root="(tftp)"
set bootflag=netboot
fi
if [ -n "$bootflag" ]; then
echo -n "Loading $linbo_kernel ..."
linux $linbo_kernel quiet splash dhcpretry=9 $bootflag
echo
echo -n "Loading $linbo_initrd ..."
initrd $linbo_initrd
boot
else
if [ "$grub_platform" = "pc" ]; then
set ipxe="/ipxe.lkrn"
fi
if [ -e "$ipxe" ]; then
echo -n "Initiating pxe boot ..."
linux16 $ipxe dhcp
boot
fi
fi
}
# group specific grub.cfg template for linbo net boot, should work with linux and windows operating systems
# thomas@linuxmuster.net
# 20201126
#
# start "Linuxmint" directly
menuentry 'Linuxmint (Start)' --class linuxmint_start {
set oslabel="ubuntu"
if [ -n "$oslabel" ]; then
search --label "$oslabel" --set osroot
fi
if [ -n "$osroot" ]; then
set root="$osroot"
else
set root="(hd0,2)"
fi
set win_efiloader="/EFI/Microsoft/Boot/bootmgfw.efi"
terminal_output console
if [ -e /boot/vmlinuz -a -e /boot/initrd.img ]; then
linux /boot/vmlinuz ro splash root=/dev/nvme0n1p2
initrd /boot/initrd.img
elif [ -e /vmlinuz -a -e /initrd.img ]; then
linux /vmlinuz ro splash root=/dev/nvme0n1p2
initrd /initrd.img
elif [ -e /boot/vmlinuz -a -e /boot/initrd ]; then
linux /boot/vmlinuz ro splash root=/dev/nvme0n1p2
initrd /boot/initrd
elif [ -e /vmlinuz -a -e /initrd ]; then
linux /vmlinuz ro splash root=/dev/nvme0n1p2
initrd /initrd
elif [ -e /boot/vmlinuz -a -e /boot/initrd.img ]; then
linux /boot/vmlinuz ro splash root=/dev/nvme0n1p2
initrd /boot/initrd.img
elif [ -e /boot/vmlinuz ]; then
linux /boot/vmlinuz ro splash root=/dev/nvme0n1p2
elif [ -s /boot/grub/grub.cfg ] ; then
configfile /boot/grub/grub.cfg
elif [ "$grub_platform" = "pc" ]; then
if [ -s /bootmgr ] ; then
ntldr /bootmgr
elif [ -s /ntldr ] ; then
ntldr /ntldr
elif [ -s /grldr ] ; then
ntldr /grldr
else
chainloader +1
fi
elif [ -e "$win_efiloader" ]; then
chainloader $win_efiloader
boot
fi
terminal_output gfxterm
}
# boot LINBO and start "Linuxmint"
menuentry 'Linuxmint (Linbo-Start)' --class linuxmint_start {
if [ -e "$linbo_kernel" -a -e "$linbo_initrd" ]; then
set bootflag=localboot
elif [ -n "$pxe_default_server" ]; then
set root="(tftp)"
set bootflag=netboot
fi
if [ -n "$bootflag" ]; then
echo LINBO $bootflag for group linuxmint22mate_efi_nvme
echo
echo -n "Loading $linbo_kernel ..."
linux $linbo_kernel quiet splash dhcpretry=9 linbocmd=start:1 $bootflag
echo
echo -n "Loading $linbo_initrd ..."
initrd $linbo_initrd
boot
fi
}
# boot LINBO, sync and start "Linuxmint"
menuentry 'Linuxmint (Sync+Start)' --class linuxmint_syncstart {
if [ -e "$linbo_kernel" -a -e "$linbo_initrd" ]; then
set bootflag=localboot
elif [ -n "$pxe_default_server" ]; then
set root="(tftp)"
set bootflag=netboot
fi
if [ -n "$bootflag" ]; then
echo LINBO $bootflag for group linuxmint22mate_efi_nvme
echo
echo -n "Loading $linbo_kernel ..."
linux $linbo_kernel quiet splash dhcpretry=9 linbocmd=sync:1,start:1 $bootflag
echo
echo -n "Loading $linbo_initrd ..."
initrd $linbo_initrd
boot
fi
}
# boot LINBO, format os partition, sync and start "Linuxmint"
menuentry 'Linuxmint (Neu+Start)' --class linuxmint_newstart {
if [ -e "$linbo_kernel" -a -e "$linbo_initrd" ]; then
set bootflag=localboot
elif [ -n "$pxe_default_server" ]; then
set root="(tftp)"
set bootflag=netboot
fi
if [ -n "$bootflag" ]; then
echo LINBO $bootflag for group linuxmint22mate_efi_nvme
echo
echo -n "Loading $linbo_kernel ..."
linux $linbo_kernel quiet splash dhcpretry=9 linbocmd=format:2,sync:1,start:1 $bootflag
echo
echo -n "Loading $linbo_initrd ..."
initrd $linbo_initrd
boot
fi
}
wie bereits geschrieben, hat das im Juni mit dhcpretry=3 anstandslos funktioniert.
Meine letzten Tests im Seminar (mit dhcpretry=10) waren an einem Sonntagabend, da war so gut wie nichts im Netz los. Ich glaube daher nach wie vor eigentlich nicht an ein Netzproblem.
Aber ich werde das mal testen, wenn ich wieder vor Ort bin.
Was ich aber immer noch merkwürdig finde:
Wenn es mit dhcpretry=10 nicht funktioniert, d.h. 10 Sekunden nicht lang genug sind, aber udhcpc in der Linbo-Konsole dann sofort eine IP bekommt, kann es dann am Netz liegen?
dhcpretry=10 bedeutet 10 Versuche, die jeweils 3s dauern, d.h. 30s insgesamt.
Ich befürchte irgendwas am Switch blockt einige Sekunden nach dem ersten Request (Switch überprüfen), und dann wenn linbo da ist, der Port am Switch kann die Pakete weiterleiten. Das ist aber nur eine Vermutung.
Gestern habe ich ein wenig mit drei Linux-Clients herumprobiert: eine Proxmox-VM, ein HP ProBook 650 G2 und ein Dell OptiPlex 5090.
In UniFi Network konnte ich nichts auffälliges bezüglich Switch finden.
Die beiden realen Clients haben dann gestern tatsächlich mit dhcpretry=9 jeweils „kurz vor Schluss“ ihre IPs in LINBO bekommen (die VM sowieso). Dann aber haben sich die beiden beim Start von Linux mit schwarzem Bildschirm aufgehängt. Ok, dachte ich, setze ich mal nowarmstart. Danach landeten dann aber der Dell und die VM jedes Mal beim Neustart nach LINBO von alleine in den BIOS-Einstellungen… (beim HP habe ich es nicht ausprobiert).
Zwischendurch habe ich „zum Spaß“ mal einen sehr alten Kernel (5.15.0-25, leider habe ich die Version vom Juni nicht mehr) auf dem Server gebootet und damit ein update-linbofs ausgeführt. Danach kam der Dell auch wieder ohne nowarmstart hoch ins Linux, der HP erstmal nicht. Als ich den HP dann aber mal ohne Netzwerkkabel gestartet habe, hat auch der das geschafft…
So ganz systematisch war das jetzt alles nicht, für mich sieht das aber schon so aus, als ob mit meinem LINBO (und seinen Modulen?) da was nicht stimmt und es kein Netzwerkproblem ist.
Bindet LINBO denn irgendwelche Module vom Server-Kernel ein? Denn das (Kernel-Updates auf dem Server), waren (soweit ich das sehe) eigentlich die einzigen wesentlichen Änderungen in letzter Zeit. (Ja, ich weiß, irgendwann in naher Zukunft ist auch das Server-Upgrade mal fällig…)
Und im Juli hat das ja alles noch einwandfrei mit derselben Netzwerk-Struktur ohne dhcpretry=n (oder nowarmstart) geklappt.