[LugBS] Ripristino dual boot HELP!
iz2fly a alice.it
iz2fly a alice.it
Dom 20 Mar 2011 10:57:59 UTC
Help!!!!!! non mi si accede più il PC, mi esce la scritta GRUB > con il cursore che lampeggia ......
Seguendo la guida, fortunatamente mi sono annotato tutti i passi, ho così fatto, errori compresi:
ubuntu a ubuntu:~$ sudo fdisk -l
Disk /dev/sdb: 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: 0x3ba83ba7
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 16573 133122591 7 HPFS/NTFS
/dev/sdb2 16574 19457 23165730 5 Extended
/dev/sdb5 16574 16816 1951866 82 Linux swap / Solaris
/dev/sdb6 16817 19457 21213801 83 Linux
ubuntu a ubuntu:~$ sudo mount /dev/sdb6 /mnt
ubuntu a ubuntu:~$ sudo mount --bind /dev /mnt/dev
ubuntu a ubuntu:~$ sudo mount --bind /proc /mnt/proc
ubuntu a ubuntu:~$ sudo mount --bind /sys /mnt/sys
ubuntu a ubuntu:~$ sudo chroot /mnt
root a ubuntu:/# grug-install /dev/sdb
Comando "grug-install" non trovato. Forse si intendeva:
Comando "grub-install" dal pacchetto "lupin-support" (main)
Comando "grub-install" dal pacchetto "grub-coreboot" (universe)
Comando "grub-install" dal pacchetto "grub" (main)
Comando "grub-install" dal pacchetto "grub-efi-ia32" (main)
Comando "grub-install" dal pacchetto "grub-ieee1275" (universe)
Comando "grub-install" dal pacchetto "grub-efi-amd64" (main)
Comando "grub-install" dal pacchetto "grub-pc" (main)
grug-install: comando non trovato
root a ubuntu:/# grub-install /dev/sdb
/dev/sdb does not have any corresponding BIOS drive.
root a ubuntu:/# mount /dev/sdb6 /boot
root a ubuntu:/# grub-install /dev/sdb
Probing devices to guess BIOS drives. This may take a long time.
Searching for GRUB installation directory ... found: /boot/grub
Installing GRUB to /dev/sdb as (hd0)...
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(fd0) /dev/fd0
(hd0) /dev/sdb
root a ubuntu:/# update-grub2
Il programma "update-grub2" può essere trovato nei seguenti pacchetti:
* grub-efi-amd64
* grub-efi-ia32
* grub-pc
* grub-coreboot
* grub-ieee1275
Provare: apt-get install <PACCHETTO SELEZIONATO>
root a ubuntu:/# grub-install --recheck /dev/sdb
Probing devices to guess BIOS drives. This may take a long time.
Searching for GRUB installation directory ... found: /boot/grub
Installing GRUB to /dev/sdb as (hd0)...
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(fd0) /dev/fd0
(hd0) /dev/sdb
root a ubuntu:/# exit
exit
ubuntu a ubuntu:~$ cd ~
ubuntu a ubuntu:~$ sudo umount /mnt/dev
ubuntu a ubuntu:~$ sudo umount /mnt/proc
ubuntu a ubuntu:~$ sudo umount/mnt/sys
sudo: umount/mnt/sys: command not found
ubuntu a ubuntu:~$ sudo umount mnt/sys
umount: mnt/sys: not found
ubuntu a ubuntu:~$ sudo umount /mnt/sys
ubuntu a 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))
ubuntu a ubuntu:~$
C'è rimedio????????
Vi prego!!!
ERNESTO
----Messaggio originale----
Da: luisa.ravelli a lugbs.linux.it
Data: 17-mar-2011 22.30
A: "iz2fly a alice.it"<iz2fly a alice.it>, "Linux User Group di Brescia"<lug a lugbs.linux.it>
Ogg: Re: [LugBS] Ripristino dual boot
Il giorno 17 marzo 2011 21:40, iz2fly a alice.it <iz2fly a alice.it> ha scritto:
Cosa devo fare, mi raccomando, passo dopo passo, senza mettere per scontato nulla.
L'installazione di xp ha sovrascritto l'mbr, segui questa guida: http://wiki.ubuntu-it.org/AmministrazioneSistema/Grub/Ripristino
Parti da live cd, dovresti riuscire a ripristinare grub, se qualcosa non ti è chiaro o non va come deve facci sapere.
Ciao,Luisa
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lugbs.linux.it/pipermail/lug/attachments/20110320/a3293cb2/attachment.html>
Maggiori informazioni sulla lista
Lug
|