Linux-Noob Forums

Full Version: How do i format and mount my drives.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to format and mount 2 additional drives in my sistem. I dont know what is on hte drives and i dont care, i want to erase them and then mount them to a dir. When i try and mount them i get an error saying that it is already mounted or the dir im mounting it to is busy. I checked the fstab but there is nothing listed for the 2 drives.

to format your partitions use fdisk as shown below:

 



Code:
fdisk /dev/haX/




 

and then to make the filesystem you can run the mkfs las shown below:

 



Code:
mkfs.ext2 /dev/hdX




yea so i formatted the wrong partition. turned out it was a partition on the first drive and not the second drive. so im installing again :P