<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Formatting usb pen in Linux</title> <atom:link href="http://www.cyberciti.biz/faq/formatting-usb-pen-in-linux/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/formatting-usb-pen-in-linux/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Anonymous J Coward</title><link>http://www.cyberciti.biz/faq/formatting-usb-pen-in-linux/#comment-56408</link> <dc:creator>Anonymous J Coward</dc:creator> <pubDate>Mon, 21 Mar 2011 09:08:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/formatting-usb-pen-in-linux.php#comment-56408</guid> <description>This seems to have a high ranking on Google search, so let&#039;s answer Jitu&#039;s question.
The error means that the USB disk is mounted. When mounted, it cannot be formatted. To format it, first un-mount it. E.g.
#umount /dev/sda1
(oh, and do double check sda is your USB drive - not your internal hard drive before formatting :), e.g. by running &#039;df&#039; )</description> <content:encoded><![CDATA[<p>This seems to have a high ranking on Google search, so let&#8217;s answer Jitu&#8217;s question.</p><p>The error means that the USB disk is mounted. When mounted, it cannot be formatted. To format it, first un-mount it. E.g.</p><p>#umount /dev/sda1</p><p>(oh, and do double check sda is your USB drive &#8211; not your internal hard drive before formatting :), e.g. by running &#8216;df&#8217; )</p> ]]></content:encoded> </item> <item><title>By: Mark</title><link>http://www.cyberciti.biz/faq/formatting-usb-pen-in-linux/#comment-47748</link> <dc:creator>Mark</dc:creator> <pubDate>Fri, 11 Jun 2010 11:48:07 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/formatting-usb-pen-in-linux.php#comment-47748</guid> <description>Jitu. You did not say what GNU/Linux you are using, but I will tell you exactly what I do to format MY USB pens.
I have two hard drives and a DVD burner. Hard drive 1 is sda. Hard drive 2 is sdb.
Gparted does not show me the DVD burner since it can not format it. With my USB pen plugged in, Gparted lists it as sdc or sdc1(First and only partition).
I use these instructions for Ubuntu 8.04 and 10.04.
1/ Be connected to the internet.
2/ From a command line terminal do: sudo apt-get install gparted
Give root password.
3/ Plug in your USB pen.
4/ Run Gparted, giving your root password when asked.
5/ Click the drop down box in the upper right hand corner of Gparted&#039;s window. Identify which &quot;drive&quot; is your USB pen. Mine is hdc1.
6/ From command line terminal or console window do : sudo umount /dev/sdc1
7/ You may have noticed a set of keys symbol after /dev/sdc1, in the line describing your USB pen in Gparted, which means it was mounted.
8/ In Gparted&#039;s menu click Refresh Devices. The keys symbol is now gone.
9/ Click on the line describing your USB pen, in Gparted, to highlight it.
10/ Right click on the line, choose &quot;Format to&quot; and &quot;fat32&quot;.
11/ Click the green arrow to apply your choices.
12/ Close Gparted.
13/ Unplug your USB pen. Plug it back in. It should be mounted automatically and be ready to use.
14/ Remember to empty the &quot;Trash&quot; now and then after deleting lots of files from the USB pen so as to actually free up the space.
Works for me!</description> <content:encoded><![CDATA[<p>Jitu. You did not say what GNU/Linux you are using, but I will tell you exactly what I do to format MY USB pens.<br
/> I have two hard drives and a DVD burner. Hard drive 1 is sda. Hard drive 2 is sdb.<br
/> Gparted does not show me the DVD burner since it can not format it. With my USB pen plugged in, Gparted lists it as sdc or sdc1(First and only partition).<br
/> I use these instructions for Ubuntu 8.04 and 10.04.</p><p>1/ Be connected to the internet.<br
/> 2/ From a command line terminal do: sudo apt-get install gparted<br
/> Give root password.<br
/> 3/ Plug in your USB pen.<br
/> 4/ Run Gparted, giving your root password when asked.<br
/> 5/ Click the drop down box in the upper right hand corner of Gparted&#8217;s window. Identify which &#8220;drive&#8221; is your USB pen. Mine is hdc1.<br
/> 6/ From command line terminal or console window do : sudo umount /dev/sdc1<br
/> 7/ You may have noticed a set of keys symbol after /dev/sdc1, in the line describing your USB pen in Gparted, which means it was mounted.<br
/> 8/ In Gparted&#8217;s menu click Refresh Devices. The keys symbol is now gone.<br
/> 9/ Click on the line describing your USB pen, in Gparted, to highlight it.<br
/> 10/ Right click on the line, choose &#8220;Format to&#8221; and &#8220;fat32&#8243;.<br
/> 11/ Click the green arrow to apply your choices.<br
/> 12/ Close Gparted.<br
/> 13/ Unplug your USB pen. Plug it back in. It should be mounted automatically and be ready to use.<br
/> 14/ Remember to empty the &#8220;Trash&#8221; now and then after deleting lots of files from the USB pen so as to actually free up the space.<br
/> Works for me!</p> ]]></content:encoded> </item> <item><title>By: Mark Luxton</title><link>http://www.cyberciti.biz/faq/formatting-usb-pen-in-linux/#comment-47738</link> <dc:creator>Mark Luxton</dc:creator> <pubDate>Fri, 11 Jun 2010 01:22:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/formatting-usb-pen-in-linux.php#comment-47738</guid> <description>I had forgotten about the post I made here till just now getting an email from the last poster. The original &quot;problem&quot; I was having was that I needed to empty the trash. Then I had the actual space to copy my files. I had deleted several GB&#039;s of data from my 8GB USB pen, then I tried to copy several  more GB&#039;s to the pen. Although it seemed that I had the space, it wasn&#039;t actually free till emptying the trash.
FAT 32 seems to work best all around.
Using Gparted to do the formatting is easy.
Jitu. Perhaps you need to unmount /dev/sda1 before formatting from the command line? Also you may need to do this with root access. Mounted means that the drive is currently part of the Linux file system/operating system, and is &quot;in use&quot;.
Make sure you have selected the correct drive. /dev/sda1 is most likely your hard drives first partition, which you can not format while you are running your operating system from it. That is a good thing!</description> <content:encoded><![CDATA[<p>I had forgotten about the post I made here till just now getting an email from the last poster. The original &#8220;problem&#8221; I was having was that I needed to empty the trash. Then I had the actual space to copy my files. I had deleted several GB&#8217;s of data from my 8GB USB pen, then I tried to copy several  more GB&#8217;s to the pen. Although it seemed that I had the space, it wasn&#8217;t actually free till emptying the trash.<br
/> FAT 32 seems to work best all around.<br
/> Using Gparted to do the formatting is easy.</p><p>Jitu. Perhaps you need to unmount /dev/sda1 before formatting from the command line? Also you may need to do this with root access. Mounted means that the drive is currently part of the Linux file system/operating system, and is &#8220;in use&#8221;.</p><p>Make sure you have selected the correct drive. /dev/sda1 is most likely your hard drives first partition, which you can not format while you are running your operating system from it. That is a good thing!</p> ]]></content:encoded> </item> <item><title>By: Jitu</title><link>http://www.cyberciti.biz/faq/formatting-usb-pen-in-linux/#comment-47733</link> <dc:creator>Jitu</dc:creator> <pubDate>Thu, 10 Jun 2010 17:34:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/formatting-usb-pen-in-linux.php#comment-47733</guid> <description>Hi, ALL
Can anybody help in Linux, I want to my usb format when I went through this command #mkfs.vfat /dev/sda1 . This is not working and I got error like.mkfs.vfat: /dev/sda1 contains a mounted file system. what is this mean?
Thanks</description> <content:encoded><![CDATA[<p>Hi, ALL</p><p>Can anybody help in Linux, I want to my usb format when I went through this command #mkfs.vfat /dev/sda1 . This is not working and I got error like.mkfs.vfat: /dev/sda1 contains a mounted file system. what is this mean?</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: Frank</title><link>http://www.cyberciti.biz/faq/formatting-usb-pen-in-linux/#comment-40185</link> <dc:creator>Frank</dc:creator> <pubDate>Sun, 08 Feb 2009 23:35:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/formatting-usb-pen-in-linux.php#comment-40185</guid> <description>Hi guys,
I have been pondering similar thoughts. It is my understanding that FAT16 in LBA mode is limited to a partition size of 2GB. Although, it has been reported that up to a 4GB partition is supported but is known to cause issues.
Can anyone shine further light on the limitations of a FAT16 partition?
References:
&lt;a href=&quot;http://74.125.77.132/search?q=cache:x1DeKhOcDSQJ:www.msfn.org/board/lofiversion/index.php/t110779.html+FormatEx+Error%5B11%5D&amp;hl=en&amp;ct=clnk&amp;cd=1&amp;gl=uk&quot; rel=&quot;nofollow&quot;&gt;Link #1&lt;/a&gt; and &lt;a href=&quot;http://www.sentire.co.uk/software/software-tutorials/microsoft/windows-xp/installing-windows-xp-from-a-usb-pen.html&quot; rel=&quot;nofollow&quot;&gt;Link 2&lt;/a&gt;</description> <content:encoded><![CDATA[<p>Hi guys,</p><p>I have been pondering similar thoughts. It is my understanding that FAT16 in LBA mode is limited to a partition size of 2GB. Although, it has been reported that up to a 4GB partition is supported but is known to cause issues.</p><p>Can anyone shine further light on the limitations of a FAT16 partition?</p><p>References:</p><p><a
href="http://74.125.77.132/search?q=cache:x1DeKhOcDSQJ:www.msfn.org/board/lofiversion/index.php/t110779.html+FormatEx+Error%5B11%5D&amp;hl=en&amp;ct=clnk&amp;cd=1&amp;gl=uk" rel="nofollow">Link #1</a> and <a
href="http://www.sentire.co.uk/software/software-tutorials/microsoft/windows-xp/installing-windows-xp-from-a-usb-pen.html" rel="nofollow">Link 2</a></p> ]]></content:encoded> </item> <item><title>By: Richard Steven Hack</title><link>http://www.cyberciti.biz/faq/formatting-usb-pen-in-linux/#comment-38980</link> <dc:creator>Richard Steven Hack</dc:creator> <pubDate>Mon, 13 Oct 2008 21:48:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/formatting-usb-pen-in-linux.php#comment-38980</guid> <description>As for not being able to copy large number of files to a FAT16 root directy, I vaguely recall there is a limit to the number of files FAT16 supports in a root level directory. I think you can only a maximum of 512 files in a root directory because under the FAT16 system the root directory has a fixed size whereas subfolders do not.</description> <content:encoded><![CDATA[<p>As for not being able to copy large number of files to a FAT16 root directy, I vaguely recall there is a limit to the number of files FAT16 supports in a root level directory. I think you can only a maximum of 512 files in a root directory because under the FAT16 system the root directory has a fixed size whereas subfolders do not.</p> ]]></content:encoded> </item> <item><title>By: Mark Luxton</title><link>http://www.cyberciti.biz/faq/formatting-usb-pen-in-linux/#comment-38577</link> <dc:creator>Mark Luxton</dc:creator> <pubDate>Fri, 15 Aug 2008 15:58:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/formatting-usb-pen-in-linux.php#comment-38577</guid> <description>I have been using Gparted to set up my USB pen.
I find it near impossible to make mistakes this way.
I had formatted it as FAT16 and it works going from Linux box to windows box and back. Eventually the pen would not allow me to add files even though there was over 3GB available. Could this be due to the deletion of files only removing the TOC and not the actual data?
I just reformatted as FAT32 to see if that works better. Files are copying now. Is there a preferred format? FAT 16 or 32 or Linux Ext2 or 3. I realize it must be FAT to go to a Windoze box(or NTFS if all you got is Windoze).
Note: At one point I could not get a large group of files to copy to the root of the pen drive but was able to do so into a folder on the drive???</description> <content:encoded><![CDATA[<p>I have been using Gparted to set up my USB pen.<br
/> I find it near impossible to make mistakes this way.<br
/> I had formatted it as FAT16 and it works going from Linux box to windows box and back. Eventually the pen would not allow me to add files even though there was over 3GB available. Could this be due to the deletion of files only removing the TOC and not the actual data?<br
/> I just reformatted as FAT32 to see if that works better. Files are copying now. Is there a preferred format? FAT 16 or 32 or Linux Ext2 or 3. I realize it must be FAT to go to a Windoze box(or NTFS if all you got is Windoze).<br
/> Note: At one point I could not get a large group of files to copy to the root of the pen drive but was able to do so into a folder on the drive???</p> ]]></content:encoded> </item> </channel> </rss>
