LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-23-2004, 01:31 AM   #1
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Rep: Reputation: 15
hard drive formatting difficulties:: RESOLVED


Hey guys,
I'm trying to repartition my harddrive which previously had windows xp on it running on NTFS into fat32, however, when i try and run the windows xp installer it will only give the option to repartition into NTFS. I don't want this since I'm trying to set up a gentoo/winxp dual boot system. Anyone know how to get this to work out? Thanks.

Last edited by gauntalus; 12-23-2004 at 10:29 PM.
 
Old 12-23-2004, 01:42 AM   #2
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Original Poster
Rep: Reputation: 15
well i don't know if this was the best approach to take... but i just found an old win98 cd and threw it in. I deleted the existing partition and i'm currently letting the win98 disk reformat the hdd. ummm... hopefully the gentoo livecd will be able to see the partition table now, if not im gonna be stuck again.. can anyone give me some feedback?
 
Old 12-23-2004, 01:52 AM   #3
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
I've never done dual-booting myself, but are you not supposed to create two separate partitions when you dual-boot Linux and Windows? I would certainly do that and leave the Linux partition unformatted.
 
Old 12-23-2004, 01:57 AM   #4
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Original Poster
Rep: Reputation: 15
yeah that's what i'd do ideally, but the win98 cd didn't give me an option... it just formatted the whole thing
assuming fdisk can see the partition table when i'm done i'll do everything all over again with that... then I can set up my sizes and such.
 
Old 12-23-2004, 02:06 AM   #5
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Quote:
Originally posted by gauntalus
yeah that's what i'd do ideally, but the win98 cd didn't give me an option... it just formatted the whole thing
assuming fdisk can see the partition table when i'm done i'll do everything all over again with that... then I can set up my sizes and such.
If you have any bootable Linux CD, you should be able to use the "fdisk" tool that comes with Linux to manage partitions the way you like it.

Alternatively you can create a Win98 boot floppy and run its version of fdisk to do the same thing.
 
Old 12-23-2004, 02:24 AM   #6
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Original Poster
Rep: Reputation: 15
i've got the gentoo linux bootable cd that i keep getting into but when i run fdisk it only seems to see what i think is the CD drive.... it always sees one partition with 658.03 mb that is write protected... sounds about right
do i have to mount the hd or something so i can repartition it?

my partition table currently looks like this, after booting to the gentoo 2004.3 livecd, i get a prompt and type

fdisk /dev/hda

I get this back when i print the partition table

Code:
Disk /dev/hda: 663 MB, 663459840 bytes
255 heads, 63 sectors/track, 20 cylinders
Units = cylinders of 16065 * 2048 = 32901120 bytes

    Device Boot        Start        End       Blocks        Id        System

Command (m for help):
wtf is going on....?

Last edited by gauntalus; 12-23-2004 at 02:33 AM.
 
Old 12-23-2004, 03:09 AM   #7
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Original Poster
Rep: Reputation: 15
omg so i figured out a little bit more of the puzzle....

I need to type:

fdisk /dev/hdc

and not hda

But now I've deleted the old ntfs partition, and looking at fdisk, I'm not sure which fat32 partition type to use. I see one that says W95 FAT32, but I'm installing Windows XP on the fat32 partition, is this going to be a problem? hlp
 
Old 12-23-2004, 03:15 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Nope, that should be fine.

Alternatively:
Using linux fdisk create your linux partitions. Leave the XP partition types blank, or give them any type of Fat partition type, once in the XP installer, you'll be creating a new partition on that space anyway (being careful not to choose the wrong partition with the Linux filesystem, but using the fat type should aleviate this) and format it.

Cool
 
Old 12-23-2004, 03:15 AM   #9
mijenks
Member
 
Registered: Mar 2004
Location: NY
Distribution: Gentoo
Posts: 112

Rep: Reputation: 15
i don't remember if winxp can run on a fat32 partition, but what you can do (assuming you want fat for ability to transfer files b/t systems) is install winxp with ntfs, you CAN partition only a portion of the hard drive with the xp install. then, with gentoo livecd, make a fat partition and a ext2/3/reiserfs partition (plus swap, of course) and instlal gentoo. then you can share files between systems with the fat partition.

**edit**

masterC, xp does not play nice with preformatted, non-ntfs partitions, and especially is not nice with respect to the mbr.

Last edited by mijenks; 12-23-2004 at 03:17 AM.
 
Old 12-23-2004, 03:22 AM   #10
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Original Poster
Rep: Reputation: 15
Okay, well I've partitioned the first 30gigs into one of those W95 FAT32 paritions, I'll be installing winXP onto that. Now I've created a 32MB partition that I'll be using for linux boot, but not that the partitions been created and I'm trying to change its system Id to ext2, looking at the hex reference menu I don't even see ext2 on there... I do see linux, and linux extended and linux swap.... what should I do?

**edit**

Wait, so windows XP won't run on fat32? People on other forums have been telling me that this is totally the way to go... Help :-/

Last edited by gauntalus; 12-23-2004 at 03:26 AM.
 
Old 12-23-2004, 03:24 AM   #11
mijenks
Member
 
Registered: Mar 2004
Location: NY
Distribution: Gentoo
Posts: 112

Rep: Reputation: 15
it is probably choice 82 or 83. and you would be looking for linux. during the install process (after you partition) you will probably do a lower level format of that partition anyhow. so you could partition as linux (i think that ends up ext2) but then do a format to reiser (mkreiserfs)
 
Old 12-23-2004, 03:25 AM   #12
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Quote:
Originally posted by gauntalus
omg so i figured out a little bit more of the puzzle....

I need to type:

fdisk /dev/hdc

and not hda
Since MasterC already answered your main question, I'll just touch this part. You must have connected your CD/DVD drive on the master of the primary IDE controller. If I remember correctly, the IDE device names (hda to hdd) are used this way:

hda - primary IDE connection; master
hdb - primary IDE connection; slave
hdc - secondary IDE connection; master
hdd - secondary IDE connection; slave
 
Old 12-23-2004, 03:26 AM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Quote:
Originally posted by mijenks
masterC, xp does not play nice with preformatted, non-ntfs partitions, and especially is not nice with respect to the mbr.
Certainly, during the XP install he will choose the partition that has type fat32 (which XP will at least be able to see as a seperate windows partition). But XP does absolutely install on and work with fat32 partitions.

Cool
 
Old 12-23-2004, 03:39 AM   #14
gauntalus
Member
 
Registered: May 2004
Location: Hillsdale, MI
Distribution: gentoo 2004.3
Posts: 135

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC
Certainly, during the XP install he will choose the partition that has type fat32 (which XP will at least be able to see as a seperate windows partition). But XP does absolutely install on and work with fat32 partitions.

Cool
Okay, now this is definately the path that I'm trying to go down, but windows XP isn't recognizing the W95 FAT32 partition as a FAT32 partition... It's still trying to partition this into ntfs...
 
Old 12-23-2004, 03:54 AM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Is there not a choice to format as fat32 at that point? With all my (re)installs of XP, when I get to the formatting part, the partitions I've setup in Linux as Fat32 aren't recognized other than as "other windows partition" or something similar. I then choose to format them, but choose the fat32 option over NTFS (the first 2 options are NTFS Quick and NTFS, then the Fat32 Options). If you aren't getting a fat32 option, sounds like maybe it's a Home vs Pro option, or the install Disc I use is 'special' in some other way.

Cool
 
  


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
Formatting a Hard Drive dudeman41465 Linux - Software 3 10-13-2005 04:09 PM
Hard-drive formatting kc0bus Linux - Newbie 5 07-02-2005 12:14 PM
Formatting Hard Drive baber_abbasi Linux - Software 2 01-04-2005 08:41 AM
Formatting hard drive... Linux~Powered Linux - Hardware 1 02-09-2004 04:13 PM
formatting an external hard drive pobfosheezy Linux - Laptop and Netbook 1 09-18-2003 11:12 AM

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

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