<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; partitions</title> <atom:link href="http://www.ghacks.net/tag/partitions/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 17:32:23 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Convert ext2/3 to ext4</title><link>http://www.ghacks.net/2010/08/11/convert-ext23-to-ext4/</link> <comments>http://www.ghacks.net/2010/08/11/convert-ext23-to-ext4/#comments</comments> <pubDate>Wed, 11 Aug 2010 11:12:30 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[ext2]]></category> <category><![CDATA[ext3]]></category> <category><![CDATA[ext4]]></category> <category><![CDATA[hard-drive]]></category> <category><![CDATA[linux filesystem]]></category> <category><![CDATA[partitions]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=32828</guid> <description><![CDATA[Let&#8217;s say you&#8217;re a little bit behind the times. You&#8217;ve wanted to do some upgrading of your Linux machines but you&#8217;ve just not really had the time. Or let&#8217;s say you did do some upgrading of your Linux system but you didn&#8217;t make any changes to your file system and you&#8217;re still running a machine [...]]]></description> <content:encoded><![CDATA[<p>Let&#8217;s say you&#8217;re a little bit behind the times. You&#8217;ve wanted to do some upgrading of your Linux machines but you&#8217;ve just not really had the time. Or let&#8217;s say you did do some upgrading of your Linux system but you didn&#8217;t make any changes to your file system and you&#8217;re still running a machine with either ext2 or ext3. Now that&#8217;s not necessarily a bad thing as both file systems work and work well. But let&#8217;s say you do want to take advantage of some of the features of ext4.</p><p>In this article I am going to show you how to migrate your ext2 or ext3 partition to ext4. I will use a Ubuntu machine as an example. I want to warn you that you could lose data by doing this so, following good administrative practices, back up your data! Once you are certain you have that backup of your data, it&#8217;s time to begin.</p><p><span
id="more-32828"></span><strong>Kernel pre-requisite</strong></p><p>You must be certain you have a kernel that is at least 2.6.28-11-generic or higher. If not, do NOT continue on with this. To find out what kernel you are running issue the command <code>uname -r.</code> If your kernel is lower thatn 2.6.28-11 stop where you are and close your browser.</p><p><strong>Step 1</strong></p><p>The first step is to boot from a Ubuntu Live CD. You do this because you can&#8217;t convert a file system that has been mounted. If you are converting a second drive on your machine (one that doesn&#8217;t contain your OS or your <strong>~/ </strong>(home) directory, you can always just unmount that drive and do this without booting the Live CD.</p><p><strong>Step 2:</strong></p><p>Now it&#8217;s time to convert. We&#8217;re going to use <strong>/dev/sda1 </strong>as an example for converting. You will want to know the exact name of the drive and/or partition you are wanting to covert. If you are converting from ext2 to ext4 issue the following commands:</p><p>﻿<code>sudo bash<br
/> tune2fs -O extents,uninit_bg,dir_index,has_journal /dev/sda1</code></p><p>If you are wanting to convert ext3 to ext4 issue the following commands:<br
/> <code>sudo bash<br
/> tune2fs -O extents,uninit_bg,dir_index /dev/sda1</code></p><p>NOTE: After you enter either of the <em>sudo bash</em> commands you will have to enter your sudo password.</p><p><strong>Step 3:</strong></p><p>Regardless of which conversion you are doing you will want to check the drive (or partition) after the conversion and repair any issues. Do this with the command:</p><p><code>e2fsck -pf /dev/sda1</code></p><p><strong>Step 4:</strong></p><p>Now you need to make sure the partition will mount. Do this with the command:</p><p><code>sudo mount -t ext4 /dev/sda1 /mnt</code></p><p>Hopefully you won&#8217;t see any errors. You should now see the contents of that drive listed in the <strong>/mnt</strong> directory.</p><p><strong>Step 5:</strong></p><p>It&#8217;s time to edit your <strong>/etc/fstab</strong> file to reflect the change. Open this file up with your favorite text editor and look for the line that corresponds to the drive/partition you just changed. In that line you will reference to either ext2 or ext3. Change that reference to ext4. Save and close that file.</p><p><strong>Step 6:</strong></p><p>Now you need to refresh grub. Depending upon how your boot partition is will determine how you do this. If your boot partition is SEPARATE, do the following:</p><p><code>sudo bash<br
/> mkdir /mnt/boot<br
/> mount /dev/sda1 /mnt/boot<br
/> grub-install /dev/sda --root-directory=/mnt --recheck</code></p><p>If your boot partition is NOT separate, do the following:</p><p><code>sudo bash<br
/> mount /dev/sda1 /mnt<br
/> grub-install /dev/sda --root-directory=/mnt --recheck</code></p><p><strong>Step 7:</strong></p><p>Reboot. Once up and running you will now be using the ext4 file system!</p><p><strong>Final thoughts</strong></p><p>If you are leery of any of the above, don&#8217;t worry&#8230;you don&#8217;t HAVE to do this. Your system will run fine with ext2 or ex3. But if you love to get your hands dirty with your machines&#8230;then you will enjoy converting a working file system from one type to another. Just remember BACK UP YOUR DATA!</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/08/11/convert-ext23-to-ext4/feed/</wfw:commentRss> <slash:comments>13</slash:comments> </item> <item><title>How To Create Multiple USB Stick Partitions</title><link>http://www.ghacks.net/2008/10/16/how-to-create-multiple-usb-stick-partitions/</link> <comments>http://www.ghacks.net/2008/10/16/how-to-create-multiple-usb-stick-partitions/#comments</comments> <pubDate>Thu, 16 Oct 2008 12:47:08 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Hardware]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[format]]></category> <category><![CDATA[format usb]]></category> <category><![CDATA[hitachi microdrive]]></category> <category><![CDATA[partitions]]></category> <category><![CDATA[ubs tips]]></category> <category><![CDATA[usb drive]]></category> <category><![CDATA[usb multiple partitions]]></category> <category><![CDATA[usb stick]]></category> <category><![CDATA[windows tips]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=7666</guid> <description><![CDATA[USB Sticks cannot contain multiple partitions by default. It is however possible to create multiple partitions on an USB stick by modifying and installing a new driver which disguises the USB stick as a USB hard drive. It is highly recommended to backup all data on the USB stick before continuing. Users who want to [...]]]></description> <content:encoded><![CDATA[<p>USB Sticks cannot contain multiple partitions by default. It is however possible to create multiple partitions on an USB stick by modifying and installing a new driver which disguises the USB stick as a USB hard drive. It is highly recommended to backup all data on the USB stick before continuing.</p><p>Users who want to create multiple partitions need a file called Hitachi Microdrive which contains the new driver that we are going to modify first and install afterwards. Unpack the package to a new directory on the hard drive. The first step is to find out the exact name of the USB stick that we want to use that way. The information can be found in the Windows Registry. Pressing [Windows R], typing [regedit] and hitting [Enter] will load the Registry editor.</p><p>The information are located in subkeys of the Registry key HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR. The name of the USB stick can be found by clicking on the [+] sign in front of the key. All USB devices should be listed there. The name of the USB stick can be copied by left-clicking the subkey, right-clicking afterwards and selecting Copy Key Name from the context menu.</p><p><span
id="more-7666"></span><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/copy_usb_name.jpg" alt="copy usb name" title="copy usb name" width="421" height="246" class="alignnone size-medium wp-image-7667" /></p><p>The key needs to be modified because it contains the full path. The best way to do that is to paste the contents into a text editor and remove all chars before Disk&#038;Ven.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/usb_stick-500x75.jpg" alt="usb stick" title="usb stick" width="500" height="75" class="alignnone size-medium wp-image-7668" /></p><p>Now that this is done we need to copy the part that is left into the Windows Clipboard again by selecting the text and pressing [CTRL C]</p><p>The driver information needs to be edited in the next step before the new drivers for the USB stick are installed. Load the file cfadisk.inf in an text editor and locate the [cfadisk_device] section.</p><p>Replace the chars <em>IDE\DiskIBM-DSCM-11000__________________________SC2IC801</em> in the first line with the name of the USB stick that you are going to use. Remove every other line in the category so that only the line with our modified USB stick name is shown in there.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/microdrive_usb-500x147.jpg" alt="microdrive usb" title="microdrive usb" width="500" height="147" class="alignnone size-medium wp-image-7669" /></p><p>The driver is now prepared and can be installed for the USB stick. Open the Windows Control Panel, the System category and there the Hardware tab. A click on Device Manager will load the Windows Device Manager which lists the computer hardware. The USB stick should be located in the Disk Drives category. Right-click the USB stick and select Update Driver from the context menu.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/update_driver.jpg" alt="update driver" title="update driver" width="395" height="160" class="alignnone size-medium wp-image-7670" /></p><p>The Hardware Update wizard should pop up. Select the option <em>Install from a list or specific location</em> in the window and click next.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/hardware_update_wizard-500x381.jpg" alt="hardware update wizard" title="hardware update wizard" width="500" height="381" class="alignnone size-medium wp-image-7672" /></p><p>Check the <em>Don&#8217;t search. I will choose the driver to install</em> option in the next window and click next again.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/dont_search_for_drivers-500x381.jpg" alt="dont search for drivers" title="dont search for drivers" width="500" height="381" class="alignnone size-medium wp-image-7673" /></p><p>A click on Have Disk in the next window will open a file browser. Locate and pick the file cfadisk.inf that has been modified previously. Clicking on OK will check the driver and show a warning message that the driver is not digitally signed. Press next on that screen.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/have_disk-500x381.jpg" alt="have disk" title="have disk" width="500" height="381" class="alignnone size-medium wp-image-7674" /></p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/driver_not_digitall_signed-500x381.jpg" alt="" title="driver not digitally signed" width="500" height="381" class="alignnone size-medium wp-image-7675" /></p><p>Ignore the warning message and continue by clicking Yes. Windows should now start the installation of the driver for the USB stick and display a message that it finished the installation.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2008/10/updated_usb_stick_driver-500x381.jpg" alt="updated usb stick driver" title="updated usb stick driver" width="500" height="381" class="alignnone size-medium wp-image-7676" /></p><p>Windows is now requesting a reboot of the system to load the updated drivers properly. The USB stick should now be recognized as a hard drive. This makes it possible to create multiple partitions on the USB stick with a software partition program.</p><p>Please note that only systems with the updated drivers will recognize the additional partitions. Connected the USB stick to a computer without the modified drivers will only show the first partition of the USB stick.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2008/10/16/how-to-create-multiple-usb-stick-partitions/feed/</wfw:commentRss> <slash:comments>26</slash:comments> </item> </channel> </rss>
