[Grub] GRUB RESCUE

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
ninenas
Prode Principiante
Messaggi: 18
Iscrizione: venerdì 14 ottobre 2011, 11:25

[Grub] GRUB RESCUE

Messaggio da ninenas »

ciao a tutti
ho provato a seguire

http://wiki.ubuntu-it.org/Amministrazio ... Ripristino

(perchè smanettando per cercare di risolvere problemi ho eliminato grub-pc e ho riavviato senza ristallarlo)



ecco quello che succede:


ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0x38000000

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1          15      120456  de  Dell Utility
/dev/sda2              16        1321    10485760    7  HPFS/NTFS
/dev/sda3            1322        7695    51199155    7  HPFS/NTFS
/dev/sda4            7696      19457    94478234+  5  Extended
/dev/sda5            7696        7708      104391  83  Linux
/dev/sda6            7709        7969    2096451  82  Linux swap / Solaris
/dev/sda7            7970      19457    92277328+  83  Linux
ubuntu@ubuntu:~$ sudo mount /dev/sda7 /mnt
ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/dev
ubuntu@ubuntu:~$ sudo mount --bind /proc /mnt/proc
ubuntu@ubuntu:~$ sudo mount --bind /sys /mnt/sys
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# grub-install /dev/sda
The program 'grub-install' can be found in the following packages:
* grub
* grub-efi-amd64
* grub-efi-ia32
* grub-pc
* lupin-support
* grub-coreboot
* grub-ieee1275
Try: apt-get install
root@ubuntu:/# apt/get install grub
bash: apt/get: No such file or directory
root@ubuntu:/# apt-get install grub
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Suggested packages:
  grub-legacy-doc mdadm
The following NEW packages will be installed:
  grub
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 415kB of archives.
After this operation, 946kB of additional disk space will be used.
Err http://it.archive.ubuntu.com/ubuntu/ maverick-updates/main grub i386 0.97-29ubuntu60.10.10.2
  Could not resolve 'it.archive.ubuntu.com'
Failed to fetch http://it.archive.ubuntu.com/ubuntu/poo ... 6.deb  Could not resolve 'it.archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@ubuntu:/#



chiaramente se faccio ripartire tutto mi si ripresenta

FILE NOT FOUND
GRUB RESCUE



grazie in anticipo

elena
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: [Grub] GRUB RESCUE

Messaggio da hellojoker »

il pacchetto che dovevi installare si chiama grub-pc quindi apt-get install grub-pc prima fai pulizia con apt-get purge grub

quindi ricapitolando apt-get purge grub poi apt-get install grub-pc

Se ricevi errori dal server è perchè in questi giorni sono sovraccarichi dall'uscita di oneiric

( Could not resolve 'it.archive.ubuntu.com'
Failed to fetch http://it.archiv...)

quindi riprova ad orari diversi magari anche domani, se il problema persiste fatti risentire
Ultima modifica di hellojoker il venerdì 14 ottobre 2011, 18:05, modificato 1 volta in totale.
ninenas
Prode Principiante
Messaggi: 18
Iscrizione: venerdì 14 ottobre 2011, 11:25

Re: [Grub] GRUB RESCUE

Messaggio da ninenas »

ok mi dice:

reading package lists ... done
building dependency tree
reading state information... Done
E: Release 'pc' for 'grub' was not found



domanda scema ... ma devo essere connessa a internet??
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: [Grub] GRUB RESCUE

Messaggio da hellojoker »

:) si per installare grub-pc si
Avatar utente
giulux
Amministratore
Amministratore
Messaggi: 25450
Iscrizione: domenica 10 gennaio 2010, 12:17
Desktop: ubuntu 18.04
Distribuzione: Ubuntu 18.04.3 LTS x86_64
Sesso: Maschile
Località: Roma

Re: [Grub] GRUB RESCUE

Messaggio da giulux »

ninenas ha scritto: ... ma devo essere connessa a internet??
no, il programma ti arriva attraverso il tunnel della signora del mio avatar ;D
"Non è una segno di buona salute l'essere ben adattato ad una società malata". (Jiddu Krishnarmurti)
ninenas
Prode Principiante
Messaggi: 18
Iscrizione: venerdì 14 ottobre 2011, 11:25

Re: [Grub] GRUB RESCUE

Messaggio da ninenas »

ahi ahi ahi

grazie gente, però sono su "try ubuntu" avviato dal cd e non mi prende la linea

wireless networks    Device not ready (firmware missing)
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: [Grub] GRUB RESCUE

Messaggio da hellojoker »

prova così apri il terminale posta sudo fdisk -l
ninenas
Prode Principiante
Messaggi: 18
Iscrizione: venerdì 14 ottobre 2011, 11:25

Re: [Grub] GRUB RESCUE

Messaggio da ninenas »

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0x38000000

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1          15      120456  de  Dell Utility
/dev/sda2              16        1321    10485760    7  HPFS/NTFS
/dev/sda3            1322        7695    51199155    7  HPFS/NTFS
/dev/sda4            7696      19457    94478234+  5  Extended
/dev/sda5            7696        7708      104391  83  Linux
/dev/sda6            7709        7969    2096451  82  Linux swap / Solaris
/dev/sda7            7970      19457    92277328+  83  Linux
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: [Grub] GRUB RESCUE

Messaggio da hellojoker »

Codice: Seleziona tutto

sudo grub-install /dev/sda
in caso di errori posta il risultato poi dobbiamo controllare delle cose quindi quando hai fatto posta per dire che hai fatto  :)
Ultima modifica di hellojoker il venerdì 14 ottobre 2011, 18:26, modificato 1 volta in totale.
Avatar utente
basettoni
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 682
Iscrizione: venerdì 1 giugno 2007, 14:47

Re: [Grub] GRUB RESCUE

Messaggio da basettoni »

Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: [Grub] GRUB RESCUE

Messaggio da hellojoker »

ma hai dato una letta alla discussione?
ninenas
Prode Principiante
Messaggi: 18
Iscrizione: venerdì 14 ottobre 2011, 11:25

Re: [Grub] GRUB RESCUE

Messaggio da ninenas »

sto seguendo per filo e per segno

http://wiki.ubuntu-it.org/Amministrazio ... Ripristino

forse il problema è che non sono on line
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: [Grub] GRUB RESCUE

Messaggio da hellojoker »

No non devi seguire quella fai come ti ho detto io, prima ho citato lo sproposito ma tu non devi seguirla
ninenas
Prode Principiante
Messaggi: 18
Iscrizione: venerdì 14 ottobre 2011, 11:25

Re: [Grub] GRUB RESCUE

Messaggio da ninenas »

/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
ninenas
Prode Principiante
Messaggi: 18
Iscrizione: venerdì 14 ottobre 2011, 11:25

Re: [Grub] GRUB RESCUE

Messaggio da ninenas »

/dev/sda7  (che è quella di linux)  mi risulta montata..
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: [Grub] GRUB RESCUE

Messaggio da hellojoker »

io non ci sto capendo più nulla fai una cosa riavvia la live poi ridai il sudo grub-install /dev/sda vediamo come si può girare intorno al problema

normalmente dovresti seguire la guida sopra ma senza internet è un macello
ninenas
Prode Principiante
Messaggi: 18
Iscrizione: venerdì 14 ottobre 2011, 11:25

Re: [Grub] GRUB RESCUE

Messaggio da ninenas »

ok!
Avatar utente
giulux
Amministratore
Amministratore
Messaggi: 25450
Iscrizione: domenica 10 gennaio 2010, 12:17
Desktop: ubuntu 18.04
Distribuzione: Ubuntu 18.04.3 LTS x86_64
Sesso: Maschile
Località: Roma

Re: [Grub] GRUB RESCUE

Messaggio da giulux »

se posso intromettermi: il comando è già stato dato, con esito negativo da live (vedi 1°) post

forse si potrebbe tentare di scaricare il pacchetto grub-pc dal computer con cui è connessa adesso e trasferirlo in quello da sistemare
"Non è una segno di buona salute l'essere ben adattato ad una società malata". (Jiddu Krishnarmurti)
ninenas
Prode Principiante
Messaggi: 18
Iscrizione: venerdì 14 ottobre 2011, 11:25

Re: [Grub] GRUB RESCUE

Messaggio da ninenas »

riavviato la live, la risposta è quella della risposta 13 (vedi sopra)..

come faccio a trasferirlo sull'altro computer poi? dalla live??
Avatar utente
hellojoker
Rampante Reduce
Rampante Reduce
Messaggi: 7740
Iscrizione: martedì 22 febbraio 2011, 20:37
Desktop: Gnome Shell
Distribuzione: Fedora|Win10

Re: [Grub] GRUB RESCUE

Messaggio da hellojoker »

ok cambiamo sistema sudo mount /dev/sda5 /mnt

se non ti da errori sudo grub-setup -d /mnt/boot/grub /dev/sda

sperando che i file ci siano ancora in /boot/grub

non lo scrivo ma posta in caso di errori
Ultima modifica di hellojoker il venerdì 14 ottobre 2011, 19:23, modificato 1 volta in totale.
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 5 ospiti