How to format a hard drive in ubuntu 12.04

how to format a hard drive in ubuntu 12.04

Introduction

If the drive you want to format is also the drive you are using, you cannot change the format. Easiest way is to use a Live Boot disc and boot up inside the Trial area (where it gives you the option to install Ubuntu on the desktop). From there, you can format the drive, but be aware that formatting will erase data from the drive. Jul 20,  · this is a simple tutorial on how to format a hard drive and tweak its settings. this is a simple tutorial on how to format a hard drive and tweak its settings.

To create this article, 10 people, some anonymous, worked to edit and improve it over time. This article has been viewedtimes. Learn more Ubuntu Linux includes several utilities that will allow you to format your USB drive.

You can use the Disk Utility that comes packaged with Ubuntu, or you can use the Terminal. In either case, you formatt have your USB drive formatted in just a few minutes. Click the dashboard button and search for "Disks. Double-click Disks. Select your USB drive. Select at least one volume. Click Format. Select a format option. Select a file system. Did this summary help you? Yes No. Log in Social login does not work in incognito and private browsers.

Please log in with your username or email to continue. No account yet? Create an account. Edit this Article. We use cookies to make wikiHow great. By using our site, you agree to our cookie policy. Cookie Settings. Learn why people trust wikiHow. Download Article Explore this Article methods. Related Articles. Article Summary. Method 1 of Click the Dash button and search for "disks. Launch Disks from the search results. A list of connected devices will appear in the left frame.

Select your USB drive from the list of devices. Its details will appear in the right frame. Select at least one volume on the USB drive. Most USB drives will only how to put hearts on facebook status one volume, but if yours has multiple volumes you can select one or all of druve.

Click the Gear button underneath the Volumes and select "Format. Select what you want to erase. A Quick format will not erase any data on the drive. A Slow format will erase all of hrad data and check for errors on the drive. Select the file system. There are several different file systems that you can choose from. This will work on all computers and virtually any other device that works with USB drives. If you're just planning on using the drive with Linux, select "ext3.

Format the drive. Click the Format button and wait for the USB drive to be formatted. This may take a while for larger drives, and erasing all of the data will add to the time it takes. Method 2 of Open the Terminal. This will display a list of storage devices attached to the computer. Identify your USB drive. Unmount your USB drive's partition. You'll need to unmount the drive before formatting. Type the following command, and replace sdb1 with your USB drive's partition label.

Erase all of the data on the drive optional. You can delete everything on the drive by entering the following command. Replace sdb with your USB drive's label. On Ubuntu Create a new partition table. The partition table controls the volumes on the drive. Type the following command, replacing sdb with your USB drive's label. Press O to create an empty partition table. N to create a new partition. Enter the size of the partition that you want to create. Enter the full size of the drive srive you are just creating a single partition.

W to write the table and exit. This may take a moment. It will be listed below your USB drive's label. Format how to start a hangout in gmail new volume.

Now that you've created the new volume, you can format it with the file system of your choosing. Enter the following command to format the drive as FAT32, the most compatible file system. Replace sdb1 with your partition's label: sudo mkfs. Eject your drive drivr finished. Not Helpful 3 Helpful What do I do if the s complete successfully, but the pendrive is not showing?

I got the same issue then I followed these steps and now Pen drive is showing. Not Helpful 2 Helpful 9. Ashish Kumar. Not Helpful 2 Helpful 1.

Include your email address to get a message when this question is how do i remove ask toolbar from windows 7. By using this service, some information may be shared with YouTube.

Submit a Tip All tip submissions are carefully reviewed before being published. Related wikiHows How to. How to. Co-authors: Updated: April 10, hardd Categories: Ubuntu. Article Summary X 1. Thanks to all authors for creating a page that has been readtimes. Reader Success Stories V. May 30, I followed step by step Method 2 Terminal and my Pen Drive came back to life, which wasn't being recognized by Ubuntu earlier.

Rated this article:. More reader stories Hide reader stories. Is this article up to date? Cookies make wikiHow better. By continuing to use our site, you agree to our rrive policy. About This Article. Mariappan Rajendran Jun 23, Dhananjay M.

Video Tutorial on How to Recover Data from Hard Disk After Disk Wipe

Jun 30,  · Format your device As we have already mentioned, your hard disk can maintain a number of different partitions, but for the purpose of this article I will only need one — Author: Jonathan Hobson. In this post, I'm going to share how to format SD card or USB drive on Ubuntu I will be using Gparted software. Gparted is a powerful tool and can be use to partition your hard drive. Mar 09,  · how to partition a hard disk and install Ubuntu LTS with live USBdownload link: euro-caspian.com: euro-caspian.com: h.

Introduction While it's not every day that you need to add a new hard drive to your computer, the task does not have to be complicated. Use this guide to help you install a new hard drive with an existing Ubuntu system, and partition it for use. Before beginning, you need to consider for what you will be using the hard drive.

Will the drive be used only with Ubuntu? Will the drive need to be accessible from both Ubuntu and Windows? How do you want to divide the free space? As a single partition, or as several? Do you want any of the partitions to be larger than 2 TB? This guide goes over procedures for a single partition drive install only.

If you are new to file systems and partitioning, please do some preliminary research on the two before you attempt this procedure. Partition The Disk If you have already formatted the drive and it contains data, skip this step and move on to "Mount Point.

Decide whether you want the drive to contain one single partition, or if you want to divide the space up between two or more partitions. Open GParted and let's get started. In the top-right corner of the window, choose your new hard drive from the drop-down list, referring back to the "logical name" from earlier. The window should refresh and show you a representation of the new drive. Assuming that the drive has yet to have been used, a white bar will run across the window.

Use these steps to partition the drive with a single partition Use "ext3" if the drive will only be used with Ubuntu. For file-sharing between Ubuntu and Windows, you should use "fat The graphical display should update to show a new partition covering the entire disk.

The disk will then be partitioned and formatted. You may now close GParted. Command Line Partitioning There are two commands that can be used in the command line to partition a new drive: fdisk and parted. This means your kernel must support EFI. The latest version of the kernel supports EFI, and almost all the latest distros do too. If the number of cylinders in the disk is larger than and large hard drives always have more , it could, in certain setups, cause problems with: software that runs at boot time e.

Type "n" and press enter. Command action e extended p primary partition 4 We want a primary partition. Enter "p" and enter. Partition number : 5 Since this will be the only partition on the drive, number 1. Enter "1" and enter. Command m for help : If it asks about the first cylinder, just type "1" and enter.

We are making 1 partition to use the whole disk, so it should start at the beginning. Type "w" and enter. The partition table has been altered! For a 4TB drive: parted mkpart Partition name? However, for disks that only contain data, this is not necessary. NOTE: You may run this command on a fat32 file system, but it will do nothing; therefore, I highly recommend not running it. Using this command does not change any existing data on the drive.

You can use it on a drive which already contains data. Create A Mount Point Now that the drive is partitioned and formatted, you need to choose a mount point.

This will be the location from which you will access the drive in the future. Mount The Drive You can choose to have the drive mounted automatically each time you boot the computer, or manually only when you need to use it. To write other partition and FAT specific options must be used. If gnome nautilus is being used, use the right-click, mount method, from computer folder. Then launch the mount command from terminal, no options.

The "2" at the end instructs your system to run a quick file system check on the hard drive at every boot. Changing it to "0" will skip this. Run 'man fstab' for more info here. You can now run "sudo mount -a" or reboot the computer to have the changes take effect. Manually Mount Alternatively, you may want to manually mount the drive every time you need it.

If you cannot find what you are looking for, simply ask for help. Partners Support Community Ubuntu. Page History Login to edit.

1 Comments:

Add a comment

Your email will not be published. Required fields are marked *