LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-12-2004, 09:38 PM   #1
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
Grub ?????? [Multiboot]


Hi All,

Thanks in advance .....


I have an running system [Win Xp/ Redhat 9] dual boot on [/dev/hda] which is perfect ..

the problem however is ,i need to install Windows 2000 Pro on an empty harddisk [/dev/hdb] and

**********must be able to boot in to it using Grub***********************

This is the my configuration..

Disk /dev/hdb: 6800 MB, 6800080896 bytes
240 heads, 63 sectors/track, 878 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

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



I would be very HAPPY if somebody could propose changes that i need to make [ to grub.conf ] to be able to boot into Windows 2000 [on /dev/hdb ]


The following is my grub.conf...

title Red Hat Linux 9 [ KERNEL - 2.6.6-1.435 ]
root (hd0,6)
kernel /vmlinuz-2.6.6-1.435 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.6.6-1.435.img
title Red Hat Linux 9 [ KERNEL - 2.4.20-8 ]
root (hd0,6)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-8.img
title Windows Xp Professional
rootnoverify (hd0,0)
chainloader +1
 
Old 09-12-2004, 09:43 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
The simplest way would be to simply prep the drive and tell Win2K to install itself on the new drive. ( You can select this option during installation near the beginning, tell it to use the partition on the new drive ).

In grub, simply copy the WinXP bit and use (hd1,0) instead of (hd0,0).
 
Old 09-12-2004, 09:48 PM   #3
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Original Poster
Rep: Reputation: 31
Thanks!! leonscape... ill try that ...

That was quick... man i love bein on this site...
 
Old 09-12-2004, 11:24 PM   #4
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Original Poster
Rep: Reputation: 31
I installed windows 2000 on my secondary hardisk [/dev/hdb] setting it as master, after taking out my primary hardrive [Win Xp/ Redhat 9] dual boot on [/dev/hda] , as i didnt wanna take any chance...

Now i have my primary hard drive [Win Xp/ Redhat 9] as master and with Windows 2000 as secondary [/dev/hdb] ..


i made the following changes to my grub.conf

title Red Hat Linux 9 [ KERNEL - 2.6.6-1.435 ]
root (hd0,6)
kernel /vmlinuz-2.6.6-1.435 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.6.6-1.435.img
title Red Hat Linux 9 [ KERNEL - 2.4.20-8 ]
root (hd0,6)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-8.img
title Windows Xp Professional
rootnoverify (hd0,0)
chainloader +1
title Windows 2000 Professional
rootnoverify (hd1,0)
chainloader +1

I added the last 3 lines
title Windows 2000 Professional
rootnoverify (hd1,0)
chainloader +1



as per the suggestion ... but "IT still boots into my Win XP " ??????


any suggestions....

Thanks
 
Old 09-13-2004, 12:37 AM   #5
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Original Poster
Rep: Reputation: 31
Got it to work by doin this ....

title Win2K
map (hd1) (hd0)
map (hd0) (hd1)
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
Poblem: Grub and Windows multiboot Paul L Linux - Newbie 6 07-19-2005 04:18 PM
Grub Multiboot question PacMansRancor Linux - Newbie 4 09-22-2004 12:40 AM
multiboot (GRUB) problem GoK Linux - Newbie 15 07-24-2003 08:03 AM
GRUB multiboot zokik Linux - General 7 06-25-2003 06:41 AM
Problems using grub to multiboot amp2000 Linux - General 2 10-18-2002 12:40 PM

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

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