Friday, December 12, 2008

Installing Grub

Two methods we can follow (Tested in Fedora and redhat)

1. Boot in rescue mode follow the instruction

a. chroot /mnt/sysimage

b. fdisk -l (find out what type of label you are having eg. /dev/sda or /dev/hda)

c. Then type grub-install /dev/sda or /dev/hda

But in some case this wont help

second method

1. Boot with a live cd that has grub. Issue this:
as root

grub
(enter)
a.root (hd0,?) (? being where your controlling distro is) (need to find were linux is installed go to boot/grub/grub.conf) here you will get the details eg .(hd0,1)

b.setup (hd0)

c. quit

1 comment:

Prajith E P said...

Helpful post dude :)

curl and cacert

curl -v --cacert cacert.pem https://www.example/cgi-bin/f ile.xgi -I -X POST