Skip to content

Instantly share code, notes, and snippets.

@tmclaugh
Created September 15, 2014 16:49
Show Gist options
  • Save tmclaugh/f8bef4eafeece658f2d2 to your computer and use it in GitHub Desktop.
Save tmclaugh/f8bef4eafeece658f2d2 to your computer and use it in GitHub Desktop.
[root@c6 ~]# fdisk -lu mnt/images/aws-paravirt/CentOS-6.5-x86_64-1410576856-paravirt.img
You must set cylinders.
You can do this from the extra functions menu.
Disk mnt/images/aws-paravirt/CentOS-6.5-x86_64-1410576856-paravirt.img: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders, total 0 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
Disk identifier: 0x0002d42f
Device Boot Start End Blocks Id System
mnt/images/aws-paravirt/CentOS-6.5-x86_64-1410576856-paravirt.img1 * 2048 20479999 10238976 83 Linux
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(1274, 209, 23)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment