Check and List Partition on USB Hard Disk Drive using fdisk Command

Check and list partition on USB hard disk drive using fdisk command

 

   The step by step article below, use the fdisk -l command to list the partitions available on the USB hard disk drive.  The example below show the fdisk command that show the list of partition available and the new USB hard disk drive that have no partition... if you have new USB hard disk, you may need to partitioning and then formatting the hard disk in order to mount and use the hard disk. 

 

1.  The example below show the fdisk command in action to check and list partition on the USB hard disk drive... please note that the example below show the USB hard disk /dev/sdb have one Linux partition /dev/sdb1 available on the disk.

Check and list partition - USB hard disk /dev/sdb have one Linux partition /dev/sdb1 available on the disk

[root@fedora ~]# fdisk -l /dev/sdb

 

Disk /dev/sdb: 40.0 GB, 40007761920 bytes

64 heads, 32 sectors/track, 38154 cylinders

Units = cylinders of 2048 * 512 = 1048576 bytes

Disk identifier: 0x00b4c6f2

 

   Device Boot      Start         End      Blocks   Id  System

/dev/sdb1               1       38154    39069680   83  Linux

[root@fedora ~]#

 

2.  The fdisk command output below show that the USB hard disk have one Windows partition available on the USB hard disk.

Check and list partition - USB hard disk have one Windows partition available on the USB hard disk

[root@fedora ~]# fdisk -l /dev/sdb

 

Disk /dev/sdb: 40.0 GB, 40007761920 bytes

64 heads, 32 sectors/track, 38154 cylinders

Units = cylinders of 2048 * 512 = 1048576 bytes

Disk identifier: 0x00b4c6f2

 

   Device Boot      Start         End      Blocks   Id  System

/dev/sdb1               1       38154    39069680    c  W95 FAT32 (LBA)

[root@fedora ~]#

 

3.  The example below show that the fdisk command execute to check partition list on new USB hard disk drive.. Note that the fdisk command output show, that the USB hard disk have no partition available.

check partition list on new USB hard disk drive

[root@fedora ~]# fdisk -l /dev/sdb

 

Disk /dev/sdb: 40.0 GB, 40007761920 bytes

64 heads, 32 sectors/track, 38154 cylinders

Units = cylinders of 2048 * 512 = 1048576 bytes

Disk identifier: 0x00b4c6f2

 

   Device Boot      Start         End      Blocks   Id  System

[root@fedora ~]#

 

3.  With all the information that we can get from above command, we can use the information to mount the USB hard disk drive.

 

Keywords: list partition, check partition, check hard disk partition, check linux hard disk partition, list partition, check partition, check linux partition, check fedora partition 

 

aaaaaaaaaaa