[GTALUG] parted and fdisk disagree

Darryl Moore darryl at moores.ca
Wed Apr 4 09:57:14 EDT 2018


I have an SD CARD disk image which I can burn to an SD card ant it boots 
up my Olimex board just fine. When I try viewing the partition 
information with parted and fdisk, I get different information. Ive 
googled this but come up empty. Anybody have any idea what is going on 
here? fdisk is the correct answer..... I think.



darryl at darryl-Aspire-V3-575:~$ sudo parted elp780.3.3.img print
Model:  (file)
Disk /home/darryl/elp780.3.3.img: 16.1GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number  Start  End     Size    File system  Flags
  1      0.00B  16.1GB  16.1GB  fat32



darryl at darryl-Aspire-V3-575:~$ sudo fdisk -l elp780.3.3.img
Disk elp780.3.3.img: 15 GiB, 16088301568 bytes, 31422464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6f20736b

Device          Boot Start      End  Sectors  Size Id Type
elp780.3.3.img1       2048    34815    32768   16M 83 Linux
elp780.3.3.img2      34816 31116287 31081472 14.8G 83 Linux



More information about the talk mailing list