Pagina 1 di 2

[Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 17:55
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

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 17:59
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

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 18:06
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??

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 18:09
da hellojoker
:) si per installare grub-pc si

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 18:11
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

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 18:18
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)

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 18:20
da hellojoker
prova così apri il terminale posta sudo fdisk -l

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 18:21
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

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 18:23
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  :)

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 18:28
da basettoni

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 18:30
da hellojoker
ma hai dato una letta alla discussione?

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 18:40
da ninenas
sto seguendo per filo e per segno

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

forse il problema è che non sono on line

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 18:41
da hellojoker
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

Inviato: venerdì 14 ottobre 2011, 18:44
da ninenas
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 18:46
da ninenas
/dev/sda7  (che è quella di linux)  mi risulta montata..

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 18:47
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

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 18:48
da ninenas
ok!

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 19:12
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

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 19:17
da ninenas
riavviato la live, la risposta è quella della risposta 13 (vedi sopra)..

come faccio a trasferirlo sull'altro computer poi? dalla live??

Re: [Grub] GRUB RESCUE

Inviato: venerdì 14 ottobre 2011, 19:18
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