Pagina 1 di 1

[Risolto] Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: venerdì 26 marzo 2010, 20:14
da Angelsoul
Come da titolo, la versione del kernel presente nel mio grub è la

Codice: Seleziona tutto

Ubuntu 9.10, kernel 2.6.31-16-generic
pur avendo installato correttamente le altre versioni del kernel.
La versione del mio grub è l'1.5, e anche quando faccio

Codice: Seleziona tutto

sudo update-grub
Quando riavvio il pc mi esce sempre quella versione li, e non riesco ad accedere alla nuova versione!!!
Ho visto che la nuova versione dovrebbe essere quella del 15 marzo 2010 la 2.6.33.1.
Sapreste aiutarmi?

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: venerdì 26 marzo 2010, 20:28
da patel
posta il risultato di

Codice: Seleziona tutto

grub-install -v

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: sabato 27 marzo 2010, 15:44
da Angelsoul
patel ha scritto: posta il risultato di

Codice: Seleziona tutto

grub-install -v
eccolo:

Codice: Seleziona tutto

grub-install (GNU GRUB 0.97)

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: mercoledì 7 aprile 2010, 12:11
da Angelsoul
Purtroppo non riesco a risolvere questo problema, qualcuno puo darmi qualche spunto per cercare di risolvere?

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: mercoledì 7 aprile 2010, 13:08
da patel
posta

Codice: Seleziona tutto

ls /boot
cat /boot/grub/menu.lst

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: mercoledì 7 aprile 2010, 16:06
da Angelsoul
patel ha scritto: posta

Codice: Seleziona tutto

ls /boot
cat /boot/grub/menu.lst

outuput ls /boot

Codice: Seleziona tutto

abi-2.6.27-11-generic         memtest86+.bin
abi-2.6.28-13-generic         System.map-2.6.27-11-generic
abi-2.6.28-16-generic         System.map-2.6.28-13-generic
abi-2.6.31-15-generic         System.map-2.6.28-16-generic
abi-2.6.31-16-generic         System.map-2.6.31-15-generic
abi-2.6.31-17-generic         System.map-2.6.31-16-generic
abi-2.6.31-18-generic         System.map-2.6.31-17-generic
abi-2.6.31-20-generic         System.map-2.6.31-18-generic
abi-2.6.31-21-generic         System.map-2.6.31-20-generic
config-2.6.27-11-generic      System.map-2.6.31-21-generic
config-2.6.28-13-generic      vmcoreinfo-2.6.27-11-generic
config-2.6.28-16-generic      vmcoreinfo-2.6.28-13-generic
config-2.6.31-15-generic      vmcoreinfo-2.6.28-16-generic
config-2.6.31-16-generic      vmcoreinfo-2.6.31-15-generic
config-2.6.31-17-generic      vmcoreinfo-2.6.31-16-generic
config-2.6.31-18-generic      vmcoreinfo-2.6.31-17-generic
config-2.6.31-20-generic      vmcoreinfo-2.6.31-18-generic
config-2.6.31-21-generic      vmcoreinfo-2.6.31-20-generic
grub                          vmcoreinfo-2.6.31-21-generic
initrd.img-2.6.27-11-generic  vmlinuz-2.6.27-11-generic
initrd.img-2.6.28-13-generic  vmlinuz-2.6.28-13-generic
initrd.img-2.6.28-16-generic  vmlinuz-2.6.28-16-generic
initrd.img-2.6.31-15-generic  vmlinuz-2.6.31-15-generic
initrd.img-2.6.31-16-generic  vmlinuz-2.6.31-16-generic
initrd.img-2.6.31-17-generic  vmlinuz-2.6.31-17-generic
initrd.img-2.6.31-18-generic  vmlinuz-2.6.31-18-generic
initrd.img-2.6.31-20-generic  vmlinuz-2.6.31-20-generic
initrd.img-2.6.31-21-generic  vmlinuz-2.6.31-21-generic

output cat /boot/grub/menu.lst

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		6

## 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

# splashimage
splashimage=(hd0,4)/boot/grub/splashimages/moon.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=d00086b2-68e6-4ff8-b080-a183ef4138fc ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=d00086b2-68e6-4ff8-b080-a183ef4138fc

## 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

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

## 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 9.10, kernel 2.6.31-16-generic
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-16-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
initrd		/boot/initrd.img-2.6.31-16-generic
quiet

title		Ubuntu 9.10, kernel 2.6.31-16-generic (recovery mode)
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-16-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
initrd		/boot/initrd.img-2.6.31-16-generic

title		Ubuntu 9.10, kernel 2.6.31-15-generic
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-15-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
initrd		/boot/initrd.img-2.6.31-15-generic
quiet

title		Ubuntu 9.10, kernel 2.6.31-15-generic (recovery mode)
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-15-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
initrd		/boot/initrd.img-2.6.31-15-generic

#title		Ubuntu 9.10, kernel 2.6.28-16-generic
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.28-16-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
#initrd		/boot/initrd.img-2.6.28-16-generic
#quiet

#title		Ubuntu 9.10, kernel 2.6.28-16-generic (recovery mode)
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.28-16-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
#initrd		/boot/initrd.img-2.6.28-16-generic

#title		Ubuntu 9.10, kernel 2.6.28-13-generic
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.28-13-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
#initrd		/boot/initrd.img-2.6.28-13-generic
#quiet

#title		Ubuntu 9.10, kernel 2.6.28-13-generic (recovery mode)
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.28-13-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
#initrd		/boot/initrd.img-2.6.28-13-generic

#title		Ubuntu 9.10, kernel 2.6.27-11-generic
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
#initrd		/boot/initrd.img-2.6.27-11-generic
#quiet

#title		Ubuntu 9.10, kernel 2.6.27-11-generic (recovery mode)
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
#initrd		/boot/initrd.img-2.6.27-11-generic

title		Ubuntu 9.10, memtest86+
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
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 a non-linux OS
# on /dev/sda1
title		Microsoft Windows XP Professional
root		(hd0,0)
savedefault
makeactive
chainloader	+1

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: mercoledì 7 aprile 2010, 16:34
da ^alessio^
Ciao,posta anche per sicurezza

Codice: Seleziona tutto

cat /boot/grub/grub.cfg
perchè ultimamente mi è capitato di incontrare utenti che avevano sia Grub-legacy che Grub2 non mi sembra il tuo caso, però controlliamo.

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: mercoledì 7 aprile 2010, 17:06
da yves
Prova ad editare il menu.lst, prima backup:

Codice: Seleziona tutto

sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.BAK
quindi:

Codice: Seleziona tutto

sudo gedit /boot/grub/menu.lst
cancelli tutto il contenuto e metti questo:

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		6

## 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

# splashimage
splashimage=(hd0,4)/boot/grub/splashimages/moon.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=d00086b2-68e6-4ff8-b080-a183ef4138fc ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=d00086b2-68e6-4ff8-b080-a183ef4138fc

## 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

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

## 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 9.10, kernel 2.6.31-21-generic
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-121-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  quiet splash
initrd		/boot/initrd.img-2.6.31-21-generic

title		Ubuntu 9.10, kernel 2.6.31-21-generic (recovery mode)
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-21-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro single 
initrd		/boot/initrd.img-2.6.31-21-generic
quiet

title		Ubuntu 9.10, kernel 2.6.31-16-generic
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-16-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
initrd		/boot/initrd.img-2.6.31-16-generic
quiet

title		Ubuntu 9.10, kernel 2.6.31-16-generic (recovery mode)
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-16-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
initrd		/boot/initrd.img-2.6.31-16-generic

title		Ubuntu 9.10, kernel 2.6.31-15-generic
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-15-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
initrd		/boot/initrd.img-2.6.31-15-generic
quiet

title		Ubuntu 9.10, kernel 2.6.31-15-generic (recovery mode)
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-15-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
initrd		/boot/initrd.img-2.6.31-15-generic

#title		Ubuntu 9.10, kernel 2.6.28-16-generic
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.28-16-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
#initrd		/boot/initrd.img-2.6.28-16-generic
#quiet

#title		Ubuntu 9.10, kernel 2.6.28-16-generic (recovery mode)
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.28-16-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
#initrd		/boot/initrd.img-2.6.28-16-generic

#title		Ubuntu 9.10, kernel 2.6.28-13-generic
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.28-13-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
#initrd		/boot/initrd.img-2.6.28-13-generic
#quiet

#title		Ubuntu 9.10, kernel 2.6.28-13-generic (recovery mode)
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.28-13-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
#initrd		/boot/initrd.img-2.6.28-13-generic

#title		Ubuntu 9.10, kernel 2.6.27-11-generic
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
#initrd		/boot/initrd.img-2.6.27-11-generic
#quiet

#title		Ubuntu 9.10, kernel 2.6.27-11-generic (recovery mode)
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
#initrd		/boot/initrd.img-2.6.27-11-generic

title		Ubuntu 9.10, memtest86+
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
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 a non-linux OS
# on /dev/sda1
title		Microsoft Windows XP Professional
root		(hd0,0)
savedefault
makeactive
chainloader	+1
Ho aggiunto solo l'ultimo in data.

Salvi riavvii e controlli, dovresti essere sul 2.6.31-21

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: mercoledì 7 aprile 2010, 20:00
da Angelsoul
^alessio^ ha scritto: Ciao,posta anche per sicurezza

Codice: Seleziona tutto

cat /boot/grub/grub.cfg
perchè ultimamente mi è capitato di incontrare utenti che avevano sia Grub-legacy che Grub2 non mi sembra il tuo caso, però controlliamo.
Non è installato anche il grub2 perchè quando ho fatto l'avanzamento ho scelto di lasciare la vecchia versione di grub.
cmq l'output è il seguente:

Codice: Seleziona tutto

cat: /boot/grub/grub.cfg: Nessun file o directory

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: mercoledì 7 aprile 2010, 20:23
da Angelsoul
yves ha scritto: Prova ad editare il menu.lst, prima backup:

Codice: Seleziona tutto

sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.BAK
quindi:

Codice: Seleziona tutto

sudo gedit /boot/grub/menu.lst
cancelli tutto il contenuto e metti questo:

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		6

## 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

# splashimage
splashimage=(hd0,4)/boot/grub/splashimages/moon.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=d00086b2-68e6-4ff8-b080-a183ef4138fc ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=d00086b2-68e6-4ff8-b080-a183ef4138fc

## 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

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

## 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 9.10, kernel 2.6.31-21-generic
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-121-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  quiet splash
initrd		/boot/initrd.img-2.6.31-21-generic

title		Ubuntu 9.10, kernel 2.6.31-21-generic (recovery mode)
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-21-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro single 
initrd		/boot/initrd.img-2.6.31-21-generic
quiet

title		Ubuntu 9.10, kernel 2.6.31-16-generic
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-16-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
initrd		/boot/initrd.img-2.6.31-16-generic
quiet

title		Ubuntu 9.10, kernel 2.6.31-16-generic (recovery mode)
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-16-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
initrd		/boot/initrd.img-2.6.31-16-generic

title		Ubuntu 9.10, kernel 2.6.31-15-generic
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-15-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
initrd		/boot/initrd.img-2.6.31-15-generic
quiet

title		Ubuntu 9.10, kernel 2.6.31-15-generic (recovery mode)
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel		/boot/vmlinuz-2.6.31-15-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
initrd		/boot/initrd.img-2.6.31-15-generic

#title		Ubuntu 9.10, kernel 2.6.28-16-generic
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.28-16-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
#initrd		/boot/initrd.img-2.6.28-16-generic
#quiet

#title		Ubuntu 9.10, kernel 2.6.28-16-generic (recovery mode)
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.28-16-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
#initrd		/boot/initrd.img-2.6.28-16-generic

#title		Ubuntu 9.10, kernel 2.6.28-13-generic
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.28-13-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
#initrd		/boot/initrd.img-2.6.28-13-generic
#quiet

#title		Ubuntu 9.10, kernel 2.6.28-13-generic (recovery mode)
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.28-13-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
#initrd		/boot/initrd.img-2.6.28-13-generic

#title		Ubuntu 9.10, kernel 2.6.27-11-generic
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro quiet splash 
#initrd		/boot/initrd.img-2.6.27-11-generic
#quiet

#title		Ubuntu 9.10, kernel 2.6.27-11-generic (recovery mode)
#uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
#kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  single
#initrd		/boot/initrd.img-2.6.27-11-generic

title		Ubuntu 9.10, memtest86+
uuid		d00086b2-68e6-4ff8-b080-a183ef4138fc
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 a non-linux OS
# on /dev/sda1
title		Microsoft Windows XP Professional
root		(hd0,0)
savedefault
makeactive
chainloader	+1
Ho aggiunto solo l'ultimo in data.

Salvi riavvii e controlli, dovresti essere sul 2.6.31-21
Ho fatto come hai detto.
Esce la versione del kernel 2.6.31-12 ma quando la selezione mi da error15
File not found...

Scegliendo la versione del kernel precedente invece va tutto ok!

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: mercoledì 7 aprile 2010, 20:31
da ^alessio^
prova a disinstallarlo il 2.6.31-21

Codice: Seleziona tutto

sudo apt-get remove linux-image-2.6.31-21-generic
e dopo reinstallalo

Codice: Seleziona tutto

sudo apt-get install linux-image-2.6.31-21-generic
dopo dai

Codice: Seleziona tutto

sudo update-grub
e riavvia il pc.

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: mercoledì 7 aprile 2010, 20:45
da patel
se fai attenzione c'è un errore nel menu.lst

title Ubuntu 9.10, kernel 2.6.31-21-generic
uuid d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel /boot/vmlinuz-2.6.31-121-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  quiet splash
initrd /boot/initrd.img-2.6.31-21-generic

deve essere 21 e non 121

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: mercoledì 7 aprile 2010, 21:30
da valeriodean
E poi togli il grub vecchio e metti il 2, a cosa è dovuto st'attaccamento ai fossili?  (rotfl)

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: mercoledì 7 aprile 2010, 21:35
da Megatux
valeriodean ha scritto: E poi togli il grub vecchio e metti il 2, a cosa è dovuto st'attaccamento ai fossili?  (rotfl)
Alla sua semplicità...  (good)

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: mercoledì 7 aprile 2010, 21:53
da valeriodean
Ma pure grub2 è facile, basta che dai una letta a come funziona... che è la stessa cosa che hai fatto col grub1, mica sei nato che lo sapevi usare... o forse si?  :o
(rotfl)

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: mercoledì 7 aprile 2010, 21:56
da Megatux
No... però mi pare moooolto più complicato rispetto a Grub1... inoltre il file .grub.cfg non è editabile come menu.lst...  (nono)

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: mercoledì 7 aprile 2010, 22:04
da yves
patel ha scritto: se fai attenzione c'è un errore nel menu.lst

title Ubuntu 9.10, kernel 2.6.31-21-generic
uuid d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel /boot/vmlinuz-2.6.31-121-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  quiet splash
initrd /boot/initrd.img-2.6.31-21-generic

deve essere 21 e non 121
Cazzarola, grazie Patel e scusami Angelsoul, ho riletto almeno due volte e non me n'ero reso conto

Re: Grub 1.5 non riconosce i kernel dopo aggiornamento del sistema alla 9.10

Inviato: giovedì 8 aprile 2010, 0:43
da Angelsoul
yves ha scritto:
patel ha scritto: se fai attenzione c'è un errore nel menu.lst

title Ubuntu 9.10, kernel 2.6.31-21-generic
uuid d00086b2-68e6-4ff8-b080-a183ef4138fc
kernel /boot/vmlinuz-2.6.31-121-generic root=UUID=d00086b2-68e6-4ff8-b080-a183ef4138fc ro  quiet splash
initrd /boot/initrd.img-2.6.31-21-generic

deve essere 21 e non 121
Cazzarola, grazie Patel e scusami Angelsoul, ho riletto almeno due volte e non me n'ero reso conto
figurati, grazie a tutti che mi avete aiutato..

p.s.
concordo con chi dice che il grub 1 è piu semplice ma devo riconoscere che il grub 2 ha un potenziale maggiore: è vero che grub.cfg non puo essere editato ma se vai a modificare i vari file che lo compongono è la stessa cosa ma riesci ad ottenere risultati migliori sopratutto dal punto di vista della grafica (per quello che puo essere utile).