Hard drive format?


5 posts
by Guitar42697 » Sat Jan 26, 2013 9:45 pm
I'm running the latest version of Raspbian Wheezy, and I need to format my hard drive to ext4 in order to use it as the storage space for torrents. (i would like to turn my pi into a bit torrent server) My other two computers are running lucid puppy (this computer barely works and so far i've only been able to use puppy linux on it) and windows 7 on the other. I would prefer to format the hard drive directly through rasbian. thanks in advance.
Raspberry Pi Model B rev 3
(x2)SanDisk 8GB Micro SD card
Edimax USB WiFi adapter
(x1)digipower hard drive housing with USB Hub and SD card reader
(i) brand 4 port unpowered USB hub
Posts: 12
Joined: Wed Jan 16, 2013 12:46 pm
by Spid » Sat Jan 26, 2013 9:50 pm
Command Line Parted and GParted (parted with a GUI) are both in the RASPBIAN repositories. http://gparted.sourceforge.net
I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm
by Guitar42697 » Wed Jan 30, 2013 5:15 am
Spid wrote:Command Line Parted and GParted (parted with a GUI) are both in the RASPBIAN repositories. http://gparted.sourceforge.net


I have 4 partitions on that hard drive. Unfortunately formated the two fat32 partitions first, leaving me with two ntfs partitions which I decided to also format to ext4. I want to format one of them back to fat32 so I can transfer the data from one partition to the other so the data can be viewed on my ps3. In GParted, I only have the option for ext 2, 3 and 4, and a "linux-swap" format. Is it possible to format it to fat32 directly on the pi?
Raspberry Pi Model B rev 3
(x2)SanDisk 8GB Micro SD card
Edimax USB WiFi adapter
(x1)digipower hard drive housing with USB Hub and SD card reader
(i) brand 4 port unpowered USB hub
Posts: 12
Joined: Wed Jan 16, 2013 12:46 pm
by duberry » Fri Feb 01, 2013 12:14 am
Guitar42697 wrote:.. In GParted, I only have the option for ext 2, 3 and 4, and a "linux-swap" format. Is it possible to format it to fat32 directly on the pi?


usually this can be fixed by installing "dosfstools"
lend me your arms, fast as thunderbolts, for a pillow on my journey.
If the environment was a bank, would it be too big to fail
so long; and thanks for all the pi
User avatar
Posts: 378
Joined: Mon Jan 28, 2013 10:44 pm
Location: standing on a planet that's evolving. And revolving at nine hundred miles an hour
by yottskry » Wed Apr 10, 2013 3:25 pm
You should be able to use mkfs.vfat:

Code: Select all
mkfs.vfat -F 32 /dev/sda1


or whatever the partition is you wish to format.

http://linux.about.com/od/embedded/l/bl ... kfsvfa.htm

This still may require the dosfstools to be installed.
Posts: 73
Joined: Wed Mar 06, 2013 10:11 pm