[Grub] GRUB RESCUE
[Grub] GRUB RESCUE
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
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
- hellojoker
- Rampante Reduce

- Messaggi: 7740
- Iscrizione: martedì 22 febbraio 2011, 20:37
- Desktop: Gnome Shell
- Distribuzione: Fedora|Win10
Re: [Grub] GRUB RESCUE
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
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.
Re: [Grub] GRUB RESCUE
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??
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??
- hellojoker
- Rampante Reduce

- Messaggi: 7740
- Iscrizione: martedì 22 febbraio 2011, 20:37
- Desktop: Gnome Shell
- Distribuzione: Fedora|Win10
Re: [Grub] GRUB RESCUE
- giulux
- 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
no, il programma ti arriva attraverso il tunnel della signora del mio avatarninenas ha scritto: ... ma devo essere connessa a internet??
"Non è una segno di buona salute l'essere ben adattato ad una società malata". (Jiddu Krishnarmurti)
Re: [Grub] GRUB RESCUE
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)
grazie gente, però sono su "try ubuntu" avviato dal cd e non mi prende la linea
wireless networks Device not ready (firmware missing)
- hellojoker
- Rampante Reduce

- Messaggi: 7740
- Iscrizione: martedì 22 febbraio 2011, 20:37
- Desktop: Gnome Shell
- Distribuzione: Fedora|Win10
Re: [Grub] GRUB RESCUE
prova così apri il terminale posta sudo fdisk -l
Re: [Grub] GRUB RESCUE
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
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
- hellojoker
- Rampante Reduce

- Messaggi: 7740
- Iscrizione: martedì 22 febbraio 2011, 20:37
- Desktop: Gnome Shell
- Distribuzione: Fedora|Win10
Re: [Grub] GRUB RESCUE
Codice: Seleziona tutto
sudo grub-install /dev/sda
Ultima modifica di hellojoker il venerdì 14 ottobre 2011, 18:26, modificato 1 volta in totale.
- hellojoker
- Rampante Reduce

- Messaggi: 7740
- Iscrizione: martedì 22 febbraio 2011, 20:37
- Desktop: Gnome Shell
- Distribuzione: Fedora|Win10
Re: [Grub] GRUB RESCUE
ma hai dato una letta alla discussione?basettoni ha scritto: http://wiki.ubuntu-it.org/Amministrazio ... Ripristino
Re: [Grub] GRUB RESCUE
sto seguendo per filo e per segno
http://wiki.ubuntu-it.org/Amministrazio ... Ripristino
forse il problema è che non sono on line
http://wiki.ubuntu-it.org/Amministrazio ... Ripristino
forse il problema è che non sono on line
- hellojoker
- Rampante Reduce

- Messaggi: 7740
- Iscrizione: martedì 22 febbraio 2011, 20:37
- Desktop: Gnome Shell
- Distribuzione: Fedora|Win10
Re: [Grub] GRUB RESCUE
No non devi seguire quella fai come ti ho detto io, prima ho citato lo sproposito ma tu non devi seguirla
Re: [Grub] GRUB RESCUE
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
Re: [Grub] GRUB RESCUE
/dev/sda7 (che è quella di linux) mi risulta montata..
- hellojoker
- Rampante Reduce

- Messaggi: 7740
- Iscrizione: martedì 22 febbraio 2011, 20:37
- Desktop: Gnome Shell
- Distribuzione: Fedora|Win10
Re: [Grub] GRUB RESCUE
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
normalmente dovresti seguire la guida sopra ma senza internet è un macello
- giulux
- 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
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
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)
Re: [Grub] GRUB RESCUE
riavviato la live, la risposta è quella della risposta 13 (vedi sopra)..
come faccio a trasferirlo sull'altro computer poi? dalla live??
come faccio a trasferirlo sull'altro computer poi? dalla live??
- hellojoker
- Rampante Reduce

- Messaggi: 7740
- Iscrizione: martedì 22 febbraio 2011, 20:37
- Desktop: Gnome Shell
- Distribuzione: Fedora|Win10
Re: [Grub] GRUB RESCUE
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
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.
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 2 ospiti
