LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-21-2003, 12:54 PM   #1
Mortifer
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
Windows 2003 booting on Redhat 9


I have recently installed Win server 2003 and i've just installed redhat 9

i have two hard disks ,
on the first i've installed RH9
this disk contains 3 partitions

- 1 : RH9
- 2 : swap
- 3 : boot

second harddisk contains Win 2003

I have problems booting and i can only log in in linux

As bootmanager i'm using grub, and my conf file looks like this

/// Start conf file ------------

#grub.conf generated by anaconda
#...

default=0
timeout=10
splashimage(hd0,0) /grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root(hd0,0)
kernel +vmlonuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title Windows 2003
map (hd1) (hd0)
rootnoverify (hd0,4)
makeactive
boot

/// end conf file -------------

when i choose Windows 2003 in the bootmenu
i get an error 8 : Kernel must be loaded before booting

What do i do wrong ??

Thanks
 
Old 10-21-2003, 01:01 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Try adding a 'chainloader +1" line between 'makeactive' and 'boot'. Ex:
Old:
Code:
makeactive
boot
New:
Code:
makeactive
chainloader +1
boot
 
Old 10-21-2003, 01:15 PM   #3
Mortifer
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for your quick reply

I've tried it, and the error now states that the partition does not exist

I've tried to change the rootverify to

rootnoverify (hd1,4)
rootnoverify (hd1,3)
rootnoverify (hd0,3)

those all gave me the same error ...

how can I be sure of my partition name ?
I've looked in the /dev/ folder, but there's way to much files there...

thanks
 
Old 10-21-2003, 01:26 PM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
What partition is Win2k3 on? Try the command 'fdisk -l' to list all partitions, you should be looking for a partition that says 'HPFS/NTFS' on it. What letter(s) did the Win2k3 have? According to your file, it's /dev/hda5 (or /dev/hdb5 , since it was switched w/ 'map'). Note the different naming convention: (hd0,4)=/dev/hda5 . GRUB counts from 0. Where are the hard drives connected?
 
Old 10-21-2003, 01:46 PM   #5
Mortifer
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Win2k3 is on the first partition of my second harddisk

that would be hdb5 i presume, cause when i enter fdisk -l i see a win 95 FAT32 partition on my second harddisk with the name hdb5

hdb5 = hd(1,4) in GRUB if I'm correct

when I enter rootnoverify (hd0,4) i get partition does not exist error

when I enter rootnoverify (hd1,4) I get an invalid drive requested error

I've read on other forums that I should add chainloader (hd1,4) +1 instead of just chainloader + 1 , is that correct ?

Thanks again
 
Old 10-21-2003, 02:04 PM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
That's the same as if you put 'root (hd1,4)' then 'chainloader +1'.
What other partitions are on the hdb? Did the Win2k3 have more than one drive letter?
 
Old 10-21-2003, 02:08 PM   #7
Mortifer
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Win2k3 had only one drive letter : D = hdb
on hdb there's a

/dev/hdb1 partition
- which is marked * on boot,
- the id field is set to f
- the system is : win95 Ext'd (LBA)

/dev/hdb5 partition
- not marked boot
- the id field is set to b
- the system is : win95 FAT32

that's all
I really don't have a clue why this invalid drive error occurs

Thanks
 
Old 10-21-2003, 02:21 PM   #8
Mortifer
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
I've mounted the hdb5 disk and i can view it's contens
Win2003 is still on it, so that shouldn't be the problem

just to let you know

Thanks
 
Old 10-21-2003, 02:24 PM   #9
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
GRUB has a command line mode, in case you weren't already using it instead of editing the file. Press 'c' to enter this mode, and enter commands as they are in the file, except with a final 'boot' command at the end, and of course 'title' is not needed in the command-line. This will let you try out things quicker.
This reminds me, there should not be any 'boot' commands in the file, it's done automatically, so get rid of that.
Try booting from the extended partition (/dev/hdb1, (hd0,0) or (hd1,0)), and try the /dev/hdb5 again.
 
Old 10-21-2003, 02:49 PM   #10
Mortifer
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
I've tried numerous combination, but none seems to work fine,
mostly i get the error that the drive is invalid...

I'm out of ideas...
 
  


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
Redhat Linux and Windows 2003 ctanchan Linux - Networking 8 08-11-2005 01:00 AM
Dual booting RedHat 4.0 with Windows 2003 adv server Cloos Red Hat 3 07-09-2005 05:12 PM
redhat as 3.0 and windows 2003 ldap xn85turbo Linux - General 3 12-05-2004 03:17 PM
Redhat 9.0 with windows server 2003 and XP darrendorlando Linux - Software 1 10-15-2003 01:59 PM
RedHat 9.0 with Windows server 2003 and XP darrendorlando Linux - Games 0 10-15-2003 01:37 PM


All times are GMT -5. The time now is 06:08 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