LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 08-21-2003, 08:28 PM   #1
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Rep: Reputation: 15
boot problems with windows 2000 and redhat 9


Ok here is the thing, I have 2 hdd one with windows 2000 (slave) and the other with redhat 9 (master). I use grub as my bootloader, but I can't get grub to boot to windows 2000. I have been reading on this a lot and I can't find a clear answer that I can actually understand. When I try to boot to win2000 from grub it says something like chainloader +1 ... Anyway any help or references will be greatly appreciated!!!
 
Old 08-21-2003, 08:40 PM   #2
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Rep: Reputation: 30
make sure the boot entry for windows 2000 in the grub.conf file (/boot/grub/grub.conf) is:

title Windows 2000
rootnoverify (hd1,0) ## hd1 is the default slave hdd
chainloader +1
makeactive
 
Old 08-21-2003, 09:13 PM   #3
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Original Poster
Rep: Reputation: 15
Ok not sure whats wrong now. I changed the grub.conf exactly as mentioned above. Now I don't get the chainloader error thing anymore. If I choose win2000 at the grub menu it just flashes the screen and goes black for a few seconds like its going to boot then goes right back to the grub menu. HELP!
 
Old 08-21-2003, 09:17 PM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Can you post your grub.conf file?
 
Old 08-21-2003, 09:27 PM   #5
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Original Poster
Rep: Reputation: 15
Ok everyone here is my grub.conf file and all its failing glory!
I should note that rh9 is set to master and win2000 is set to slave on the same ide cable.

# 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/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
#boot=/dev/hdb1
title Windows2000
rootnoverify (hd1,0)
chainloader +1
makeactive
 
Old 08-21-2003, 09:28 PM   #6
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Is Win2K expecting to be on the C: Drive?

Heres mine for Win2K.

title Windows 2000 Professional
rootnoverify (hd1,0)
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

SInce their the wrong way round for Windows, I simply swap them about.

I thought it was /etc/grub.conf for RH. Oh well I don't know why they don't just use /boot/menu.lst like everyone else
 
Old 08-21-2003, 09:31 PM   #7
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Original Poster
Rep: Reputation: 15
Ok I am not sure what you mean by expecting to be on the c drive. However, yes when I am in win2000 it is on the C drive so I am not sure if that is what you mean. Also in your grub.conf can someone explain to me the map stuff and the extras in the file I am clueless. Also thanks again!
 
Old 08-21-2003, 09:34 PM   #8
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Rep: Reputation: 30
errr...i always use /boot/grub/grub.conf
 
Old 08-21-2003, 09:39 PM   #9
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
The way Windows works A: is the first floppy B: is the second
C: is the first Hardisk Partition. So if Windows Expects to be on C: Then when you kickstart its bootloader (ntldr) It expects to find the rest of windows on C. Which obviously there not.

title <- What Appears in the Menu
rootnoverify <- This is where where going to boot No verify so Grub knows its not a format it'll understand (like Linux or BSD)
makeactive <- This says activeate the Disk
map <- Make the bios point here instead of here (its a trick so the bios reports what we want)
chainloader +1 <- Boot the partitions loader file (Hence where using one bootloader to activate another chain loading)

Edit:
For the Rest of the Commands see http://www.gnu.org/manual/grub/html_node/index.html

Last edited by leonscape; 08-21-2003 at 09:41 PM.
 
Old 08-21-2003, 09:51 PM   #10
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Original Poster
Rep: Reputation: 15
Ok thanks a lot for the explanation of the stuff used in your grub.conf. I tried the map stuff like you had and I got a new problem. It seems I am getting closer now though. When I chose windows this time it said "unrecognized string" or something to that effect. Here is the current grub.conf:

# 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/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
#boot=/dev/hdb1
title Windows2000
rootnoverify (hd1,0)
makeactive
map (hd0)(hd1)
map (hd1)(hd0)
chainloader +1
 
Old 08-21-2003, 09:55 PM   #11
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Can you mount your C partiotion in Linux?

mkdir /mnt/win2k
mount -t ntfs /dev/hdb1 /mnt/win2k

If your WIn2k is under a fat32 file system use that instead of ntfs.

Now check your boot.ini file. Mines

[boot loader]
timeout=0
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows 2000 Pro" /fastdetect
 
Old 08-21-2003, 09:59 PM   #12
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Original Poster
Rep: Reputation: 15
Ok sorry about the last post you guys are genious! After a more careful look into my grub.conf file I noticed that on the map commands there should be a space between the two pairs of parentheses and I didn't have it there. Well win2000 booted up like a charm!! Thank you soo much everyone and again thanks for the explanation of the commands and the grub link.
 
Old 08-21-2003, 10:00 PM   #13
durden2.0
Member
 
Registered: May 2003
Distribution: redhat 9.0
Posts: 113

Original Poster
Rep: Reputation: 15
Yes I can mount my win2k drive in linux but its fat32 not ntfs. Thanks again!
 
Old 08-21-2003, 10:02 PM   #14
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Glad we could help
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot problems witn Mandrake 10 and Windows 2000 lala52 Mandriva 5 06-19-2004 08:46 AM
Connectivity problems with Windows 2000 and RedHat 8.0 Texas Linux - Networking 1 07-25-2003 03:31 PM
Samba, RedHat 7.2, Windows 2000 bananaman Linux - Newbie 7 04-16-2003 10:39 PM
Redhat 7.2 and windows 2000 domain dkmy Linux - Networking 6 10-07-2002 03:56 AM
installing redhat 7.1 with windows 2000 gigio72 Linux - Software 1 11-19-2001 06:13 AM


All times are GMT -5. The time now is 07:01 PM.

Main Menu
 
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
Open Source Consulting | Domain Registration