boot=/dev/hda
map=/boot/map
install=/boot/boot.b
default=linux
prompt
timeout=50
message=/boot/message
other=/dev/hda1
label=windows
table=/dev/hda
image=/boot/vmlinuz
label=linux
root=/dev/hda4
append=""
read-onlyPour "démarrer" sur "windows" il suffit simplement de changer la variable "default" comme ceci :boot=/dev/hda
map=/boot/map
install=/boot/boot.b
default=windows
prompt
timeout=50
message=/boot/message
other=/dev/hda1
label=windows
table=/dev/hda
image=/boot/vmlinuz
label=linux
root=/dev/hda4
append=""
read-onlyAprès avoir sauvegardé la configuration de votre fichier "/etc/lilo.conf", il est impératif de relancer "lilo" pour que les changements soient pris en compte, sans quoi les modifications n'auront aucun effet !
/sbin/lilo -v
default=0 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz # section to load linux # entrée 0 title Linux (2.4.18-5.47) root (hd0,0) kernel /vmlinuz-2.4.18-5.47 ro root=/dev/sda2 initrd /initrd-2.4.18-5.47.img # section to load Windows 2000 # entrée 1 title windows rootnoverify (hd0,0) chainloader +1Pour "démarrer" sur "Windows" il suffit simplement de changer la variable "default" comme ceci :
default=1 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz # section to load linux # entrée 0 title Linux (2.4.18-5.47) root (hd0,0) kernel /vmlinuz-2.4.18-5.47 ro root=/dev/sda2 initrd /initrd-2.4.18-5.47.img # section to load Windows 2000 # entrée 1 title windows rootnoverify (hd0,0) chainloader +1Sauvegarder votre configuration. Ici pas besoin de relancer "grub", les modifications sont immédiatement prises en compte.
Autres Astuces dans la catégorie Linux