LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-09-2004, 10:23 AM   #1
lyonsd
Member
 
Registered: Mar 2004
Location: Flowery Branch, GA
Distribution: FC3, FreeBSD 5.3, Solaris 10
Posts: 43

Rep: Reputation: 15
system with three operating systems


First hard disk, first partition: Windows XP Pro
First hard disk, second partition: Linux (RH9)
Second hard disk, only partition: Windows 2000

Using GRUB, I have no problems booting Linux and Windows XP. However, I found the Microsoft will not boot Windows unless it's on "disk 0" the first hard disk. A little more research and I found that a work-around is to get into Linux and interact with grub to remap the disks. But that's not really a fix, it's just a work-around, like I already mentioned.

So, is there a way I can reliably boot any of the three operating systems at any time without executing a series of commands, like the "map" commands in grub?

Thanks.
 
Old 03-09-2004, 10:37 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Do you have something against the map command? The reason why they put it in is OS's like Windows don't like to behave in certain situations. Using the map commands in grub you CAN reliably boot any number of OS's from any place on any disk.

I guess I just don't see how it makes any bit of difference how you map the locations of the drives so long as it works.
 
Old 03-09-2004, 12:43 PM   #3
lyonsd
Member
 
Registered: Mar 2004
Location: Flowery Branch, GA
Distribution: FC3, FreeBSD 5.3, Solaris 10
Posts: 43

Original Poster
Rep: Reputation: 15
I don't have anything against the map command. But I just don't want to have to boot into Linux to run grub and issue the map commands every time I want to switch between Windows operating systems.
 
Old 03-09-2004, 04:03 PM   #4
lyonsd
Member
 
Registered: Mar 2004
Location: Flowery Branch, GA
Distribution: FC3, FreeBSD 5.3, Solaris 10
Posts: 43

Original Poster
Rep: Reputation: 15
Or do you only have to do those map commands once?

I was assuming that I would have to do them to boot Windows 2000 which is on HD1, and that I would have to "put it back the way it was before" in order to boot Windows XP which is on HD0.
 
Old 03-09-2004, 06:43 PM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
Can you not edit your grub.conf file and add the relevant remappings to that?
 
Old 03-09-2004, 06:49 PM   #6
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
you should be able to add those to grub under the entry for win2000

another solution (definitely not the best one) is to get linux on the second hard disk and put windows on the first

*edit: you can use something like norton ghost to do it, or just bzip your linux partition (specifically /home), install windows over your current linux partition and then create some new ext3 partitions on the second disk in which you can install linux and extract /home

you may also be able to play with the bios, but that would also still require having to issue some some command each time you wanted to boot a different disk

Last edited by TheOneAndOnlySM; 03-09-2004 at 06:55 PM.
 
Old 03-09-2004, 06:57 PM   #7
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
There was a time I had Win2K, Win98, QNX, BeOS and Linux all happily coexisting across 2 hard disks. I think the QNX bootloader gave me the choice of QNX, BeOS, Linux and Windows and then the Windows menu let me choose the flavour of that.
 
Old 03-09-2004, 07:48 PM   #8
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
You need to edit your grub config

if you have something like this in /boot/grub/grub.conf (or /boot/grub/menu.lst)
title Windows 2000
rootnoverify(blah)
chainloader +1

you need to change it to:
title Windows 2000
mappingcommands here
rootnoverify(blah)
chainloader +1
 
Old 03-10-2004, 06:13 PM   #9
lyonsd
Member
 
Registered: Mar 2004
Location: Flowery Branch, GA
Distribution: FC3, FreeBSD 5.3, Solaris 10
Posts: 43

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jtshaw
You need to edit your grub config

if you have something like this in /boot/grub/grub.conf (or /boot/grub/menu.lst)
title Windows 2000
rootnoverify(blah)
chainloader +1

you need to change it to:
title Windows 2000
mappingcommands here
rootnoverify(blah)
chainloader +1
It works. Thanks.

(I wish the man grub or info grub would have just plainly stated that!)
 
  


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
downloading operating systems micpat Linux - Software 7 11-16-2005 08:27 AM
2 Women two Operating systems sheryco General 10 06-10-2004 05:50 AM
Pricetags on Operating-Systems... Megamieuwsel General 17 10-29-2003 07:33 AM
Dual operating systems Orienthal Linux - Networking 3 06-07-2001 07:43 PM
Two Operating Systems PEDRO Linux - Software 1 01-28-2001 11:34 AM


All times are GMT -5. The time now is 09:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration