LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-20-2006, 10:59 PM   #1
zepplin611
Member
 
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187

Rep: Reputation: 30
Dual Boot (2 different Disks) Fedora C3 and Win2K - Error


Greetings all - I hope you can help.

I have installed Fedora Core 3 on /dev/hda and Win2K on /dev/hdb

I have no problem booting into Fedora.

I can not get into windows however.

The error I get is:

"rootnoverify (hd1,0)
chainloader +1"


Here is the output from fdisk -l

[root@localhost grub]# fdisk -l

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 14593 117113850 8e Linux LVM

Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 4864 39070048+ 7 HPFS/NTFS





Here is the output of /boot/grub/grub.conf:

#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.667)
root (hd0,0)
kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-1.667.img
title Other
rootnoverify (hd1,0)
chainloader +1




I believe I need to add some commands to the grub.conf file to make windows think that it is on the primary drive...can anyone help?!?!?!

thanks,

zep
 
Old 09-21-2006, 12:39 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Have a look at this.
 
Old 10-25-2006, 10:18 AM   #3
penguin_powered
LQ Newbie
 
Registered: Apr 2004
Location: Houston, Texas
Distribution: Linux Mint 13, MATE 32-bit edition
Posts: 24

Rep: Reputation: 15
You are missing the section to boot Windows in /boot/grub/menu.lst

The map command is used to remap Windows as the 1st boot drive, since that's what Windows requires to load.

Add this and you should be in business:

title Windows
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1)+1

Here's my complete menu.lst for you to see how it's all laid out. This is for SUSE, but GRUB is GRUB, so something very similar should work for you.

John

# Modified by YaST2. Last modification on Wed Oct 25 10:05:12 CDT 2006

color white/blue black/light-gray
default 0
timeout 60
gfxmenu (hd0,5)/boot/message
password --md5 (removed for security reasons)

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hda6 vga=0x317 selinux=0 resume=/dev/hda5 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1)+1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
chainloader (fd0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hda6 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd
 
Old 11-15-2006, 11:51 AM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Here's your menu.lst "Winders" stanza:
Code:
title Other
rootnoverify (hd1,0)
chainloader +1
There are 2 things that stand out as possible problems:

"Winders" sometimes needs a makeactive directive, if so, put it before chainloader +1.

The 2 map directives are also probably needed.


While it is good practice to have the title line name the OS, it's not necessary for GRUB to work.

Finally, if your hdb contains an unaltered M$ install, i.e. w/ an intact MBR, then either rootnoverify (hd1,0) or rootnoverify (hd1) should work.

Here's what the final stanza might look like:
Code:
title ... XP ...
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1
 
  


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
Dual Boot XP Fedora 4 with 3 disks CEStanley Linux - Newbie 6 12-22-2005 10:37 PM
Undoing a dual boot win2k/fedora core2 d3funct Linux - General 1 07-14-2005 10:32 AM
Dual Boot with Fedora 2 and Win2k brette Linux - Newbie 4 10-28-2004 08:18 PM
Using Fedora and Win2k dual boot... simdawg20 Fedora 2 06-03-2004 12:20 PM
Fedora + Win2k Dual Boot ( using GRUB) peregrin Fedora - Installation 1 02-11-2004 06:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:49 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
Open Source Consulting | Domain Registration