
- #HOW TO FORMAT MY HARD DRIVE ON LINUX INSTALL#
- #HOW TO FORMAT MY HARD DRIVE ON LINUX PRO#
- #HOW TO FORMAT MY HARD DRIVE ON LINUX WINDOWS#
#HOW TO FORMAT MY HARD DRIVE ON LINUX PRO#
The “-6” is a fallback for some older types of drives and I think it’s pretty safe to include on sdparm commands.įurther reading on how the Seagate Free Agent Pro spins David Kline Or the handy command “ sudo sdparm -command=start /dev/sdX” might also wake it up. If the drive has already spun down, you can unplug it, reboot everything, and plug it back in. You should see a line that looks like “ STANDBY 1 Standby timer active” change to “ STANDBY 0 Standby timer active“. Here’s what I typed to see the setting and modify it: Then imagine that your device is /dev/sdX (again, X will normally be a letter like ‘b’ or ‘c’).
#HOW TO FORMAT MY HARD DRIVE ON LINUX INSTALL#
Install sdparm with “sudo apt-get install sdparm”. There’s a setting in the hard drive that you can easily modify with the “sdparm” program. The Seagate Free Agent Pro drive can spin down under Linux when you don’t want it to. I’d stick with a short and simple label (under 16 characters, and nothing fancy schmancy like punctuation/spaces).ģ. If everything worked correctly, the final command should return the word “M1”. The above command makes the label be “M1”. If there is no label, you will get back a blank line. The command “sudo e2label /dev/sdf1” will query /dev/sdf1 to see what label it has. Suppose the disk partition that you want to label is /dev/sdf1 and you want to call the hard drive “M1”. Normally you’ll see something like “/media/disk” mapping to a device like “/dev/sdX” where X is a letter like a, b, or c. Attach the USB drive to the computer and use the “mount” command to identify the partition to add a label to. Each time you plug in that drive, you’ll see the same label for that drive. If you formatted the drive as ext3 in step 1, you can use e2label (from the e2fsprogs set of utilities) to give your drive a persistent name. It’s nice if you plug in an external hard drive and you see something more descriptive than “disk” or “usbdisk”. GParted will do all the formatting for you. Finally, click “Apply” on the menu bar and just wait 3-4 minutes. I recommend “ext3” because it’s a very stable file system. You’ll see a dashed box appear around the partition that you clicked (see the picture above where “/dev/sdf1” has been clicked). Once the right device is selected, click on the partition you want to format. Then make sure the correct drive is selected (under GParted->Devices again). If you’ve just plugged your drive into the computer, unmount the drive by selecting the external drive (under GParted->Devices) and then doing Partition->Unmount. GParted is pretty intuitive, and it looks something like this: GParted lets you format and partition hard drives. Rather than typing commands like mk2efs myself, I installed a wonderful utility called gparted.

#HOW TO FORMAT MY HARD DRIVE ON LINUX WINDOWS#
That’s great for Windows computers, but I preferred to format into a native Linux filesystem like ext3 or ext2. I picked up a 750 gigabyte Seagate Free Agent Pro drive. Recently my home Network Attached Storage (NAS) started acting flaky, so I wanted to back up my data.
