Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-09-2003, 12:24 AM   #16
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58

grub will pretty much boot windows from anywhere. That's not the problem, installing is the problem. Windows is pretty picky. If your not sure what your doing you'll wipe out your other systems with windows.

The best way to be sure is to have it partitioned using Linux first, Windows will find your partition. You might need to switch drives after install if you want it on hdb. Windows is going to go to hda.
Old 12-09-2003, 12:40 AM   #17
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Yeah that will work, but what you need to be careful of is how the disks are connected when you install winXP, I'm not exactly sure what happens when you have bios set to boot from primary master with no partitions accessible by windows, and you try to install it to the second drive. It'll probably either complain or try to format your master drive. So I suppose if your hda doesn't have any fat/ntfs partitions, either set the bios to boot from hdb (D:\) or disconnect hda and physically swap hdb to hda, then install windows.
After thats done restore the original harddisk setup, boot into linux then put something like this in your grub.conf:

title WinXP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

basically that tricks the nt os loader used in winxp into thinking that its the primary drive, like it was when its installed. Otherwise if you just try to load (hd1,0) without the mapping, it will complain.

Last edited by Demonbane; 12-09-2003 at 12:46 AM.
Old 12-09-2003, 06:01 PM   #18
Registered: Oct 2003
Location: Texas
Distribution: Mandrake 9.2, Slackware 10.0
Posts: 51

Original Poster
Rep: Reputation: 15

Google - Linux lead me to a page called Linux on Laptops where I found many examples of partition tables commonly used for Linux installs on notebooks. The following one seemed alright:

Partition Mount point Size
/dev/hda1 WindowsXP 30GB
/dev/hda2 /boot 15MB
/dev/hda3 Swap 1GB
/dev/hda4 /tmp 50MB
/dev/hda5 / 3.0GB
/dev/hda6 /usr 2.0GB
/dev/hda7 /home Remainder of drive

Is my thinking correct, or have I got the sizes of the partitions all wrong?
Old 12-09-2003, 06:56 PM   #19
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134

Rep: Reputation: 15
just to give you an idea, on my Gentoo system when I:

# du -hs /usr
5.1G /usr

your results may vary, again, you may want to just have a:

/dev/hda1 --for winxp
/dev/hda2 --for /boot
/dev/hda3 --for swap
/dev/hda4 --for /
/dev/hda5 --for /home

just IMHO but that's the way I would do it, unless you are running a commercial server where filling up space matters in some areas, this seems like a good setup for a home system.
Old 12-10-2003, 02:20 AM   #20
Registered: May 2003
Location: Los Angeles, CA
Distribution: Mandrake 9.2
Posts: 36

Rep: Reputation: 15
Yeah, you can specify LILO (and I assume Grub) to point to hda or hdb and any partition on them (hda2) (hdb7)...


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
Best way to partition my hard drive QzarBaron Linux - General 6 06-23-2004 03:49 AM
What is best way to partition you hard drive? sunday2 Linux - Hardware 4 05-16-2004 06:24 PM
New Hard Drive, How to partition Philbert Linux - Newbie 1 01-06-2004 02:16 AM
How do I partition a hard drive? yzrider210 Linux - Newbie 8 12-14-2003 05:07 PM
cannot seem to partition my hard drive boo_reefa Linux - Software 1 06-16-2001 08:48 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration