Pagina 1 di 1

[Risolto] grub errore 22

Inviato: giovedì 7 maggio 2009, 22:25
da orloch
Ho ubuntu 8.04 e 9.04 in 2 partizioni differenti. Volendo aumentare lo spazio alla 9.04 ho modificato tramite live le partizioni creando un po di confusione.

questa la situazione attuale

Codice: Seleziona tutto

Disk /dev/sda: 50.0 GB, 50018393088 bytes
255 heads, 63 sectors/track, 6081 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2fd32fd2

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3312    26603608+  83  Linux
/dev/sda2            5821        5950     1044225   82  Linux swap / Solaris
/dev/sda3            3313        5820    20145510   83  Linux
/dev/sda4            5951        6081     1052257+  82  Linux swap / Solaris

questo  menu.lst

Codice: Seleziona tutto

title		Ubuntu 9.04, kernel 2.6.28-11-generic
uuid		b070891a-13e7-47cb-98fe-284bba9d022e
kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=b070891a-13e7-47cb-98fe-284bba9d022e ro quiet splash 
initrd		/boot/initrd.img-2.6.28-11-generic
quiet

title		Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid		b070891a-13e7-47cb-98fe-284bba9d022e
kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=b070891a-13e7-47cb-98fe-284bba9d022e ro  single
initrd		/boot/initrd.img-2.6.28-11-generic

title		Ubuntu 9.04, memtest86+
uuid		b070891a-13e7-47cb-98fe-284bba9d022e
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.2, kernel 2.6.24-23-generic (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-23-generic root=UUID=6df5db8a-3032-4faf-91e4-91659c518ef5 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-23-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.2, kernel 2.6.24-23-generic (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-23-generic root=UUID=6df5db8a-3032-4faf-91e4-91659c518ef5 ro single 
initrd		/boot/initrd.img-2.6.24-23-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.2, kernel 2.6.24-22-generic (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-22-generic root=UUID=6df5db8a-3032-4faf-91e4-91659c518ef5 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/sda1.
title		Ubuntu 8.04.2, kernel 2.6.24-22-generic (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-22-generic root=UUID=6df5db8a-3032-4faf-91e4-91659c518ef5 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/sda1.
title		Ubuntu 8.04.2, kernel 2.6.24-21-generic (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-21-generic root=UUID=6df5db8a-3032-4faf-91e4-91659c518ef5 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-21-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.2, kernel 2.6.24-21-generic (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-21-generic root=UUID=6df5db8a-3032-4faf-91e4-91659c518ef5 ro single 
initrd		/boot/initrd.img-2.6.24-21-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.2, kernel 2.6.24-19-generic (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=6df5db8a-3032-4faf-91e4-91659c518ef5 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-19-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.2, kernel 2.6.24-19-generic (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-19-generic root=UUID=6df5db8a-3032-4faf-91e4-91659c518ef5 ro single 
initrd		/boot/initrd.img-2.6.24-19-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04.2, memtest86+ (on /dev/sda1)
root		(hd0,0)
kernel		/boot/memtest86+.bin  
savedefault
boot

Re: grub errore 22

Inviato: venerdì 8 maggio 2009, 0:18
da dani.deb
e la domanda qual è?

Re: [Risolto] grub errore 22

Inviato: venerdì 8 maggio 2009, 0:56
da orloch
La domanda era nel titolo del topic.

Comunque ho risolto.
Cambiando le partizioni il punto di boot era inesistente.
Ho risolto con la guida sul forum per rimettere grub su sda1 nel mio caso e copiando il file menu.lst da sda3 a sda1 in /boot/grub e tutti i file presenti in /boot di sda3 in /boot di sda1.

Re: [Risolto] grub errore 22

Inviato: venerdì 8 maggio 2009, 4:56
da gianmpu
Un consiglio. Se installi più versioni di ubuntu o addirittura più distribuzioni linux, non c'è bisogno di creare una partizione di swap per ognuna. Puoi semplicemente usare la stessa partizione di swap per tutte. In questo caso, quindi, si potrebbe eliminare una delle due partizioni di swap e poi allargare le altre partizioni per recuperare quello spazio