[Risolto] [Urgente] Problema urgente con dual-boot Ubuntu

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
Avatar utente
Calvin Klein
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1426
Iscrizione: martedì 1 febbraio 2011, 15:34
Desktop: GNOME Shell
Distribuzione: Ubuntu 12.04 LTS x86_64

[Risolto] [Urgente] Problema urgente con dual-boot Ubuntu

Messaggio da Calvin Klein »

Ieri ho scaricato Ubuntu 11.04 con dual-boot Ubuntu 10.10.
Fino a pomeriggio tutto bene, ma oggi aprendo GParted mi è apparso un errore strano.
Ho fatto il controllo della partizione, ho riavviato e adesso mi appare l'errore:

Codice: Seleziona tutto

grub: file not found
grub rescue>
E poi non mi parte niente.
Per ora sono con una Live.
Come faccio?
Devo per forza reinstallare Ubuntu? :'( >:( >:( :'(
Ultima modifica di Calvin Klein il mercoledì 23 marzo 2011, 19:29, modificato 1 volta in totale.
Avatar utente
trekfan1
Moderatore Globale
Moderatore Globale
Messaggi: 23540
Iscrizione: domenica 21 maggio 2006, 10:51
Desktop: Gnome
Distribuzione: Ubuntu 23.10 e 24.04 (dev)
Sesso: Maschile
Località: Formigine (MO) | Accecante Asceta

Re: Problema urgente con dual-boot Ubuntu

Messaggio da trekfan1 »

Prova a ripristinare il grub AmministrazioneSistema/Grub/Ripristino
Avatar utente
Calvin Klein
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1426
Iscrizione: martedì 1 febbraio 2011, 15:34
Desktop: GNOME Shell
Distribuzione: Ubuntu 12.04 LTS x86_64

Re: [Urgente] Problema urgente con dual-boot Ubuntu

Messaggio da Calvin Klein »

Ho scritto questo:

Codice: Seleziona tutto

francesco@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00073dd1

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4567    36677426+  83  Linux
/dev/sda2            7117        7296     1440769    5  Extended
/dev/sda3            4567        7117    20484096   83  Linux
/dev/sda5            7117        7296     1440768   82  Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 2045 MB, 2045771776 bytes
128 heads, 32 sectors/track, 975 cylinders
Units = cylinders of 4096 * 512 = 2097152 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00099feb

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         976     1997636+   6  FAT16
Partition 1 has different physical/logical endings:
     phys=(975, 127, 32) logical=(975, 63, 32)
francesco@ubuntu:~$ sudo mount /dev/sda1 /mnt
francesco@ubuntu:~$ sudo mount --bind /dev /mnt/dev
francesco@ubuntu:~$ sudo mount --bind /proc /mnt/proc
francesco@ubuntu:~$ sudo mount --bind /sys /mnt/sys
francesco@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# mount /dev/sda3 /boot
root@ubuntu:/# grub-install /dev/sda
Installation finished. No error reported.
root@ubuntu:/# update-grub2
Generating grub.cfg ...
done
root@ubuntu:/# grub-install --recheck /dev/sda
Installation finished. No error reported.
root@ubuntu:/# exit
exit
francesco@ubuntu:~$ cd ~
francesco@ubuntu:~$ sudo umount /mnt/dev
francesco@ubuntu:~$ sudo umount /mnt/proc
francesco@ubuntu:~$ sudo umount /mnt/sys
francesco@ubuntu:~$ sudo umount /mnt/
umount: /mnt: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
francesco@ubuntu:~$ 
Penso di non aver sbagliato...
Avatar utente
Calvin Klein
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1426
Iscrizione: martedì 1 febbraio 2011, 15:34
Desktop: GNOME Shell
Distribuzione: Ubuntu 12.04 LTS x86_64

Re: [Urgente] Problema urgente con dual-boot Ubuntu

Messaggio da Calvin Klein »

Adesso mi compare quest'errore:

Codice: Seleziona tutto

Minimal BASH-like line editing is supported. For the first word, TAB list possible command completions. Anywhere else TAB lists possible device or file completions
grub>
Cosa devo fare?
Avatar utente
orione...
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 422
Iscrizione: sabato 28 febbraio 2009, 19:23

Re: [Urgente] Problema urgente con dual-boot Ubuntu

Messaggio da orione... »

Ciao,
esiste un programma che ti permette di entrare nel so anche col grub danneggiato, si chiama supergrub 2, basta scaricarlo e masterizzare l'immagine poi una volta entrato ripristinare il grub.
Ciao
Ubuntu 11.10 Plus8, unity personalizzato compiz, una favola
Kubuntu 11.10 Kernel pae, Kde personalizzato  , strepitoso
ASUS X5DIP,Pentium T4400 NVIDIA GEFORCE  G205M
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: [Urgente] Problema urgente con dual-boot Ubuntu

Messaggio da patel »

francesco97 ha scritto: francesco@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# mount /dev/sda3 /boot
root@ubuntu:/# grub-install /dev/sda
Penso di non aver sbagliato...
sì, hai sbagliato, non devi montare mount /dev/sda3 /boot, nella guida c'è scritto che lo deve fare solo chi ha la /boot in partizione separata
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
Avatar utente
Calvin Klein
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1426
Iscrizione: martedì 1 febbraio 2011, 15:34
Desktop: GNOME Shell
Distribuzione: Ubuntu 12.04 LTS x86_64

Re: [Urgente] Problema urgente con dual-boot Ubuntu

Messaggio da Calvin Klein »

Comunque, ho sistemato reinstallando Ubuntu 11.04, tanto ancora nemmeno lo avevo personalizzato, quindi...
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: Bing [Bot] e 7 ospiti