LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub bootloader (https://www.linuxquestions.org/questions/linux-newbie-8/grub-bootloader-343123/)

BiLLie- 07-14-2005 09:17 AM

Grub bootloader
 
Hi all!

Today I got the idea to instart Fedora Core 4 on my system and downloaded the images, burned them and got started. I also have Windows XP on my system and my intention is/was to create a multiboot system.

So far, so good. I booted from the FC4 cd, followed the steps from the installation guide and in the steps where you can select and configure the bootloader, I selected Windows XP as default system and Fedora as the other, assuming I would get a choice on boot which OS I would want to load. Installing the system went 'ok' I think, followed the other steps from the guide and got to the point where the system needed to reboot (no errormessages, or anything yet). I rebooted the system, and then it immediately booted to my Win XP, no bootmenu or something, nothing. Tried several times, but I can't seem to get into Fedora? How do I do that?

situation:

hdd1: 2 partitions, on one of them is Win XP
hdd2: 1 ntfs partition and some free space which I let Fedora decide on

Thanks in advance for the help!

perfect_circle 07-14-2005 09:22 AM

where did you install grub?
You should install it in the mbr of hdd. I don't know exactly what you did but obviously the windows loader is not overwritten as it should be. What over devices do you have?
why is your main hard disk hdd?

BiLLie- 07-14-2005 09:25 AM

Quote:

Originally posted by perfect_circle
where did you install grub?
You should install it in the mbr of hdd. I don't know exactly what you did but obviously the windows loader is not overwritten as it should be. What over devices do you have?
why is your main hard disk hdd?

I don't know where I installed grub, since I assume that is done by the Fedora install process

perfect_circle 07-14-2005 09:55 AM

can you tell me what hda,hdb and hdc are?

*EDIT*
I meant to what devices those hdx are assigned.
hda--> Primiry master IDE device
hdb-->Primary slave IDE device
hdc-->Secondary Master IDE device
hdd-->Secondary Slave

I asked because it's kind of hard for me to believe that his main hard disk is hdd.

hdd1 is not a hard disk. Its the first partition in a hard disk

cuiq 07-14-2005 09:58 AM

hda (first hard drive)
hdb (second hard drive)
hdc (cd, dvd, or cdrw drive)

Note: disregard post

BiLLie- 07-14-2005 10:00 AM

Quote:

Originally posted by perfect_circle
can you tell me what hda,hdb and hdc are?
I'm sorry, I'm a total newbie (that's why I post in the newbie forum), so I don't know what you mean with hda,hdb and hdc

I have two physical harddrives in my system (I call them hdd1 and hdd2)

on hdd1 I have two partitions (both NTFS), on one of them I have my win XP install
on hdd2 I have one partition (NTFS) and I had 15 gb unallocated space. In the Fedora installation process you can select which harddrive to install to, I picked my 'hdd2' and let the install do Automatic Partitioning on that drive and leave the current NTFS partition on the drive intact. After that I followed the steps like I tried to describe in my opening post.

BiLLie- 07-14-2005 10:01 AM

Ah, thanks cuiq!

hda = the drive with windows XP on it and the other NTFS partition
hdb = the drive with Fedora on it
hdc = dvd drive and cd-r(w) drive

elamigo2004 07-14-2005 10:03 AM

hey how do you modify grub? i mean, where's the config file / setup? cause i deleted one of my partitions, but it's still listed in grub (and not bootable). how can i remove it?:confused:

cuiq 07-14-2005 10:05 AM

Your grub should have been installed to the mbr of hda. When installing linux it gives you a choice of where to install a bootloader, if you decide to install one it should go into the mbr of the first hard drive (hda). That is if you want to dual boot.

cuiq 07-14-2005 10:06 AM

grub.config is in:

/boot/grub/grub.conf

perfect_circle 07-14-2005 10:10 AM

Quote:

Originally posted by elamigo2004
hey how do you modify grub? i mean, where's the config file / setup? cause i deleted one of my partitions, but it's still listed in grub (and not bootable). how can i remove it?:confused:
In most cases all you need to do is edit /boot/grub/menu.lst or /boot/grub/grub.conf or something like that and remove the entry.

0pal_t0ad 07-14-2005 10:20 AM

i'm not sure if the FC disk gives a command prompt when booting to it, but if it does, you just need to run 'grub'
then type "root (hd1,0)", which tells grub that linux is installed on hdb, then type "setup (hd0)" which will install grub on the mbr of hda.

perfect_circle 07-14-2005 10:22 AM

Quote:

Originally posted by elamigo2004
hey how do you modify grub? i mean, where's the config file / setup? cause i deleted one of my partitions, but it's still listed in grub (and not bootable). how can i remove it?:confused:
elamigo2004, you can start a thread if you have a problem, it's for free!!!!;)
hijacking BiLLie-'s threads, especially since he didn't manage to solve his problem yet, only messes things up.

perfect_circle 07-14-2005 10:25 AM

Quote:

Originally posted by 0pal_t0ad
i'm not sure if the FC disk gives a command prompt when booting to it, but if it does, you just need to run 'grub'
then type "root (hd1,0)", which tells grub that linux is installed on hdb, then type "setup (hd0)" which will install grub on the mbr of hda.

He can use the Resque disk (the last one) for that

PTrenholme 07-14-2005 10:54 AM

Quote:

Originally posted by perfect_circle
He can use the Resque disk (the last one) for that
Perhaps more detailed instructions would help: See, for example, this entry


All times are GMT -5. The time now is 05:00 AM.