LinuxQuestions.org
Visit Jeremy's Blog.
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 08-01-2005, 03:47 AM   #1
lowrida
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Rep: Reputation: 0
Dual Boot option is not working.


I just recently installed Fedora 4 on my computer. When I first purchased my hard drive, I made a 30GB partition for Linux so I could get to know it, the rest of it was for Windows. When my computer starts up it automatically boots up Fedora, with no option to choose between the operating systems I want. My friend tried helping me configure the grub.conf file. When I put in the Fedora CD, I looked at my partitions and it showed this:
(* represents a drop down menu)
*Hard Drives
*/dev/hdc
/dev/hdc1
/dev/hdc3
*/dev/hdc2
/dev/hdc5
Can someone help me with my problem? If not, then how do I delete the partitions, when I put in the Windows CD nothing shows up on the scree n and I tried with Fedora, but it didn't delete them.

Last edited by lowrida; 08-01-2005 at 03:48 AM.
 
Old 08-01-2005, 04:45 AM   #2
d0tc0mguy
Member
 
Registered: Apr 2005
Location: India
Distribution: Fedora
Posts: 35

Rep: Reputation: 15
dude....

can u please post ur grub.conf in the page...
may be u need to add the chainloader in it...
if possible just copy ur /boot/grub/grub.conf and post it...
 
Old 08-01-2005, 04:47 AM   #3
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
Hello!

Could you post the grub.conf here? I think the file is not configured properly, you don't need to delete any partitions.
 
Old 08-01-2005, 04:52 AM   #4
lowrida
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Sure.

Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/hdc
default=0
timeout=25
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
	root (hd0,0)
	kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
	initrd /initrd-2.6.11-1.1369_FC4.img
title Other
	rootnoverify (hd0,4)
	chainloader +1
 
Old 08-01-2005, 04:56 AM   #5
d0tc0mguy
Member
 
Registered: Apr 2005
Location: India
Distribution: Fedora
Posts: 35

Rep: Reputation: 15
strange man...

the grub.conf is gud...
 
Old 08-01-2005, 04:59 AM   #6
d0tc0mguy
Member
 
Registered: Apr 2005
Location: India
Distribution: Fedora
Posts: 35

Rep: Reputation: 15
just remove the # before hiddenmenu.. and reboot the computer..
 
Old 08-01-2005, 05:18 AM   #7
lowrida
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Didn't do much. All it does is make me press any key to get to the menu where to choose betwene Fedora and "other". I still get the same thing.

rootnoverify (hd0,4)
chainloader +1

and it stays like that until I reboot.
 
Old 08-01-2005, 06:58 AM   #8
furiousV
Member
 
Registered: Aug 2004
Location: Aberdeen, UK
Distribution: Ubuntu, CentOS, FreeBSD
Posts: 64

Rep: Reputation: 15
Did you write the bootloader to the Master Boot Record on the primary drive? I had similar problems, and the only way to get both FC4 and Win XP options was to do just that.
 
Old 08-01-2005, 11:40 AM   #9
Navyblue
Member
 
Registered: Jul 2005
Posts: 161

Rep: Reputation: 30
Quote:
Originally posted by lowrida
Didn't do much. All it does is make me press any key to get to the menu where to choose betwene Fedora and "other". I still get the same thing.

rootnoverify (hd0,4)
chainloader +1

and it stays like that until I reboot.
I am a newbie myself so i could be wrong.

From the kind of response, it seems that either the link points to a valid partition that does not have an OS. How many partition do you have? From your partition table it seems that you only have 3 partitions and (hd0,4) would refer to the fifth partition.

Btw, why is your one and only harddisk (I suppose) at hdc? is there any other harddisk occupying hda or hdb? If yes try this:

map (hd0) (hdx)
map (hdx) (hd0)
rootnoverify (hdx,4)
chainloader +1

Replace x with "2" if you have a total of 2 harddisks at hda and hdb.
Replace x with "1" if you have a total of 1 harddisk at hda and hdb.
Assuming that the fifth partition thingie is correct.
 
Old 08-01-2005, 03:52 PM   #10
lowrida
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Navyblue
Btw, why is your one and only harddisk (I suppose) at hdc? is there any other harddisk occupying hda or hdb?
I'm not sure. I partitioned it when I first installed Windows, and for some reason the Windows partition was F:\ and the Linux one was C:\.

Quote:
[i[Originally posted by furiousV[/i]
Did you write the bootloader to the Master Boot Record on the primary drive? I had similar problems, and the only way to get both FC4 and Win XP options was to do just that.
How do I do that?
 
Old 08-01-2005, 04:02 PM   #11
furiousV
Member
 
Registered: Aug 2004
Location: Aberdeen, UK
Distribution: Ubuntu, CentOS, FreeBSD
Posts: 64

Rep: Reputation: 15
You do it when installing linux. If you want to do it now, you pop in CD 1 (or your DVD) of FC and boot from it. It will ask you if you want to do a fresh install or upgrade your existing Fedore Core installation. Do the upgrade, and look around until you see somthing about your boot loader.

Just be sure you know what you are doing.
 
Old 08-01-2005, 07:14 PM   #12
lowrida
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
I checked it, and the only things in it are Fedora and "Other", which is supposed to be windows. Is there a way I can change it from there? I tried and it said it didn't make any changes.
 
Old 08-02-2005, 12:44 AM   #13
Navyblue
Member
 
Registered: Jul 2005
Posts: 161

Rep: Reputation: 30
Quote:
Originally posted by lowrida
I'm not sure. I partitioned it when I first installed Windows, and for some reason the Windows partition was F:\ and the Linux one was C:\.
Have you tried replacing (hd0,4) to (hd0,2) or (hd0,3)? Would you mind if you can list down all your partitions and which partition is the windows and linux in.
 
Old 08-02-2005, 12:52 AM   #14
lowrida
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Code:
*Hard Drives
          */dev/hdc
                    /dev/hdc1
                    /dev/hdc3
                    */dev/hdc2
                              /dev/hdc5
HDC5 is the one with Windows.
 
Old 08-02-2005, 01:14 AM   #15
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Rep: Reputation: 15
Your hard drive configuration there is very interesting (and confusing). I wonder if you could post the output of this:

fdisk -l /dev/hdc

I am also interested in if you know what partitions are primary and which are extended logical drives, as well as their respected mount points.

As for the windows disk not working, a friend of mine ran into that with FC3. I hope you don't have the same nightmare as him. That took a formating of the hd and a flashing of his BIOS to fix (although I think the problem was only the BIOS and the format was for good measure).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Dual Boot : Making Windows First Option in boot menu Maxwell Rain Linux - Software 3 11-27-2004 04:00 PM
Dual Boot Option Problem mikeCanada Mandriva 3 10-21-2004 02:26 PM
Dual Boot Option mikeCanada Linux - Newbie 3 10-20-2004 11:40 PM
Dual Boot Option Question CarnalPlumber Linux - Newbie 3 09-30-2004 07:18 PM
dual boot option Vikrant Yadav Linux - Software 2 11-22-2001 12:23 AM


All times are GMT -5. The time now is 12:04 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration