ubuntukylin-members team mailing list archive
-
ubuntukylin-members team
-
Mailing list archive
-
Message #04444
[Bug 1325801] Re: failed to boot from USB disk with error: gfxboot.c32: not a COM32R Image boot:
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 Ubuntu
Kylin Members, 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:
Status in Ubuntu CD image build software:
New
Status in Ubuntu Kylin:
Triaged
Status in usb-creator package in Ubuntu:
Triaged
Status in usb-creator source package in Lucid:
Triaged
Status in usb-creator source package in Precise:
Triaged
Status in usb-creator source package in Trusty:
Triaged
Status in usb-creator source package in Utopic:
Triaged
Bug description:
系 统:UK 14.10 6-2 dailybuild 32 位
机器型号:dell Inspiron-560s
现 象:用U盘制作启动盘,不能启动,提示信息:gfxboot.c32: not a COM32R Image boot: 见附件图片
this bug is similar with Bug #645818, but we cannot confirm whether
they are the same. If we type "live" and press enter, we can enter
live mode.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-cdimage/+bug/1325801/+subscriptions