Weblog entry #1 for nasser

Reinstalling Grub
Posted by nasser on Sun 24 Jun 2007 at 10:15
Tags: none.
* Boot from debian CD
* Change to console 2 with alt + F2 keystrokes
* Make a new dir to mount the boot partition, for example /disk
* mount the root partition on /disk.
* Do a chroot to the root partition: issuing chroot /disk
* Run grub command to enter grub shell
* Type in the root disk for grub, for example root (hd0,1). This is /dev/hda2 on my system
* Type the following command to install grub on /dev/hda: setup (hd0).
* Last step, type quit, exit from chroot, unmount all disks and reboot

 

Comments on this Entry

Posted by mwr (24.158.xx.xx) on Sun 24 Jun 2007 at 15:06
[ Send Message | View Weblogs ]
I think steps 6-8 above can be replaced with
grub-install /dev/hda2

[ Parent | Reply to this comment ]

Posted by Anonymous (77.237.xx.xx) on Wed 27 Jun 2007 at 06:44
no , it doesn't Work !!!

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search