[Grub] GRUB RESCUE
Inviato: venerdì 14 ottobre 2011, 17:55
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