Pagina 1 di 1

[Grub] Intallato Kubuntu, non si avvia più Ubuntu

Inviato: lunedì 18 maggio 2009, 19:51
da Patris
Ciao a tutti. Chiedo consiglio perchè dopo aver installato kubuntu su un disco accanto ad ubuntu, quest'ultima non si avvia più. Nel grub ci sono ttutte le voci dei sistemi installati, anche se non so perchè kubuntu dopo l'installazione nel grub si chiamava ubuntu. e si dostinguevano i sistemi solo perchè per la ubuntu vera era specificato tra parentesi la partizione. Poi ho provveduto ad aggingere la "k" dove necessario

Codice: Seleziona tutto

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        1824    14651248+  83  Linux
/dev/sdc2            1825       36483   278398417+   5  Extended
/dev/sdc5            1825        1958     1076323+  82  Linux swap / Solaris
/dev/sdc6            1959       20194   146480638+  83  Linux
/dev/sdc7           20195       21653    11719386   83  Linux
/dev/sdc8           21654       36483   119121943+  83  Linux
chiarisco che:
sdc1 è / di Ubuntu (primaria) quindi qui c'è menu.list di ubuntu + windows
scd2 partizione estesa fatta per accolgiere tutte le altre che sono logiche
scd5 swap
scd6 Home Ubuntu
scd7 / di Kubuntu quindi qui c'è menu.lst con kubuntu, ubuntu, windows
scd8 Home di Kubuntu
sia quando installai ubuntu, qche dopo quando accanto le installai Kubuntu, sclsi il disco in cui si si trovavano le distro linux per installare Grub nell'MBR

Posto il menu.lst di ubuntu
title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid cb41d650-f069-4183-926f-aa8c91ae7bbe
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=cb41d650-f069-4183-926f-aa8c91ae7bbe 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 cb41d650-f069-4183-926f-aa8c91ae7bbe
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=cb41d650-f069-4183-926f-aa8c91ae7bbe ro  single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
uuid cb41d650-f069-4183-926f-aa8c91ae7bbe
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/sdb1
title Windows XP Media Center Edition
rootnoverify (hd1,0)
savedefault
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
menu.list di kubuntu
title Kubuntu 9.04, kernel 2.6.28-11-generic
uuid 1e14cc62-6d56-40f9-8b65-48f057aa3753
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=1e14cc62-6d56-40f9-8b65-48f057aa3753 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet

title Kubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 1e14cc62-6d56-40f9-8b65-48f057aa3753
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=1e14cc62-6d56-40f9-8b65-48f057aa3753 ro  single
initrd /boot/initrd.img-2.6.28-11-generic

title Kubuntu 9.04, memtest86+
uuid 1e14cc62-6d56-40f9-8b65-48f057aa3753
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/sdb1
title Windows XP Media Center Edition
rootnoverify (hd1,0)
savedefault
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc1.
title Ubuntu 9.04, kernel 2.6.28-11-generic (on /dev/sdc1)
root (hd2,0)
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=cb41d650-f069-4183-926f-aa8c91ae7bbe ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc1.
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode) (on /dev/sdc1)
root (hd2,0)
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=cb41d650-f069-4183-926f-aa8c91ae7bbe ro single
initrd /boot/initrd.img-2.6.28-11-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc1.
title Ubuntu 9.04, memtest86+ (on /dev/sdc1)
root (hd2,0)
kernel /boot/memtest86+.bin 
savedefault
boot
Forse dico una stupidaggine, ma non è che ubuntu non sia avvia in quanto tra l'installazione di ubuntu e kubuntu il disco ha cambiato nome da sdb a sdc ? Mi spiego, quando installai ubuntu quel disco veniva identificato come sdb, poi quando andai ad installare kubuntu divenne sdc...
Non so. E già che ci sono chiedo, come mai avviene questo? se io ho dei dishi collegato sempre nella medesima maniera, senza nemmeno mai scollegarli, e nel bios non cambio l'ordine di boot, perchè il disco viene  identificato con un nome doverso?
Cmq kubuntu, sia avvia, ubuntu no e windows si
Grazie

Re: [Grub] Intallato Kubuntu, non si avvia più Ubuntu

Inviato: lunedì 18 maggio 2009, 19:58
da jerico
ora all'avvio hai il menu.lst di kubuntu?

Re: [Grub] Intallato Kubuntu, non si avvia più Ubuntu

Inviato: lunedì 18 maggio 2009, 20:09
da Patris
si, ho il menu.lst di kubuntu, dove c'i sono le voci relative a ubuntu, ma se clicco non si avvia ubuntu e mi da
errore 17 non posso montare la partizione
preciso che se sono in Kubuntu, sia la / che la HOME di Ubuntu sono perfettamente montabili e accessibili
posto anche
grub> find /boot/grub/stage1
(hd2,0)
(hd2,6)

Re: [Grub] Intallato Kubuntu, non si avvia più Ubuntu

Inviato: lunedì 18 maggio 2009, 20:15
da jerico
modificalo cosi
title      Kubuntu 9.04, kernel 2.6.28-11-generic
uuid      1e14cc62-6d56-40f9-8b65-48f057aa3753
kernel      /boot/vmlinuz-2.6.28-11-generic root=UUID=1e14cc62-6d56-40f9-8b65-48f057aa3753 ro quiet splash
initrd      /boot/initrd.img-2.6.28-11-generic
quiet

title      Kubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid      1e14cc62-6d56-40f9-8b65-48f057aa3753
kernel      /boot/vmlinuz-2.6.28-11-generic root=UUID=1e14cc62-6d56-40f9-8b65-48f057aa3753 ro  single
initrd      /boot/initrd.img-2.6.28-11-generic

title      Kubuntu 9.04, memtest86+
uuid      1e14cc62-6d56-40f9-8b65-48f057aa3753
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/sdb1
title      Windows XP Media Center Edition
rootnoverify  (hd1,0)
savedefault
map      (hd0) (hd1)
map      (hd1) (hd0)
chainloader  +1


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc1.
title      Ubuntu 9.04, kernel 2.6.28-11-generic (on /dev/sdc1)
uuid    cb41d650-f069-4183-926f-aa8c91ae7bbe
kernel      /boot/vmlinuz-2.6.28-11-generic root=UUID=cb41d650-f069-4183-926f-aa8c91ae7bbe ro quiet splash
initrd      /boot/initrd.img-2.6.28-11-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc1.
title      Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode) (on /dev/sdc1)
uuid    cb41d650-f069-4183-926f-aa8c91ae7bbe
kernel      /boot/vmlinuz-2.6.28-11-generic root=UUID=cb41d650-f069-4183-926f-aa8c91ae7bbe ro single
initrd      /boot/initrd.img-2.6.28-11-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc1.
title      Ubuntu 9.04, memtest86+ (on /dev/sdc1)
uuid    cb41d650-f069-4183-926f-aa8c91ae7bbe
kernel      /boot/memtest86+.bin
savedefault
boot

Re: [Grub] Intallato Kubuntu, non si avvia più Ubuntu

Inviato: lunedì 18 maggio 2009, 20:49
da Patris
ciao jerico, ti scrivo da ubuntu, si avvia  ;D GRAZIE, mi spiegheresti cosa abbiamo fatto esattamente e perchè è stato necessario questo intervento? Giusto per capirci qualcosa e per far si che la prossima volta in fase di installazione faccia qualcosa di diverso magari.
Mi hai fatto togliere "root (....... )".  Azzardo: scegliendo ubuntu dal menu di grub in kubuntu, il pc si andava a leggere il menu.lst inella partizione / di ubuntu, mentre ora non c'è questo  passaggio e carica de sè il kernel di ubuntu?
Ora cmq faccio qualche altra prova di avvio, per essere certo che tutto fili liscio e po metto risolto
Grazie ancora

Re: [Grub] Intallato Kubuntu, non si avvia più Ubuntu

Inviato: lunedì 18 maggio 2009, 21:13
da jerico
abbiamo semplicemente indicato a grub l'uuid della partizione / di ubuntu per fargliela trovare.
teoricamente andava bene anche root hd2,0 che equivale a sdc1 . però ho notato che con l'uuid il grub di jaunty non fallisce mai.
cosi se per qualsiasi motivo,la partizione dovesse venir vista in altro modo,con l'uuid lui saprà sempre riconoscerla