usb hard disk - unformatted
Hi people,
I have a 500Gb USB hard disk which is brand new and unformatted. I am trying to learn how to format it. I can use Code:
sudo fdisk /dev/sda I then quit fdisk and use the following: Code:
mkfs.ext3 -j dev/sda -L parition_name I can try Code:
mkfs.ext3 -j dev/sda1 -L parition_name any ideas folks? Kind regards, Greenie |
Missing the leading slash - try
Code:
mkfs.ext3 -j /dev/sda1 -L parition_name |
I use
Code:
mke2fs -j /dev/sda1 |
Well then, type
Code:
ls -l /dev/sda* Kees-Jan |
Hey thanks guys,
One more question. I managed to format the drive, but I had created 2 partitions using fdisk and I was able to view them with the 'p' command in the fdisk utility. Following formatting with mkfs, I think I can only see 1 partition. I actually wanted to create one ext3 partition on partition 1, which I did. But how can I format NTFS on the second partition? Interestingly, even after unmounting /dev/sda2 (sda2 is the drive as it turns out), I can no longer use "fdisk /dev/sda2" Regards, Greenie |
"man mkntfs"
fdisk works with devices, not partitions - lose the digit. |
All times are GMT -5. The time now is 12:12 AM. |