Install grub on running system
I recently installed Fedora Core 1 on my system and it is a dual boot system with Windows XP. During installation I got a message that becuase of the DOS partition it found, it suggests I do not load grub (or lilo) and use a boot disk.
Well, now my boot disk (or floppy drive) is crapping the bed on me and I can only boot with it 1 out of every 20-30 tries. I thought I could just make a boot "floppy" on CD - but that is causing me alot of trouble. How can I simply install grub if I never installed it in the first place? Thanks in advance. |
If you want to wait for a successful floppy boot and boot into linux, you can login as root and run
grub-install /dev/hdx (the hard disk where you want to overwrite the mbr with grub e.g. hda or hdb ...) You can also get into rescue mode using CD1 from the Fedora Distribution, type linux rescue. Follow the instructions, at the # prompt, type chroot /mnt/sysimage now run grub-install /dev/hdx |
Oh boy. Okay I did that, but now I boot to a grub prompt. How do I get the nice gui interface with the Linux/DOS option?
I couldn't figure out how to get either one booted and had to use the floppy again. whew - I got lucky again. |
When you are left at the grub> prompt, you can type
root (hd<tab>,<tab>) kernel /vmlinuz<tab> root=/dev/hdxx ro boot This will boot you into linux. You are required to know the location of your /boot and / partitions. Of course using the TAB key will bring up options so you can pick up the right partition. Here is a sample grub.conf Code:
default=1 /dev/hda9 points to my / partition |
Quote:
|
All times are GMT -5. The time now is 08:07 AM. |