[Linux-Biella] reinstallazione grub
Roberto Zanetto
zanetto a iol.it
Sab 22 Gen 2011 09:08:58 CET
Vorrei reinstallare windows, quindi dovrei risistemare grub, ho trovato
questa guida:
*Using Ubuntu 9.10 livecd*
First you need to download Ubuntu from Ubuntu site
In this tutorial we are assuming the Ubuntu partition is sdc3,and /boot
partition is sdc2
Note:- You need to replace sdc3,sdc2 with your partitions.You can check
your partition table with fdisk -l
Now Boot up ubuntu from the livecd,open terminal from Applications menu
-> Accessories -> Terminal and login as root using the following command
sudo -i
mount /dev/sdc3 /mnt
mount /dev/sdc2 /mnt/boot
grub-install |--|root-directory=/mnt/ /dev/sdc
If you are not having "grub.cfg" file,use following contents to recreate
mount |--|bind /proc /mnt/proc
mount |--|bind /dev /mnt/dev
mount |--|bind /sys /mnt/sys
chroot /mnt update-grub
umount /mnt/sys
umount /mnt/dev
umount /mnt/proc
exit
E' tutto ok? Posso andare?
Grazie
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://ml.bilug.linux.it/pipermail/linux/attachments/20110122/18a52f84/attachment.htm>
Maggiori informazioni sulla lista
Linux