grub error 15.. e non parte più..
grub error 15.. e non parte più..
Salve,
credo di aver combinato un pasticcio sul mio vecchio laptop: volendo istallare Xubuntu e non avendo il cdrom funzionante, ho usato UNebootin per lanciare la iso di xubuntu 8.10, dopodichè ho specificato le partizioni per istallarla (il sistema contiene anche windows xp); la cosa sembra sia andata tutta liscia fino a che il sistema non ha fatto il reboot: a questo punto mi sono trovato davanti ad un laconico "error 15" di grub, senza possibilità di andare avanti o ottenere una shell...
Forse il problema è che unebootin è montato in loopback e dunque grub si è istallato in maniera "strana" ??
Come mi consigliate di intervenire (tenete conto che non ho il cdrom)? Posso usare una chiavetta usb?
Grazie in anticipo per ogni chiarimento :-)
credo di aver combinato un pasticcio sul mio vecchio laptop: volendo istallare Xubuntu e non avendo il cdrom funzionante, ho usato UNebootin per lanciare la iso di xubuntu 8.10, dopodichè ho specificato le partizioni per istallarla (il sistema contiene anche windows xp); la cosa sembra sia andata tutta liscia fino a che il sistema non ha fatto il reboot: a questo punto mi sono trovato davanti ad un laconico "error 15" di grub, senza possibilità di andare avanti o ottenere una shell...
Forse il problema è che unebootin è montato in loopback e dunque grub si è istallato in maniera "strana" ??
Come mi consigliate di intervenire (tenete conto che non ho il cdrom)? Posso usare una chiavetta usb?
Grazie in anticipo per ogni chiarimento :-)
Marco Castellani
Linux Registered User #306621
Ubuntu User # 7141
Linux Registered User #306621
Ubuntu User # 7141
Re: grub error 15.. e non parte più..
15 : File not found
This error is returned if the specified file name cannot be found, but everything else (like the disk/partition info) is OK.
posta cat /boot/grub/menu.lst e sudo fdisk -l
This error is returned if the specified file name cannot be found, but everything else (like the disk/partition info) is OK.
posta cat /boot/grub/menu.lst e sudo fdisk -l
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
Re: grub error 15.. e non parte più..
Veramente il problema è che non riesco ad ottenere un prompt di shell per dare qualsiasi comando.. se premo "c" o praticamente ogni altro tasto, non ottengo proprio nulla....patel ha scritto: 15 : File not found
This error is returned if the specified file name cannot be found, but everything else (like the disk/partition info) is OK.
posta cat /boot/grub/menu.lst e sudo fdisk -l
Marco Castellani
Linux Registered User #306621
Ubuntu User # 7141
Linux Registered User #306621
Ubuntu User # 7141
- Mozo
- Imperturbabile Insigne

- Messaggi: 2965
- Iscrizione: giovedì 9 marzo 2006, 10:43
- Desktop: mate
- Distribuzione: Ubuntu Mate 22.04.3 LTS
- Località: On The Air
Re: grub error 15.. e non parte più..
Se il tuo laptop supporta il boot da usb, penso sia la cosa migliore.Posso usare una chiavetta usb?
Crea una usblive su di un altro pc come spiegato qui http://wiki.ubuntu-it.org/DanielSchwitzgebel/Prove3
In questo modo da live potrai verificare il tuo menu.lst, oppure ritentare l'installazione.
Re: grub error 15.. e non parte più..
Non avevo chiaro che Ubuntu permettesse così facilmente di istallarsi su una USB.
Grazie per il consiglio, credo che procederò in questo modo! ;-)
Grazie per il consiglio, credo che procederò in questo modo! ;-)
Marco Castellani
Linux Registered User #306621
Ubuntu User # 7141
Linux Registered User #306621
Ubuntu User # 7141
Re: grub error 15.. e non parte più..
ciao.
mi collego a questa discussione:
ho avuto un problema simile. ho provato a disinstallare i vecchi kernel lasciando solo il piu nuovo.
ora quando avvio il grub mi da da selezionare i kernel che evidentemente avevo disinstallato!
che fare?
se reinstallo il grub? reinstallando ubuntu in un altra partizione?
in effetti ho una altra mini partizione funzionante....posso risolvere da qua?
mi collego a questa discussione:
ho avuto un problema simile. ho provato a disinstallare i vecchi kernel lasciando solo il piu nuovo.
ora quando avvio il grub mi da da selezionare i kernel che evidentemente avevo disinstallato!
che fare?
se reinstallo il grub? reinstallando ubuntu in un altra partizione?
in effetti ho una altra mini partizione funzionante....posso risolvere da qua?
- Mozo
- Imperturbabile Insigne

- Messaggi: 2965
- Iscrizione: giovedì 9 marzo 2006, 10:43
- Desktop: mate
- Distribuzione: Ubuntu Mate 22.04.3 LTS
- Località: On The Air
Re: grub error 15.. e non parte più..
Direi che mantenere i vecchi kernel sia come avere sempre a disposizione un'auto di scorta (la ruota di scorta è il recovery mode). 
Comunque potresti avviare da livecd e con essa recuperare i dati del nuovo kernel (l'unico che hai ancora, da quello che si capisce) da inserire nella source list.
esegui nel terminale per guardare nella cartella boot e vedere il nome del kernel è installato (tipo 2.6.27-9-generic).
A questo punto apri il "menu.lst" con
e modifica il nome del kernel presente con quello che hai trovato col comando precedente.
Al riavvio dovresti avere il kernel giusto.
Se hai dubbi posta il risultato dei due comandi qui inserendoli col tag codice #
Comunque potresti avviare da livecd e con essa recuperare i dati del nuovo kernel (l'unico che hai ancora, da quello che si capisce) da inserire nella source list.
esegui nel terminale per guardare nella cartella boot e vedere il nome del kernel è installato (tipo 2.6.27-9-generic).
Codice: Seleziona tutto
ls /media/disk/boot/Codice: Seleziona tutto
sudo gedit /media/disk/boot/grub/menu.lstAl riavvio dovresti avere il kernel giusto.
Se hai dubbi posta il risultato dei due comandi qui inserendoli col tag codice #
Re: grub error 15.. e non parte più..
ciao
ti posto il risultato
inoltre io ho due partizioni! credo che il file di grub sia nella prima.....cioè in quella a cui riesco ad accedere....quindi suppongo che dovrei modificare quel file,,,
ti posto il risultato
ho la vaga impressone che non ci sono kernel....akplm@ubu:~$ ls /media/disk/boot/
abi-2.6.24-22-generic initrd.img-2.6.24-22-rt.bak
config-2.6.24-22-generic memtest86+.bin
config-2.6.24-22-rt System.map-2.6.24-22-generic
grub System.map-2.6.24-22-rt
initrd.img-2.6.24-22-generic vmlinuz-2.6.24-22-generic
initrd.img-2.6.24-22-generic.bak vmlinuz-2.6.24-22-rt
initrd.img-2.6.24-22-rt
inoltre io ho due partizioni! credo che il file di grub sia nella prima.....cioè in quella a cui riesco ad accedere....quindi suppongo che dovrei modificare quel file,,,
Ultima modifica di akplm il mercoledì 17 dicembre 2008, 0:59, modificato 1 volta in totale.
- Mozo
- Imperturbabile Insigne

- Messaggi: 2965
- Iscrizione: giovedì 9 marzo 2006, 10:43
- Desktop: mate
- Distribuzione: Ubuntu Mate 22.04.3 LTS
- Località: On The Air
Re: grub error 15.. e non parte più..
Come non ci sono kernel... Ne hai due: il generic e l'rt.
posta il risultato del secondo comando segnato prima e ti dico come modificarlo.
posta il risultato del secondo comando segnato prima e ti dico come modificarlo.
Re: grub error 15.. e non parte più..
ecco il menu.lst
ovviamente c'e' un altro menu.lst: quello della partizione funzionate....che è im realtà quello che vedo all'avvio del boot:
[
Codice: Seleziona tutto
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
#A splash image for the menu
splashimage=(hd0,6)/boot/grub/splashimages/Mac4Lin_1.0_GRUB1.xpm.gz
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,6)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 8.04.1, kernel 2.6.24-22-rt
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-22-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd /boot/initrd.img-2.6.24-22-rt
quiet
title Ubuntu 8.04.1, kernel 2.6.24-22-rt (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-22-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd /boot/initrd.img-2.6.24-22-rt
title Ubuntu 8.04.1, kernel 2.6.24-22-generic
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd /boot/initrd.img-2.6.24-22-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-22-generic (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd /boot/initrd.img-2.6.24-22-generic
title Ubuntu 8.04.1, memtest86+
root (hd0,6)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title Ubuntu 8.04, kernel 2.6.24-16-386 (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-386 root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-386
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title Ubuntu 8.04, kernel 2.6.24-16-386 (recovery mode) (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-386 root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro single
initrd /boot/initrd.img-2.6.24-16-386
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title Ubuntu 8.04, kernel 2.6.24-16-generic (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode) (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro single
initrd /boot/initrd.img-2.6.24-16-generic
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title Ubuntu 8.04, memtest86+ (on /dev/sda1)
root (hd0,0)
kernel /boot/memtest86+.bin
savedefault
boot
ovviamente c'e' un altro menu.lst: quello della partizione funzionate....che è im realtà quello che vedo all'avvio del boot:
[
Codice: Seleziona tutto
quote]# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=55a4b168-6a9c-48f4-876e-3c5d57d17f76 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 8.04, kernel 2.6.24-22-rt
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-22-rt root=UUID=55a4b168-6a9c-48f4-876e-3c5d57d17f76 ro quiet splash
initrd /boot/initrd.img-2.6.24-22-rt
quiet
title Ubuntu 8.04, kernel 2.6.24-22-rt (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-22-rt root=UUID=55a4b168-6a9c-48f4-876e-3c5d57d17f76 ro single
initrd /boot/initrd.img-2.6.24-22-rt
title Ubuntu 8.04, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title Ubuntu 8.04, kernel 2.6.24-19-rt (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-19-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd /boot/initrd.img-2.6.24-19-rt
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title Ubuntu 8.04, kernel 2.6.24-19-rt (recovery mode) (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-19-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd /boot/initrd.img-2.6.24-19-rt
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title Ubuntu 8.04, kernel 2.6.24-16-rt (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-16-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd /boot/initrd.img-2.6.24-16-rt
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title Ubuntu 8.04, kernel 2.6.24-16-rt (recovery mode) (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-16-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd /boot/initrd.img-2.6.24-16-rt
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title Ubuntu 8.04, kernel 2.6.24-16-generic (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode) (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd /boot/initrd.img-2.6.24-16-generic
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title Ubuntu 8.04, memtest86+ (on /dev/sda6)
root (hd0,5)
kernel /boot/memtest86+.bin
savedefault
boot
[/quote]
Ultima modifica di akplm il mercoledì 17 dicembre 2008, 1:36, modificato 1 volta in totale.
- Mozo
- Imperturbabile Insigne

- Messaggi: 2965
- Iscrizione: giovedì 9 marzo 2006, 10:43
- Desktop: mate
- Distribuzione: Ubuntu Mate 22.04.3 LTS
- Località: On The Air
Re: grub error 15.. e non parte più..
Innazitutto hai notato la differenza, nell'inserimento di testo, tra codice e citazione?
Quindi hai due ubuntu installati, di cui uno funzionante (per cui il livecd era inutile), forse era il caso di spiegarlo prima...
Qual'è che non riesci ad avviare?
Quello in sda1 oppure in sda6?
Quindi hai due ubuntu installati, di cui uno funzionante (per cui il livecd era inutile), forse era il caso di spiegarlo prima...
Qual'è che non riesci ad avviare?
Quello in sda1 oppure in sda6?
Re: grub error 15.. e non parte più..
si...hai ragione....ho sbagliato....la citazione correggo!
cmq si ho due ubuntu installati!
non riesco ad avviare in sda6
cmq si ho due ubuntu installati!
non riesco ad avviare in sda6
- Mozo
- Imperturbabile Insigne

- Messaggi: 2965
- Iscrizione: giovedì 9 marzo 2006, 10:43
- Desktop: mate
- Distribuzione: Ubuntu Mate 22.04.3 LTS
- Località: On The Air
Re: grub error 15.. e non parte più..
Codice: Seleziona tutto
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=55a4b168-6a9c-48f4-876e-3c5d57d17f76 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 8.04, kernel 2.6.24-22-rt
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-22-rt root=UUID=55a4b168-6a9c-48f4-876e-3c5d57d17f76 ro quiet splash
initrd /boot/initrd.img-2.6.24-22-rt
quiet
title Ubuntu 8.04, kernel 2.6.24-22-rt (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-22-rt root=UUID=55a4b168-6a9c-48f4-876e-3c5d57d17f76 ro single
initrd /boot/initrd.img-2.6.24-22-rt
title Ubuntu 8.04, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title Ubuntu 8.04, kernel 2.6.24-22-rt (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-22-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd /boot/initrd.img-2.6.24-22-rt
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title Ubuntu 8.04, kernel 2.6.24-22-rt (recovery mode) (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-22-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd /boot/initrd.img-2.6.24-22-rt
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title Ubuntu 8.04, kernel 2.6.24-22-generic (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd /boot/initrd.img-2.6.24-22-generic
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title Ubuntu 8.04, kernel 2.6.24-22-generic (recovery mode) (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd /boot/initrd.img-2.6.24-22-generic
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title Ubuntu 8.04, memtest86+ (on /dev/sda6)
root (hd0,5)
kernel /boot/memtest86+.bin
savedefault
[b]boot[/b]
Volendo puoi sostituire solo ciò che c'è scritto dopo la riga
### END DEBIAN AUTOMAGIC KERNELS LIST
in pratica solo quello che ho modificato
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 6 ospiti

