LILO
Der Bootloader LILO muss nach einer Veränderung der lilo.conf erneut mit dem Befehl lilo in den Bootsektor geschrieben werden.
Einmaliger Reboot mit lilo
Man kann einmalig für einen Startvorgang den Default-Booteintrag verändern.
z.B.: lilo -R remote
Dieser Aufruf bewirkt, daß beim nächsten reboot der Eintrag mit dem Label remote gebootet wird. Nach einem weiterem Reboot wird ganz normal wieder der ursprüngliche Defaulteintrag gebootet. Damit hat man durch einen Reboot wieder Zugriff auf das System auch wenn man einen Tippppppppppppppppppfehler in der lilo.conf hat.
Sven Sommerlatt hat mich auf das Problem mit mehreren Netzwerkkarten hingewiesen und folgende Lösung fü den LILO angeboten:
image = /boot/vmlinuz-remoteinstall
label = remoteinstall
initrd = /boot/initrd.img.remoteinstall
append="vnc vncconnect=192.168.1.1 ksdevice=eth1 ks=http://www.haufschild.de/ks.cfg network=static ip=192.168.1.1 netmask=255.255.255.0 gateway=192.168.1.1 dns=192.168.1.1"
Als ksdevice ist die Netzwerkkarte zu verwenden über die, die Remoteinstallation stattfinden soll (eth0, eth2, eth3).
/etc/lilo.conf
# Modified by YaST2. Last modification on Mon Nov 24 08:45:20 2003
timeout = 80
prompt
default = remoteinstall
boot = /dev/hda
image = /boot/vmlinuz-remoteinstall
label = remoteinstall
initrd = /boot/initrd.img.remoteinstall
append="vnc vncconnect=192.168.1.1 ks=http://www.haufschild.de/ks.cfg network=static ip=192.168.1.1 netmask=255.255.255.0 gateway=192.168.1.1 dns=192.168.1.1"
image = /boot/vmlinuz
###Don't change this comment - YaST2 identifier: Original name: ###
label = Linux
initrd = /boot/initrd
optional
root = /dev/hda3
vga = normal
append = "splash=silent desktop showopts"
image = /boot/vmlinuz-2.4.27
label = Linux-2.4.27
optional
root = /dev/hda3
vga = normal
image = /boot/vmlinuz
###Don't change this comment - YaST2 identifier: Original name: ###
label = Failsafe
initrd = /boot/initrd
optional
root = /dev/hda3
vga = normal
append = "showopts ide=nodma apm=off acpi=off nosmp noapic maxcpus=0 3"
image = /boot/memtest.bin
###Don't change this comment - YaST2 identifier: Original name: ###
label = Speichertest
optional
append = ""