LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-14-2005, 09:17 AM   #1
BiLLie-
LQ Newbie
 
Registered: Jul 2005
Location: the Netherlands
Distribution: Fedora Core 4
Posts: 13

Rep: Reputation: 0
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!
 
Old 07-14-2005, 09:22 AM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
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?
 
Old 07-14-2005, 09:25 AM   #3
BiLLie-
LQ Newbie
 
Registered: Jul 2005
Location: the Netherlands
Distribution: Fedora Core 4
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
Old 07-14-2005, 09:55 AM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
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

Last edited by perfect_circle; 07-14-2005 at 10:17 AM.
 
Old 07-14-2005, 09:58 AM   #5
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
hda (first hard drive)
hdb (second hard drive)
hdc (cd, dvd, or cdrw drive)

Note: disregard post

Last edited by cuiq; 07-14-2005 at 10:01 AM.
 
Old 07-14-2005, 10:00 AM   #6
BiLLie-
LQ Newbie
 
Registered: Jul 2005
Location: the Netherlands
Distribution: Fedora Core 4
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
Old 07-14-2005, 10:01 AM   #7
BiLLie-
LQ Newbie
 
Registered: Jul 2005
Location: the Netherlands
Distribution: Fedora Core 4
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
Old 07-14-2005, 10:03 AM   #8
elamigo2004
Member
 
Registered: Apr 2004
Location: HELL
Distribution: Phlak / Knoppix / Puppy
Posts: 98

Rep: Reputation: 15
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?
 
Old 07-14-2005, 10:05 AM   #9
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
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.

Last edited by cuiq; 07-14-2005 at 10:07 AM.
 
Old 07-14-2005, 10:06 AM   #10
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
grub.config is in:

/boot/grub/grub.conf
 
Old 07-14-2005, 10:10 AM   #11
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
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?
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.
 
Old 07-14-2005, 10:20 AM   #12
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
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.
 
Old 07-14-2005, 10:22 AM   #13
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
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?
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.
 
Old 07-14-2005, 10:25 AM   #14
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
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
 
Old 07-14-2005, 10:54 AM   #15
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub bootloader johnny_00 Linux - Software 5 10-14-2005 04:17 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
GRUB bootloader spits out "GRUB hard disk error" Crampedson Linux - Software 2 01-26-2005 06:34 PM
GRUB bootloader !! maseby Red Hat 3 10-27-2003 03:34 AM
GRUB bootloader dbaker Linux - Software 1 06-11-2003 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration