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.

[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.

[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.

[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
- Add new comment
- 6277 reads
- Email this page
Thanks for Reading and Check Other Popular Linux Topics
All time:
- Configure and Setup Squid Cache Proxy Server on Fedora Core.
- Using Linux rm command to delete, remove hidden files and folder - Basic Linux Command.
- Copy Linux Files and Copy Directory Using cp Command - Linux Basic Command.
- Moving or rename files and directory using Linux mv command - Basic Linux Command.
- Add, view, edit and configure route and static route on Linux Fedora Core - Linux Server Configuration.
- Get and display the size of file and directory in Linux system using du command.
- Step by step Install Setup and Configure Linux Fedora Core Server and Network Management with Screen Shot and Example.
- Create file and display file contents in Linux using cat command.
- Configure Squid to block HTTP request to specific web sites.
- Example of samba smbpasswd file and samba smbusers configuration file.

Recent comments
17 hours 7 min ago
2 days 22 hours ago
3 days 7 hours ago
5 weeks 1 day ago
9 weeks 1 day ago
13 weeks 6 days ago
13 weeks 6 days ago
14 weeks 4 days ago
15 weeks 15 hours ago
15 weeks 4 days ago