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

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
Scrivi risposta
Avatar utente
Angelsoul
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 404
Iscrizione: venerdì 12 dicembre 2008, 23:24
Desktop: GNOME Shell
Distribuzione: ArchLinux 64bit
Località: Napoli

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

Messaggio 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?
Ultima modifica di Angelsoul il giovedì 8 aprile 2010, 0:44, modificato 1 volta in totale.
NOTEBOOK:Dell Studio 1557 | Intel(R) Core i7(TM) CPU  Q720 @ 1.60GHz | RAM 6 GB 1.333MHz DDR3 | ATI RADEON HD 4570 512 MB |

DESKTOP: mobo ASUS P5B | Intel(R) Core 2 Duo | RAM 4GB | nVidia GeForce 8600 GT Super
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

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

Messaggio da patel »

posta il risultato di

Codice: Seleziona tutto

grub-install -v
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
Avatar utente
Angelsoul
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 404
Iscrizione: venerdì 12 dicembre 2008, 23:24
Desktop: GNOME Shell
Distribuzione: ArchLinux 64bit
Località: Napoli

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

Messaggio 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)
NOTEBOOK:Dell Studio 1557 | Intel(R) Core i7(TM) CPU  Q720 @ 1.60GHz | RAM 6 GB 1.333MHz DDR3 | ATI RADEON HD 4570 512 MB |

DESKTOP: mobo ASUS P5B | Intel(R) Core 2 Duo | RAM 4GB | nVidia GeForce 8600 GT Super
Avatar utente
Angelsoul
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 404
Iscrizione: venerdì 12 dicembre 2008, 23:24
Desktop: GNOME Shell
Distribuzione: ArchLinux 64bit
Località: Napoli

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

Messaggio da Angelsoul »

Purtroppo non riesco a risolvere questo problema, qualcuno puo darmi qualche spunto per cercare di risolvere?
NOTEBOOK:Dell Studio 1557 | Intel(R) Core i7(TM) CPU  Q720 @ 1.60GHz | RAM 6 GB 1.333MHz DDR3 | ATI RADEON HD 4570 512 MB |

DESKTOP: mobo ASUS P5B | Intel(R) Core 2 Duo | RAM 4GB | nVidia GeForce 8600 GT Super
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

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

Messaggio da patel »

posta

Codice: Seleziona tutto

ls /boot
cat /boot/grub/menu.lst
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
Avatar utente
Angelsoul
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 404
Iscrizione: venerdì 12 dicembre 2008, 23:24
Desktop: GNOME Shell
Distribuzione: ArchLinux 64bit
Località: Napoli

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

Messaggio 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
NOTEBOOK:Dell Studio 1557 | Intel(R) Core i7(TM) CPU  Q720 @ 1.60GHz | RAM 6 GB 1.333MHz DDR3 | ATI RADEON HD 4570 512 MB |

DESKTOP: mobo ASUS P5B | Intel(R) Core 2 Duo | RAM 4GB | nVidia GeForce 8600 GT Super
^alessio^
Rampante Reduce
Rampante Reduce
Messaggi: 5384
Iscrizione: giovedì 15 maggio 2008, 22:00
Sesso: Maschile
Località: como

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

Messaggio 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.
 
Avatar utente
yves
Rampante Reduce
Rampante Reduce
Messaggi: 5422
Iscrizione: domenica 25 dicembre 2005, 2:23
Località: Argentina - BsAs
Contatti:

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

Messaggio 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
Ultima modifica di yves il mercoledì 7 aprile 2010, 21:56, modificato 1 volta in totale.
Al giorno d'oggi i cani di razza muovono la coda solo per interesse. Ma io sono un bastardo... Tuxliberty
Riscopri il PC, installa ed usa Linux ;-) - Linux != Windows Linux User # 16486 - Jabber: yvesBsAs@jabber.org
Avatar utente
Angelsoul
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 404
Iscrizione: venerdì 12 dicembre 2008, 23:24
Desktop: GNOME Shell
Distribuzione: ArchLinux 64bit
Località: Napoli

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

Messaggio 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
NOTEBOOK:Dell Studio 1557 | Intel(R) Core i7(TM) CPU  Q720 @ 1.60GHz | RAM 6 GB 1.333MHz DDR3 | ATI RADEON HD 4570 512 MB |

DESKTOP: mobo ASUS P5B | Intel(R) Core 2 Duo | RAM 4GB | nVidia GeForce 8600 GT Super
Avatar utente
Angelsoul
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 404
Iscrizione: venerdì 12 dicembre 2008, 23:24
Desktop: GNOME Shell
Distribuzione: ArchLinux 64bit
Località: Napoli

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

Messaggio 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!
NOTEBOOK:Dell Studio 1557 | Intel(R) Core i7(TM) CPU  Q720 @ 1.60GHz | RAM 6 GB 1.333MHz DDR3 | ATI RADEON HD 4570 512 MB |

DESKTOP: mobo ASUS P5B | Intel(R) Core 2 Duo | RAM 4GB | nVidia GeForce 8600 GT Super
^alessio^
Rampante Reduce
Rampante Reduce
Messaggi: 5384
Iscrizione: giovedì 15 maggio 2008, 22:00
Sesso: Maschile
Località: como

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

Messaggio 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.
 
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

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

Messaggio 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
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
valeriodean
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 892
Iscrizione: venerdì 4 dicembre 2009, 18:49

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

Messaggio da valeriodean »

E poi togli il grub vecchio e metti il 2, a cosa è dovuto st'attaccamento ai fossili?  (rotfl)
Avatar utente
Megatux
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 11793
Iscrizione: lunedì 21 settembre 2009, 12:47
Desktop: Ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile

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

Messaggio 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)
Il mondo sarebbe migliore con Gnu/Linux Ubuntu!
valeriodean
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 892
Iscrizione: venerdì 4 dicembre 2009, 18:49

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

Messaggio 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)
Avatar utente
Megatux
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 11793
Iscrizione: lunedì 21 settembre 2009, 12:47
Desktop: Ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile

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

Messaggio da Megatux »

No... però mi pare moooolto più complicato rispetto a Grub1... inoltre il file .grub.cfg non è editabile come menu.lst...  (nono)
Il mondo sarebbe migliore con Gnu/Linux Ubuntu!
Avatar utente
yves
Rampante Reduce
Rampante Reduce
Messaggi: 5422
Iscrizione: domenica 25 dicembre 2005, 2:23
Località: Argentina - BsAs
Contatti:

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

Messaggio 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
Al giorno d'oggi i cani di razza muovono la coda solo per interesse. Ma io sono un bastardo... Tuxliberty
Riscopri il PC, installa ed usa Linux ;-) - Linux != Windows Linux User # 16486 - Jabber: yvesBsAs@jabber.org
Avatar utente
Angelsoul
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 404
Iscrizione: venerdì 12 dicembre 2008, 23:24
Desktop: GNOME Shell
Distribuzione: ArchLinux 64bit
Località: Napoli

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

Messaggio 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).
NOTEBOOK:Dell Studio 1557 | Intel(R) Core i7(TM) CPU  Q720 @ 1.60GHz | RAM 6 GB 1.333MHz DDR3 | ATI RADEON HD 4570 512 MB |

DESKTOP: mobo ASUS P5B | Intel(R) Core 2 Duo | RAM 4GB | nVidia GeForce 8600 GT Super
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 6 ospiti