<div dir="ltr">On 21 April 2016 at 22:55, Paul Mansfield <<a href="mailto:paul@mansfield.co.uk">paul@mansfield.co.uk</a>> wrote:<br>> I'll try downloading his latest image; however, I've never been able<br>> to boot previous versions, maybe this time it'll work.<br><br>sadly, no.<br><br>The ISO has two partitions, you can mount them thus<br><br><font face="monospace, monospace">#mkdir /mnt/xjx1 /mnt/xjx2<br>#mount -o ro /home/paulm/download/linux/XJX64bits-16.04.08-dist.iso /mnt/xjx1<br>#<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">​ ​</div>mount -o ro,offset=172032 /home/paulm/Downloads/linux/XJX64bits-16.04.08-dist.iso /mnt/xjx2<br></font><br>(the 172032 is the starting <div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">​byte offset</div> of the second partition, <div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">​which is the first section of the partition - ​</div>from doing "fdisk -l /home/paulm/download/linux/XJX64bits-16.04.08-dist.iso" <div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">​- ​</div>multiplied by the sector size <div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">​i.e. 512</div>)<br><br>It appears he only put the 64 bit EFI files on that second partition.<br><br><div><font face="monospace, monospace">#<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">​ ​</div>ll /mnt/xjx2/efi/boot/<br>total 2298<br>drwxr-xr-x 2 root root    2048 Jan 22  2015 ./<br>drwxr-xr-x 3 root root    2048 Jan 22  2015 ../<br>-rwxr-xr-x 1 root root 1355736 Jan 22  2015 bootx64.efi<br>-rwxr-xr-x 1 root root  993144 Jan 22  2015 grubx64.efi</font><br><div><br></div><div><br></div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">​since the second partition is vfat, it was possible to hot patch the file. I copied the XJX iso, and mounted the 2nd partition as rw, deleted the efi/boot/ files and replaced them with the ones from debian (I loopback mounted with offset the <span style="color:rgb(0,0,0);font-family:monospace">debian-8.3.0-amd64-i386-netinst.iso </span>in the same way)​. I then used rsync <span style="color:rgb(0,0,0);font-family:monospace">--inplace --no-whole-file</span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">​to patch the USB flash image rather than rewrite it from scratch. Just to be sure I used "cmp" to compare the patched ISO with the USB stick.</div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">And after all that, guess what? Yes, it didn't work.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">:-(</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div></div>