|
Post by ZF on Aug 11, 2009 23:01:41 GMT -5
//Creating a partition
# fdisk –l //Show hdd connected # fdisk /dev/hdb # p # n // Create a new partition # p // Create a primary partition # 1 # p // print the new partition table # w
//Formating filesystem # mkfs.ext3 –L /<label> /dev/hdb1 e.g # mkfs.ext3 -b4096 -L pdr /dev/sda2
|
|
|
Post by ZF on Aug 13, 2009 2:53:48 GMT -5
To format thumb drive: fdisk /dev/sdXX p d n t 83 w
mkfs.ext2 /dev/sdXX e2fsck -f -y /dev/sdXX //To check the file system
|
|
|
Post by ZF on Sept 22, 2009 22:54:42 GMT -5
NOTE!!! When using fdisk, use fdisk /dev/sdb and not /dev/sdb1 sdb1 is the partition. sdb is the block device.
|
|