LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Vista Dual Boot Grub Problem (https://www.linuxquestions.org/questions/linux-general-1/vista-dual-boot-grub-problem-466701/)

bluelite28 07-23-2006 02:31 AM

Vista Dual Boot Grub Problem
 
Okay. I'll give my specs before I give the problem.

hda1 swap
hda2 ext3 Ubuntu Dapper Linux
hda3 ext3 empty partition for later use
hda4 FAT32 Storage

hdb1 Windows Vista
hdb2 FAT32 More Storage

Okay. I had XP on hdb1 and I could dual boot just fine, but then I installed Vista.. and it threw some new icky windows thing into my MBR. I still have my grub menu.lst file on hda2 and it was working just fine. Also I have found an excellent tutorial on configuring that grub file for Vista. My problem is.. grub is no longer my boot loader.

How do I make grub choose the OS and not windows?

Thanks!
-Bluelite28-

Geminias 07-23-2006 03:50 AM

you have to put grub into your MBR. Do this by doing the rescue option... for fc5 when you put the disk in it gives you an option to rescue, not sure about your distro. This in turn will give you a command prompt.

Type:

grub
setup (hd0)

Replace hd0 with the drive whose MBR is being used. (note: hd0 does not follow the same syntax as the linux kernel so sata drives and usb drives are all considered an hd and the number which corresponds to them is the number equal to the order bios detects them.)

bluelite28 07-23-2006 01:35 PM

hmm.. I do have some FC5 discs around, I'll try giving that a go.

bluelite28 07-24-2006 12:47 AM

Quote:

Originally Posted by Geminias
you have to put grub into your MBR. Do this by doing the rescue option... for fc5 when you put the disk in it gives you an option to rescue, not sure about your distro. This in turn will give you a command prompt.

Type:

grub
setup (hd0)

Replace hd0 with the drive whose MBR is being used. (note: hd0 does not follow the same syntax as the linux kernel so sata drives and usb drives are all considered an hd and the number which corresponds to them is the number equal to the order bios detects them.)

Hey few questions... How to I get grub into my MBR? Also, using "setup (hd0,1)" didn't work. :confused: I'm plenty familiar with how grub handles hard-drive partitions. Thanks for the tip though. But yeah. I'd really like to get this problem solved.


All times are GMT -5. The time now is 10:41 PM.