Hi guys, attached is a patch which will sync the *.c32 files from host
system to the target. With this patch I create a 14.10 usb stick on a
14.04 machine, and the usb stick can boot with Legacy BIOS successfully
without any error.

BTW, I wonder if we could fix this issue in a different way. Per previous 
comments we know the root cause is that the mbr on the usb stick is installed 
from the host system, which may be incompatible with the syslinux files 
included in the CD/ISO. So a possible fix is:
1. mount the CD/ISO to self.source (this is already done in current code)
2. mount the squashfs image self.source + 'casper/filesystem.squashfs' to 
self.sourcefs
3. install syslinux boot loader in the self.sourcefs chroot instead of host 
system
4. burn self.sourcefs/usr/lib/legacy/mbr.bin instead of /usr/lib/legacy/mbr.bin

Not sure if step 3 is necessary. By doing this we can make sure the mbr
and all the syslinux files are in the same version, the version used in
the source CD/ISO.

However to achieve this we have to change the dbus interface since
previously the source mount point is not passed to the InstallBootloader
dbus method. I'll make some actual test and feedback later.

** Patch added: "sync-syslinux-c32-files.patch"
   
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1325801/+attachment/4298167/+files/sync-syslinux-c32-files.patch

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1325801

Title:
  failed to boot from USB disk with error: gfxboot.c32: not a COM32R
  Image boot:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-cdimage/+bug/1325801/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to