LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 04-15-2005, 08:30 AM   #1
ZaheerPk
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
Dual Boot Partition


Hell All
I want to use dual boot partition, using Linux and Windows 2000. But I want to install Linux before installing Windows 2000. Please help my how to do this.

Thanks
 
Old 04-15-2005, 08:50 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Create all the partitions.
Boot the Windows 2000 CD and be sure to install to the correct partition
Once Windows is installed, install linux.
Edit the grub.conf and use the option map (hd0,#) (hd0,0) so that windows thinks it is on the first drive first partition.
 
Old 04-15-2005, 09:19 AM   #3
linuxLuser
Member
 
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
Although I agree with musicman_ace about how to get the OSs on the system, I realize that you made it clear that you wish to install Linux first and Win2000 second.
First of all, I would leave the first partition open for Win2000. So partition it as usual but install Linux on the second partition (and maybe your SWAP partition on the third one). If you can pull that off, you're probably good.
Then install Win2000. It's going to load its own bootloader onto the MBR. Because of that, you will need to make some kind of boot disk to get back into Linux. So, here's the steps I would take:
[list=1][*]Create partitions and leave the first one open (maybe 10-20 gigs or whatever you need for win2000)[*]Install Linux[*]I don't know what Linux distro you're going to put on, but I know Red Hat stuff has the mkbootdisk, which will make a bootdisk[*]Reboot and install win2000[*]Reboot into Linux with your bootdisk[*]Most likely your using GRUB, so edit your /boot/grub/grub.conf file to include
Code:
title Windows 2000
	rootnoverify (hd0,0)
	chainloader +1
[*]Reinstall GRUB onto the MBR:
Code:
grub-install /dev/hda
(An alternative to using GRUB is to use Windows NTloader http://www.linuxgazette.com/issue36/larriera.html )[/list=1]
I believe that should do it (I've omitted details of course). But I really would recommend installing Windows first. As a rule Microsoft products do not know about or care about anything non-Microsoft. This includes things like filesystems and awareness of other OSs. So it want to take over. The best way to approach a multiboot system with Windows then, is to let Windows take over, and then take over it.
Hope that helps a little.

-- the dudeman
 
Old 04-15-2005, 09:20 AM   #4
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
There are few reasons why you would want to do this. Maybe if you'd tell us yours we could help more.
Anyway, I managed to install WinXP *after* installing Linux, but instead of writing here the way I did it, maybe we could find another solution, if you'd post, as I said, your exact intentions (partitioning scheme etc.).
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dual boot partition problem blizunt7 Fedora 6 09-20-2005 12:42 AM
dual boot xp/gentoo (selecting boot for each partition) saif__r Linux - Newbie 8 08-13-2005 10:23 AM
Dual boot partition problems w/ 2 HD sourworm Linux - Newbie 4 02-22-2005 03:55 PM
dual boot w/ partition magic Scarecrow Man Linux - Newbie 11 06-14-2004 02:35 PM
Disk Partition and Dual Boot Ashraf Linux - General 1 10-09-2002 06:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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