Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


BevanChu

46 posts

Geek


#80847 5-Apr-2011 08:21
Send private message

Hi guys,

I recently bought a 64GB USB flash drive which came in a exFAT format.  Since everything I have is formatted in NTFS and tried converting it.  No luck.  I've tried the old command prompt trick and just form My Computer.  I've looked on forums online but nothing.  Is there anyway that you can help?

Create new topic
mattRSK
822 posts

Ultimate Geek

Trusted

  #455391 5-Apr-2011 08:27
Send private message

Hi, you may not have support for the exFAT file system. If you add support you may then be able to format the drive. Here is the link for XP http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1cbe3906-ddd1-4ca2-b727-c2dff5e30f61&dis...



alexx
867 posts

Ultimate Geek


  #455416 5-Apr-2011 09:31
Send private message

One option if you have access to linux you can wipe the first few sectors of the USB drive.

# dd if=/dev/zero of=/dev/sdz count=1000

This will zero out the first few sectors of your USB drive, which is where the partition/file system information is held, then put the flash drive back in windows and you should be able to format it.

Or if that isn't enough...

# dd if=/dev/zero of=/dev/sdz bs=1k count=16k

More info here: http://www.knoppix.net/wiki/Bootable_USB_Key

Note: replace /dev/sdz with the linux device that represents your USB drive.
Extra Note: if you get that step wrong and use the wrong device you will end up wiping your hard drive. Surprised




#include <standard.disclaimer>


gzt

gzt
17157 posts

Uber Geek

Lifetime subscriber

  #455718 5-Apr-2011 23:09
Send private message

Do you want to convert the filesystem and retain the data, or do you just want to wipe it out in favour of NTFS?  



BevanChu

46 posts

Geek


  #455766 6-Apr-2011 07:27
Send private message

alexx: One option if you have access to linux you can wipe the first few sectors of the USB drive.

# dd if=/dev/zero of=/dev/sdz count=1000

This will zero out the first few sectors of your USB drive, which is where the partition/file system information is held, then put the flash drive back in windows and you should be able to format it.

Or if that isn't enough...

# dd if=/dev/zero of=/dev/sdz bs=1k count=16k

More info here: http://www.knoppix.net/wiki/Bootable_USB_Key

Note: replace /dev/sdz with the linux device that represents your USB drive.
Extra Note: if you get that step wrong and use the wrong device you will end up wiping your hard drive. Surprised


I'm relatively new to linux and only have it on a disk but what do you type in for the device directory?

BevanChu

46 posts

Geek


  #455767 6-Apr-2011 07:28
Send private message

gzt: Do you want to convert the filesystem and retain the data, or do you just want to wipe it out in favour of NTFS?  


I just got the thing so really it doesn't matter

alexx
867 posts

Ultimate Geek


  #456063 6-Apr-2011 18:59
Send private message

BevanChu:
alexx: One option if you have access to linux you can wipe the first few sectors of the USB drive.

# dd if=/dev/zero of=/dev/sdz count=1000

This will zero out the first few sectors of your USB drive, which is where the partition/file system information is held, then put the flash drive back in windows and you should be able to format it.

Or if that isn't enough...

# dd if=/dev/zero of=/dev/sdz bs=1k count=16k

More info here: http://www.knoppix.net/wiki/Bootable_USB_Key

Note: replace /dev/sdz with the linux device that represents your USB drive.
Extra Note: if you get that step wrong and use the wrong device you will end up wiping your hard drive.


I'm relatively new to linux and only have it on a disk but what do you type in for the device directory?


Getting somewhat offtopic for a windows question... depends what you mean by "have it on a disk"... if you have root access in linux then the 'fdisk' or 'cfdisk' commands should show the existing devices. For example, fdisk might show the first hard drive as:

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
....
....

It might also show /dev/sda1 and /dev/sda2 - these are filesystems on that drive.

To determine the USB drive on Linux, start with the USB drive unpluged, then monitor the kernel messages.

# tail -f /var/log/messages

The following is for a 500 MB USB drive that I'm using to test with. Plug in your USB drive and might see some messages like this:

kernel: usb 1-2: new high speed USB device using ehci_hcd and address 12
kernel: usb 1-2: New USB device found, idVendor=13fe, idProduct=1a00
....
....
kernel: scsi10 : usb-storage 1-2:1.0
kernel: scsi 10:0:0:0: Direct-Access     Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 0 CCS
....
kernel: sd 10:0:0:0: [sdb] 977664 512-byte logical blocks: (500 MB/477 MiB)
kernel: sd 10:0:0:0: [sdb] Write Protect is off
kernel: sd 10:0:0:0: [sdb] Assuming drive cache: write through
....
kernel: sdb: sdb1
....

So it finds the new device /dev/sdb which has a single filesystem /dev/sdb1 and we can now confirm this using the fdisk command as before:

# fdisk -l /dev/sdb

Disk /dev/sdb: 500 MB, 500563968 bytes
16 heads, 60 sectors/track, 1018 cylinders
....
....

So to get back to your question, in this case I'd use device /dev/sdb
But be careful - in your case /dev/sdb might be a second disk drive or some other device that you don't want to wipe.


alexx
867 posts

Ultimate Geek


  #456068 6-Apr-2011 19:19
Send private message

Perhaps a simpler method if you haven't already tried:
http://www.ntfs.com/quest22.htm

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.