[Bug 1006372] Re: Live-build creates unbootable usb-hdd images.
Launchpad Bug Tracker
1006372 at bugs.launchpad.net
Tue Jul 1 09:05:07 UTC 2014
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: live-build (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to live-build in Ubuntu.
https://bugs.launchpad.net/bugs/1006372
Title:
Live-build creates unbootable usb-hdd images.
Status in “live-build” package in Ubuntu:
Confirmed
Bug description:
The usb-hdd images created with live-build do NOT have the first
partition flagged as bootable. This way, when the image is copied to a
pendrive, it will not boot in some BIOSes. When lb_usb_binary script
sets the boot flag, the image is mounted as a loop device *with* an
offset (thus accessing the contents of the first partition). This is
wrong. It should set the boot flag earlier, when the image is mounted
as a loop device *without* an offset (thus accessing the mbr). The fix
is trivially simple, and a patch is attached.
What is expected to happen:
The lb_binary_usb script should flag the first partition as bootable in the image mbr.
What happened instead:
The lb_binary_usb script sets the boot flag in the wrong moment, and as such it does not work.
Using Ubuntu Precise 12.04 amd64.
Live-build 3.0~a24-1ubuntu32.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/live-build/+bug/1006372/+subscriptions
More information about the foundations-bugs
mailing list