Merge lp:~yuningdodo/usb-creator/usb-creator.lp1325801v2-sync-syslinux-c32-files into lp:usb-creator
Status: | Rejected |
---|---|
Rejected by: | Mathieu Trudel-Lapierre on 2015-03-05 |
Proposed branch: | lp:~yuningdodo/usb-creator/usb-creator.lp1325801v2-sync-syslinux-c32-files |
Merge into: | lp:usb-creator |
Diff against target: |
31 lines (+14/-0) 1 file modified
usbcreator/install.py (+14/-0) |
To merge this branch: | bzr merge lp:~yuningdodo/usb-creator/usb-creator.lp1325801v2-sync-syslinux-c32-files |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Yu Ning (community) | Disapprove on 2015-02-25 | ||
Mathieu Trudel-Lapierre | 2015-02-17 | Pending | |
usb-creator hackers | 2015-02-15 | Pending | |
Review via email:
|
Description of the change
Make sure we use the same version of mbr.bin and syslinux *.c32 files. (LP: #1325801)
This patch was originally uploaded in bug #1325801 comment #83, I have made some tests on trusty, it can correctly create the usbstick for ubuntu 12.04, 14.10, etc., and even xubuntu.
Yu Ning (yuningdodo) wrote : | # |
Mathieu Trudel-Lapierre (cyphermox) wrote : | # |
Yu Ning,
Any news on this? Have you had a chance to test it?
Yu Ning (yuningdodo) wrote : | # |
Hi Mathieu,
Sorry for the late update. Unfortunately the patch doesn't work when host system is 14.10 and target system is 14.04. It will report an error that some other c32 files are missing. However even if we modify the patch to copy all the host c32 files to target it still doesn't work as expected. It does show the menu, but in a very low resolution (maybe 20x10 ?), and no text is displayed. We can still operate blindly, such as press F6 to show the boot args menu, the menu can be popped in a low resolution, you just can't see any text.
In such a case I would rather reject this patch and propose another merge request with https:/
Or maybe we should use different solutions for <=14.04 and >=14.10 ?
Yu Ning (yuningdodo) wrote : | # |
Anyway I have updated this patch to copy all the host c32 files to target.
To test this patch w/o installing it:
bzr branch lp:~yuningdodo/usb-creator/usb-creator.lp1325801v2-sync-syslinux-c32-files test
cd test
# in terminal 1
sudo killall usb-creator-helper
sudo ./bin/usb-
# in terminal 2
./bin/usb-
Yu Ning (yuningdodo) wrote : | # |
Another merge request is proposed:
https:/
This proposal is based on a previous one: /code.launchpad .net/~yuningdod o/usb-creator/ usb-creator. lp1325801- sync-syslinux- c32-files/ +merge/ 249454
https:/
What has been improved is that now we will search for the host *.c32 files in two paths:
/usr/lib/syslinux/ syslinux/ modules/ bios/
/usr/lib/
On 14.10 there are actually three group of modules, /usr/lib/ syslinux/ modules/ {bios,efi32, efi64}, I guess the efi support on cdrom is provided by grub2, so we only need syslinux to provide the legacy support, that is group "bios".
I haven't got a chance to test it yet, I'll get a testing environment about two weeks later after the local holidays in my country, so I'll update the test results later.