Custom Search

Sunday, June 12, 2011

How to create EXT4 and FAT32 NTFS partitions in USB Hard Disk

How to create EXT4 and FAT32 NTFS partitions in USB Hard Disk

1) Create two partitions in USB Hard Dsik using 'cfdisk' command.

# cfdisk /dev/sdb <----- Here sdb is the USB drive.

*Suppose we created two partitions /dev/sdb2 and /dev/sdb3 in USB drive.
* Make /dev/sdb2 to FAT32 and Primary.
* Make /dev/sdb3 to EXT4.

Note: We should create one partition as FAT32 and Primary, Other wise we can not open this USB Hard Disk in Windows System.
Note: Windows need one Primary partition.

3)
* Format /dev/sdb2 in FAT32.
#mkfs.vfat -F32 /dev/sdb1

* Quick Format /dev/sdb3 in NTFS.
#mkfs.ntfs -f /dev/sdb3


4)
* Now we can see/open both partitions in Linux System.
* We can see/open FAT32 partition in Windows System.

No comments:

Post a Comment