View Full Version : How to install grub?
19th September 2006, 06:10 PM
I use dual systems, ie, one in FC5 & the other is Windows XP. Recently, due to the Windows drive C: did not have sufficient Harddisk space, I replace another SATA harddisk with larger volume (the previous C: was an IDE Hraddisk). The FC5 is insatlled in a unique Harddisk and the replacement of Windows harddisk did not interfere with the installation and content in the FC5.
My question is, how can I install back the grub bootup program on the drive C: without interfering the installation of the original FC5?
19th September 2006, 07:13 PM
boot your computer with FC5 rescue disc, once it has booted, do:
were hda is the harddsik you want to install the grub onto.
20th September 2006, 05:53 AM
Thank you Effie04,
My followup question is:
How can I know that the new Windows C: is defined as /dev/hda but not hdb nor hdc?
20th September 2006, 06:05 AM
You need to boot from your FC install disc and select F5 and type linux rescue .. follow along with the on-screen instructions and at the last prompt #
and the output should tell you where each OS is installed
i.e. on which drive etc.
If you can already boot to FC then open a terminal and log in as root and type the same fdisk -l
20th September 2006, 02:12 PM
I have used the following method.
1) Use FC5-1 to boot, type "grub-install /dev/sdb", it responds no such command
2) Use FC5-1 to boot, type "linux grub-install /dev/sdb", it responds as a normal graphical installtion and I followed the instructions to upgrade the Linux and create a new grub boot loader at /dev/sdb1, eventually it said that no kernel was installed at the hard drive so the boot loader will not be loaded
3) Use FC5-Rescue to boot, after typing "chroot /mnt/sysimage", I type "grub-install /dev/sdb1", it replied that : " /dev/sdb1 does not have any corresponding BIOS drive."
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.