LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-20-2004, 03:13 AM   #1
elhuecu
LQ Newbie
 
Registered: Feb 2004
Posts: 9

Rep: Reputation: 0
dual booting linux/winxp and order of install


Hello,

I am learning about linux and am shifting towards using it as my primary OS (hopefully only, someday). Unfortunately I still need winxp for some research specific applications.

I have a 37 G HD on my laptop that I have partitioned as such:

2G /
1.2G swap
3.8G /usr
248m /boot
19G /home
10G /vfat

I have installed mandrake 9.2 and have attempted to install winxp to the /vfat partition, but during the install (a text-based mode) I was told that 38155 MB (?!) of disk 0 @ Id 0 on bus 0 on atapi [MBR] was needed, but the disk does not contain a winxp compatible partition, and then it asked me to create one.

What should I do? (Other than abandon my attempt to corrupt the disk with win..?) Diskdrake to resize the /home partition? Resize and repartition what was already slated for win (the /vfat)? And does xp need an ntfs partition in addition to a vfat partition?

Many thanks in advance for any assistance.
 
Old 02-20-2004, 03:32 AM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Different order

I have always first installed Windows and then Linux. It worked for me just fine. But it should go the other way too. If all fails, try Win XP first and Mandrake second (but I recommend RedHat 9).
 
Old 02-20-2004, 03:45 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
For most it is easier to install windows first then linux. Windows will overwrite the bootloader so you will need to reinstall the bootloader and then modify to boot windows. If installing windows first then linux, Mandrake will configure the bootloader for both OS's

I would guess that the vfat paritition you created is not a primary and that is what the installer is looking for. It would be best to install XP on a NTFS partition but it isn't required.


To see how your disk is partitioned log in as root:
fdisk -l /dev/hda (thats a samll L)

Primary partitions are ID 1-4.
A logical is anything >4

If a primary partition ID is available you would need to delete the existing vfat partition and then shrink the extended paritition the 10GB in order to install windows.
 
Old 02-20-2004, 01:43 PM   #4
elhuecu
LQ Newbie
 
Registered: Feb 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you very much. This is very helpful.

Below are the results of fdisk:

# fdisk -l /dev/hda

Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 267 2144646 83 Linux
/dev/hda2 268 4864 36925402+ 5 Extended
/dev/hda5 268 431 1317298+ 82 Linux swap
/dev/hda6 432 940 4088511 83 Linux
/dev/hda7 941 971 248976 83 Linux
/dev/hda8 972 3533 20579233+ 83 Linux
/dev/hda9 3534 4864 10691226 b Win95 FAT32

Seems like I should just install xp, and then linux after (where I will repartition). When partitioning, which linux partitions should be primary and which should be logical? Above it appears that the /boot and /usr are primary correct?
 
Old 02-20-2004, 09:36 PM   #5
MustangCSA
Member
 
Registered: Feb 2004
Location: Seattle, WA
Distribution: Debian Sid
Posts: 85

Rep: Reputation: 15
I was under the impression that you had to install Windows XP first or it wouldn't install becuase windows likes to be the only OS on the computer.
 
Old 02-22-2004, 07:26 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
elhuecu
hda1 and hda2 are primary but hda1 is the only data parition. hda2 is your extended which in a nutshell is just the container for the logicals. On your drive the logicals are hda 5 - 9. You can not tell from fdisk what the mount point is for the partition. With linux it doesn't matter which partition is primary.

If you are going to start over then install windows first on a 10GB partition leaving the rest unallocated. The linux installer can autopartition if desired.


MustangCSA
I've installed W2k, NT, 95 and 98 with linux first and never had a problem. The key would be to parititon the windows drives at the same time leaving a primary partition available. I wouldn't think XP would be different.
 
Old 02-22-2004, 08:13 PM   #7
elhuecu
LQ Newbie
 
Registered: Feb 2004
Posts: 9

Original Poster
Rep: Reputation: 0
michaelk,

First, thank you very much for your time and assistance. You are helping me to understandmy system IN ADDITION to helping me set it up the way I want to. I read another post of yours with a link to ntfsresize. On that website it mentions that mandrake 9.2 already has a version of ntfsresize built in. I tried to start over with a 10G partition for XP, but the minimum size I was allowed to allocate (in the mandrake install process) was 18 G! Seems a shame. I tried various "custom" partitioning methods (including resizing with diskdrake) to no avail. In the end I succumbed and now have more windows space than I'd like. Do you suggest downloading ntfsresize from that site (in process) and attempting to resize at this point? Again, many thanks for your helpful responses.
 
Old 02-22-2004, 08:27 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Hmm.. I always use fdisk and have never had a problem creating partitions of any size.

I have no real experience with ntfsresize. I've read several posts where it worked sucessfully.

If installing XP first you should be able to create any size partition. I installed XP Pro about a month ago and created and installed on a 10GB partition with no problems.
 
Old 02-22-2004, 10:10 PM   #9
elhuecu
LQ Newbie
 
Registered: Feb 2004
Posts: 9

Original Poster
Rep: Reputation: 0
When you say you created the xp partition during installation, you mean that you did so with the windows fdisk program? Fdisk only works to create partitions when starting fresh, It cannot be used to resize correct?
 
  


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
GRUB error -- dual booting Linux and WinXP j3nnifers Linux - Software 4 06-27-2006 02:13 PM
Problems booting after trying to dual boot Linux and WinXP Matt Houston Linux - Newbie 10 10-21-2005 06:03 AM
Dual booting Linux and WinXP Pro? OriginalReaper Linux - Newbie 2 01-19-2004 04:22 AM
dual booting winxp/gentoo linux c0nfig Linux - General 2 08-08-2003 04:19 PM
Dual Booting Linux & WinXP (Again, i know) Creep Linux - General 9 12-18-2002 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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