Thank you the guidance. Having looked at the output of fdisk I can see the start sector is different for the 64meg version.
So I changed my parted command as follows and it works: sudo parted -s -a optimal test.img mkpart primary ext2 2048s '100%' thanks! On 5 Oct 2015, at 7:59 am, Andrew Stuart <[email protected]> wrote: Please show "fdisk -l" for both images. ubuntu@ugbuildserver:~$ sudo fdisk -l /dev/loop0 Disk /dev/loop0: 64 MiB, 67108864 bytes, 131072 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: 0x0e508c47 Device Boot Start End Sectors Size Id Type /dev/loop0p1 * 1 131071 131071 64M 83 Linux ubuntu@ugbuildserver:~$ sudo fdisk -l /dev/loop0 Disk /dev/loop0: 256 MiB, 268435456 bytes, 524288 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: 0x0dde66d2 Device Boot Start End Sectors Size Id Type /dev/loop0p1 * 2048 524287 522240 255M 83 Linux _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
