Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

grub - problems with multi-boot with w2k

Posted on 2003-12-11
2
532 Views
Last Modified: 2013-12-15
Hello

I`ve got a problem with configuring grub.
My hard disks are:

Primary Master: (3 partitions)
  partition 0: linux - grub installed
  partition 1: ... doesn`t matter
  partition 2: ... fat32 - old windows 2000
Primary Slave: (1 partition)
  partition 0: ntfs - new windows 2000

Secondary Master: (1 partition)
  partition 0: ntfs - stuff

Secondary Slave: cd

When I start (setting up previously booting from Primary Slave) New Windows 2000 everything is ok, Windows starts up. But I wanted to start everything from disk Primary Master and I configured grub in a way that
1) linux starts with no problems,
2) old windows I have written sth like this in grub.conf:

>          rootnoverify (hd0,2)
>          chainloader +1

and this windows starts with no problems
3) new windows is sth what makes me crazy:
I`ve tried:

>          rootnoverify (hdXX,YY)
>          chainloader +1

where XX=1,2,3 and YY=0,1,2,3,4 (I know that some of these values are completly stupid). As for me it should work with such options:

>          rootnoverify (hd1,0)
>          chainloader +1

but it doesn`t.

thanks for help to anyone.
grzessio
0
Comment
Question by:grzessio
2 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 50 total points
ID: 9925017
You probably need to virtually swap the two drives, so that you second Win2000 installation thinks it's on the first disk. You can do this with the following command:

map (hd0) (hd1)
map (hd1) (hd0)

So your second Win2000 section in menu.lst should look like this:

title Win2000New
   map (hd0) (hd1)
   map (hd1) (hd0)
   rootnoverify (hd1,0)
   chainloader +1
0
 
LVL 7

Author Comment

by:grzessio
ID: 9927590
Yep. Works for me!!! thx.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question