Jump to content
  • Advertisement
Sign in to follow this  
roos

Linux and GRUB

This topic is 4834 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, Phew... So I've been trying to get Fedora Core 4 installed so I can dual boot with my already installed Win XP. I ran through the installer, no problems, and then took the CD out and rebooted. However, instead of giving me a choice of which OS to load, it simply booted into XP as usual! If anyone could please look at this and see if there's anything I can do to fix it, I would really appreciate it. I think I have a vague sense of what I need to do- probably boot up with the CD in the drive, type "linux rescue" to get to the command prompt, and then edit some settings. I don't really know anything about linux or GRUB though so I'm not quite sure what to do. Also, I'm not sure why GRUB didn't work in the first place... So here's my set up... I have 2 hard drives: /sda: SCSI drive, 1 FAT32 partition, contains the Windows XP operating system /hda: IDE drive. First 10GB are for Fedora, rest is FAT32 partition for misc data When the installer asked about how to install GRUB, I went with the default option that was available which was to install it in the master boot record (MBR) on /sda. Anyway I'm pretty stumped so please let me know if anyone has some clue. EDIT: I was googling a bit and found a little bit of info but I'm a bit hesitant to try it because I don't want to screw up my computer! What I'm thinking is maybe I can just go into linux rescue, then type "grub" to enter the grub command prompt, then type: root (hd0,1) setup (hd0) quit I don't really know what the number means "hd0"- if that would correspond to sda or hda. Thanks again, roos

Share this post


Link to post
Share on other sites
Advertisement
Probably belongs more in Everything Unix.

On GRUB installation from the command line, it usually tells you what the device mappings are.

It'll likely say something like:
Quote:
(hd0) /dev/hda3
(hd1) /dev/blablablah


or something. Try reinstalling GRUB and see what it thinks the device maps are. If you're booting off of IDE but your first-detected drive is SCSI, the IDE disk will be hd1 (but Linux thinks it will be hd0 because it booted off of it). This happened to me with Ubuntu on my P3 with builtin SCSI. Just edit the boot order before you launch into it, and then edit the menu.lst file when you come back into Linux.

Share this post


Link to post
Share on other sites
Thanks for moving the post to the right section, and for all the GRUB info.

Anyway, I tried fiddling around with the command line grub for a couple of hours with no luck... So I made some space on my SCSI drive where Windows is, created an empty partition, and installed Linux into that. Then finally, everything worked :)

Thx again for all the help

roos

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!