Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I would like to change my boot loader from lilo to grub. I have an already installed, fully functional, dual boot FC1 / W2K machine. From the research that I've done so far, I believe I would have to use fdisk /mbr command to remove lilo from mbr. I would then create a grub.conf file with the proper information, but I think there is something else I need to do. Isn't there some type of initd. file I have to modify? Well, If anyone can help, I would really appreciate it?
You don't need to do the fdisk/mbr as installing the grub will over write it.
First, install the grub rpm. Using yum install grub or apt-get install grub is easy but you can go find an rpm or .gz and do things manually.
Then, while in the Linux system, run the command: grub-install /dev/hda
Note: that puts stage1, stage2 and a bunch of stuff in the /boot/grub directory.
If that didn't make a /boot/grub/grub.conf then you could create one and paste this info into it.
Note: change the kernel and initrd to match what you have.
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,1)
# kernel /boot/vmlinuz-version ro root=/dev/hdb2
# initrd /boot/initrd-version.img
title Fedora Core 1
kernel /boot/vmlinuz-2.4.22-1.2199.nptl ro root=LABEL=/ hdc=ide-scsi rhgb