Posted on January 25, 2010 at 12:54 pm

How to install grub.

To install grub, you will need some forum of Linux or grub already. If you can boot off of a usb, then you can use UNetbootin to get Super Grub Disk. Do not reboot yet.

Then you will need the grub files, If you are using my “How to Backup Your Recovery Partition” guide, then the menu.lst should be tailored to your needs, you can download the files from me here unzip these into the root directory of your hardrive. If you are using my “How to Backup Your Recovery Partition” guide, unzip the file into the root of your external hd. If you want to edit your boot commands, you can edit the /boot/grub/menu.lst files.

Now boot your super grub disk (in linux, you can just type “sudo grub” instead”) and press c to enter the command line.

now type the following:
find /boot/grub/stage1
You should get something like:
(hd1,0)
(hd2,0)

If you only got one, you can skip this step, otherwise you have to type:
geometry (hd1) (or whatever number you got earlier)
and you’ll get something like:
drive 0x81: C/H/S = 0/255/63, The number of sectors = 3915775, /dev/sdb
Partition num: 0, Filesystem type is fat, partition type 0xc

If it looks like the right drive (mabie only one partition, with the right partitioning scheme and file system) then type:
root (hd1,0) (or whatever the numbers are)

then type:
setup (hd1) (you get it right, it could be (hd2) or (hd0) or even (hd999))

Then you should have a perfectly working version of grub!

Leave a Reply

About

Hello, I have updated my blog, now people can post comments (I was getting spammed!) Confuzzled Software is now hosted on my site, and I hope to increase the popularity of my blog. If you have any questions, please do not hesitate to email me at: Admin@techline4teens.com (pretty creative email right!)