Welcome to fdisk . Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): Partition number (2-8, default 2): First cylinder (128-325, default 128): Last cylinder or +/-cylinders or +/-size{K,M,G,T,P} (128-325, default 325): Created a new partition . Command (m for help): The partition table has been altered. Syncing disks. a87e80830aa13d2d68b766962f052750 sunlabel.img Disk : 10 MiB, 10485760 bytes, 20480 sectors Geometry: 1 heads, 63 sectors/track, 325 cylinders Units: cylinders of 63 * 512 = 32256 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: sun Label ID: Linux cyl 325 alt 0 hd 1 sec 63 Rpm: 5400 Alternate cylinders: 0 Physical cylinders: 325 Extra sects/cyl: 0 Interleave: 1 Device Start End Cylinders Size Id Type Flags 1 1 128 129 4128768 4 SunOS usr ur 2 129 325 198 6354432 83 Linux native