Results 1 to 5 of 5

Thread: Reformatting NTFS -> FAT32

  1. #1
    Junior Member
    Join Date
    Dec 2005
    Posts
    6

    Reformatting NTFS -> FAT32

    Hi

    I tring to automate a system recovery script but I am having problems formatting a partition.

    I have a NTFS partition and using the command mkdosfs -F 32 /dev/hda1 I have formatted it as FAT32 and copied some new files to it (namely i386 from XP CD)

    BUT, when I restart the PC using a Win98 boot disk it cannot see the partition. FDisk (DOS version) sees the partion as NTFS.

    In knoppix, QTPARTED sees the partition as FAT32 BUT sfdisk -l shows the following info:-
    boot start end cyls block Id system
    /dev/hda1 * 0+ 1025- 1026 8241313+ 7 HPFS/NTFS

    What have I done wrong? I was hoping not to have to delete the partition, just reformat it, but maybe I can't?

    Many thanks
    AlanC

  2. #2
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441

    Re: Reformatting NTFS -> FAT32

    Quote Originally Posted by dataco
    I was hoping not to have to delete the partition, just reformat it, but maybe I can't?
    What does this even mean? You can't convert a NTFS partition to FAT and keep the files that are on it, so in what way do you think it is better to try to not just delete the NTFS partition and make a FAT partition in the same space?

  3. #3
    Junior Member
    Join Date
    Dec 2005
    Posts
    6
    Hi Harry,

    Sorry, what I typed wasn't very clear.

    This is the scenario. Existing NTFS partition with data that I don't care for. I am tring to format it as FAT32 so that I can copy an unattended install of XP from the network and then boot from a floppy/CD and run setup.

    I am trying to scripts this. There may be other partitions on the drive that I want to leave, thats why I don't really want to mess with partitions on the drive. IE, just scrap the existing XP install ready for a reinstall.

    I can format the NTFS partition as FAT32 and copy files to it, but when I boot from a DOS floppy/cd that supports FAT32 it cannot see the drive. DOS Fdisk still sees it as NTFS which is why I guess it doesnt give me drive C.

    Thanks
    AlanC

  4. #4
    Member registered user
    Join Date
    Jun 2005
    Location
    etherworld
    Posts
    92
    Quote Originally Posted by dataco
    ...
    [...]
    but when I boot from a DOS floppy/cd that supports FAT32 it cannot see the drive. DOS Fdisk still sees it as NTFS which is why I guess it doesnt give me drive C.

    Thanks
    AlanC
    fdisk /mbr from boot floppy
    then SYS C:

  5. #5
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    Sydney/Australia
    Posts
    311
    Howdy all,

    >>
    fdisk /mbr from boot floppy
    then SYS C:
    >>

    (lol, please please stop, grin)



    >>
    when I boot from a DOS floppy/cd that supports FAT32 it cannot see the drive. DOS Fdisk still sees it as NTFS which is why I guess it doesnt give me drive C.
    >>

    hmmmm,


    >>
    In knoppix, QTPARTED sees the partition as FAT32 BUT sfdisk -l shows the following info:-
    boot start end cyls block Id system
    /dev/hda1 * 0+ 1025- 1026 8241313+ 7 HPFS/NTFS
    >>


    Well, qtparted is reading enough info from the partition itself to establish the filesystem it contains, and very good too qtparted. while the other programs are reading the partition table.

    Each table record has a "type" field, a single byte (the 5th) which is set to a two character hex value.

    Dosen't do much really, but programs can use it to find out what the partition is likely being used for. Which is what the, somewhat amusing, confusion is here.

    Invoke "cfdisk" and at the bottom you will find a menu option called "[type]". Key that and you will get a list of various type fields.

    HPFS/NTFS --- 0x07
    W95 FAT32 --- 0x0B
    linux ----------- 0x83
    linux swap ---- 0x82

    There will also be a message "continue ..."

    Key enter and enter the two chars (alph/num, or num/num) to change that type to the correct type.

    Changing that field wont change the actual fs on a partition, of course.

    And reformatting a partition wont change the type field in the table either.

    It just prevents shananigans like this from occuring

    I would think that XP will try to reformat anyway, during the reinstall. So you may have to debate the issue there as well.

    Windows does tend to like to be boss at times, as it will.


    jm

Similar Threads

  1. copying from ntfs to ext hdd fat32 - stalled
    By dav2900 in forum General Support
    Replies: 11
    Last Post: 06-01-2006, 03:29 AM
  2. NTFS is seen as FAT32-cant access data
    By mobilesoul in forum MS Windows & New to Linux
    Replies: 13
    Last Post: 10-16-2005, 04:58 PM
  3. should i use fat32 for win partitions instead of ntfs?
    By Josh83 in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 04-03-2005, 05:50 AM
  4. Converting a FAT32 partition to NTFS in Knoppix...how?
    By Spirit Of Atlantis in forum General Support
    Replies: 5
    Last Post: 07-22-2004, 04:03 AM
  5. NTFS vs. FAT32
    By A. Jorge Garcia in forum Hdd Install / Debian / Apt
    Replies: 9
    Last Post: 03-17-2003, 09:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 - 4X S25G NICs picture

NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 - 4X S25G NICs

$1999.97



Lot of 3 Dell PowerEdge Blade Server HHB005 x2 HHB006 x1 picture

Lot of 3 Dell PowerEdge Blade Server HHB005 x2 HHB006 x1

$256.49



Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD picture

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD

$119.99



LOT (8) Cisco UCS UCSB-B200-M5  2x6248R  24 core 3.0G   24x64g DDR4-2933 ram picture

LOT (8) Cisco UCS UCSB-B200-M5 2x6248R 24 core 3.0G 24x64g DDR4-2933 ram

$112000.00



Dell PowerEdge VRTX Rackmount Chassis w/4x PSUs 2x CMC Modules picture

Dell PowerEdge VRTX Rackmount Chassis w/4x PSUs 2x CMC Modules

$399.98



Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB picture

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB

$149.99



Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Enclosure Chassis picture

Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Enclosure Chassis

$274.99



Dell Poweredge VRTX 25Bay 2.5

Dell Poweredge VRTX 25Bay 2.5" 2x PERC 8, 2xCMC, I/O 1GB Pass Through, 4x PS

$578.08



Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR picture

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR

$96.60