Wiki > Main > IpodConversionToFAT32 (compare)
Difference: IpodConversionToFAT32 (r25 vs. r24)
NOTE: This page is written for Mac OS X users. Linux users might prefer to use IpodManualRestore
The easiest way to convert your iPod to FAT32 is to attach it to a Windows computer which has iTunes installed. When iTunes detects your ipod, it will offer to reformat it for you.
For iTunes 7.0.2 on Windows, the following will occur when you connect a Mac formatted iPod: A popup box stating "iTunes has detected a Macintosh-formatted iPod. You must restore this iPod before you can use it on Windows". Then in the iTunes window you'll have an option to 'Restore' the iPod. Follow the steps (iPod Software Update will be downloaded within iTunes if required). The iPod will be restored, and you'll get a window stating "Your iPod has been restored to factory settings, and is restarting. Please leave the iPod connected, and it will appear in the source list once it completes the restore process.".
You'll see a progress bar move along the iPod's screen. Once done, you'll be prompted within Windows to name the iPod and asked whether you want to automatically sync music (and possibly photos). Untick the automatic sync options and proceed. At this point you'll see your iPod connected in iTunes and the 'Format' will be 'Windows'. You'll then be able to eject the iPod.
You can then return to your Mac and install Rockbox and continue to use your iPod with iTunes on your Mac.
If you have a Mac formatted iPod, and don't have access to a Windows computer, perform these steps to convert your iPod to FAT32:
Before you proceed you must find the device name Mac OS X has assigned to your iPod and unmount the disk. To unmount your disk, open Disk Utility (located in Applications/Utilities). Then select your iPod and click 'Unmount'. Make sure you do not eject it - this will cause the 'dd' command below to fail.
To recreate the partition table of a Windows formatted iPod you need to download the partition table file that exactly matches your iPod model. Save this to a convenient location.
NOTE: If you have the 30GB video iPod, you need to determine your sector size. This can be done with the ipodpatcher command - after identifying your iPod, type "ipodpatcher /dev/diskN" (replacing diskN with the device name assigned to your iPod). This should then display the sector size.
Open a terminal and navigate to the directory where you saved the partition table in step b). Then run the below command to write the partition table to your iPod:
To find out the disk device name for your iPod, mount it in Disk Utility, click on it to select it, and open the Details screen. Alternatively, you can mount the iPod and then on the command line type "mount" to see a list of mounted disks with their device names, including the iPod. For this step you want the disk device name of the whole disk, which should be in the form of "diskN", where N is a simple number. If you see something like "disk1s2", leave off the "s2" part, which specifically identifies the iPod's main data partition. Remember to unmount the iPod again in Disk Utility after you have its disk device name.
CAUTION You must replace "diskN" with the correct name of the disk device assigned to your iPod. Using an incorrect device name in this command may result in the partition table for another hard disk in your system being changed. Which is very bad news.
Writing over the MBR is risky; if it fails, it may cause your iPod to continually attempt reboots, which makes it difficult to access again from your computer. Should this happen, you need to put your iPod into "disk mode", as described here. In summary:
The iPod should then display it is in "disk mode" and ready to mount like an external hard drive.
d) Disconnect and reconnect your ipod to make sure the new MBR is read by the Operating System on your computer
Possibly this step is only required on a Linux box, not a Mac.
Type the following command:
Then physically unplug the ipod, and plug it back in again.
Note - there is a problem with mkfs.vfat on disks over 30GB in size. We recommend mtools format utility instead. See below.
The easiest method is to use 'Disk Utility'. Select the iPod partition disk on the left side, click the Erase tab, select 'MS-DOS File System' and at last click the 'Erase' button.
If you are happy with the Terminal, you can 'newfs_msdos' command:
(where diskN is the correct name of your iPod).
These iPods have their storage exported as 2048-byte sectors. Simply add an argument to the 'newfs_msdos' command:
I've successfully used this method on a CF-modded 5.5G iPod. However, by checking the generated filesystem, I've deduced that this method will also work on unmodded iPods. Additionally, this method is easier and simpler than the older method below. -- WilliamPoetra - 21 Jul 2008
If the method above doesn't work, then use this method.
You will need the mtools package installed, this is available through fink if you have it, or alternatively build mtools yourself from the source: http://mtools.linux.lu/ . As of June 13, 2008, the current version of mtools is 3.9.11.
Edit or create /etc/mtools.conf (or /sw/etc/mtools.conf if installed via fink), adding the following line to identify the iPod's main partition for mtools:
Note that you will need administrative access (or sudo) for this step. Here you do want to include the "s2" to indicate the iPod's data partition, which is what is being reformatted to FAT32.
Now you may issue the command
Some versions of mformat need '-n' instead of '-s', so if you get the error "argssize must be less than 6", try
If you have trouble with the disk being in use, make sure iTunes is not running and the ipod is not mounted.
Once this process finishes running, you can confirm that your iPod is now formatted as FAT32 by mounting it in Disk Utility (if it doesn't remount automatically), clicking it to select it, and looking at the formatting information at the bottom of the Disk Utility window. It should now say FAT32 instead of Macintosh Extended (Journaled).
r27 - 25 Oct 2010 - 09:50:38 - HaydenPearceRevision r25 - 20 Apr 2009 - 08:04 - DaveChapman
Revision r24 - 02 Oct 2008 - 01:59 - MarcGuay
Copyright © by the contributing authors.