Pagina 1 di 1

Cambiare priorità del boot

Inviato: giovedì 30 ottobre 2008, 12:30
da cesco08
Salve a tutti; mi chiedevo come farei a cambiare la priorità del boot dei due sistemi operativi che ho installati sulla mia macchina (ubuntu ed xp)
Ovvero vorrei che si avviasse automaticamente xp  al posto di ubuntu (come fa regolarmente dopo i 10 sec. di default alla prima schermata del boot senza però interagire selezionandolo)...
grazie

Re: Cambiare priorità del boot

Inviato: giovedì 30 ottobre 2008, 12:32
da giacomo.
devi modificare  il menu.lst di grub

Codice: Seleziona tutto

 sudo gedit /boot/grub/menu.lst

per esempio, facciamo che questa è una parte del tuo menu.lst
messa così appare primo nella lista ubuntu


title Ubuntu 8.04.1, kernel 2.6.24-21-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=75ef57be-04af-4265-b5a2-778f1ee50a54 ro quiet splash locale=it_IT
initrd /boot/initrd.img-2.6.24-21-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-21-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=75ef57be-04af-4265-b5a2-778f1ee50a54 ro single
initrd /boot/initrd.img-2.6.24-21-generic

title Ubuntu 8.04.1, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows XP
root (hd0,0)
savedefault
makeactive
chainloader +1


te invece ci vuoi windows
quindi devi trasformarla così:

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows XP
root (hd0,0)
savedefault
makeactive
chainloader +1


Ubuntu 8.04.1, kernel 2.6.24-21-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=75ef57be-04af-4265-b5a2-778f1ee50a54 ro quiet splash locale=it_IT
initrd /boot/initrd.img-2.6.24-21-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-21-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=75ef57be-04af-4265-b5a2-778f1ee50a54 ro single
initrd /boot/initrd.img-2.6.24-21-generic

title Ubuntu 8.04.1, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin[/tt]



@giacomok: dovresti argomentare di più le tue risposte.. Wink
stavo rispondendo

Re: Cambiare priorità del boot

Inviato: giovedì 30 ottobre 2008, 12:36
da winbusters
ciao, basta editare il file /boot/grub/menu.lst guarda questo thread  ;)


p.s. la prossima volta prova a cercare prima di chiedere  ;)

@giacomok: dovresti argomentare di più le tue risposte.. ;)

Re: Cambiare priorità del boot

Inviato: giovedì 30 ottobre 2008, 12:53
da winbusters
giacomok ha scritto: stavo rispondendo
mmm.. ok  ;D