[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#773833:



The submitted build.log says:

dd: failed to open ‘chroot/usr/lib/syslinux/mbr.bin’: No such file or directory

This is because the syslinux version in jessie expects mbr.bin to be found in:

/usr/lib/SYSLINUX/mbr.bin

(see https://packages.debian.org/jessie/i386/syslinux/filelist)

As you can see the difference is in the syslinux/SYSLINUX capital letters.

I have run a test with live-build 4.0.4-1 in sid using your same
config ($ lb config --binary-images hdd). I have edited
/usr/lib/live/build/binary_hdd and substituted:

dd if=chroot/usr/lib/${_BOOTLOADER}/mbr.bin of=${FREELO} bs=440 count=1

with:

dd if=chroot/usr/lib/SYSLINUX/mbr.bin of=${FREELO} bs=440 count=1

(since the case "${LB_BUILD_WITH_CHROOT}" is true by default)

and it produced a working hdd image. Be warned that the resulting
image does not have any extension such as .img because it is renamed
as follows:

mv chroot/binary.img ${LIVE_IMAGE_NAME}-${LB_ARCHITECTURES}

In my case it was called: live-image-i386

I know this is not a fix in any way, just a test. But I hope this
information is useful.

Have a Merry Christmas!

-- 
chals
www.chalsattack.com
chals@chalsattack.com


Reply to: