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

lh_binary_iso create empty image

Don't know what cause this problem, but here is story.
I tried to boot recently generated image, but stick on
initramfs. In the live.log I see "no live media found", then

mount /dev/hdc /live_media
ls /live_media

Yes, it is empty.

Go back and mount image:

mount binary.iso /mnt/iso -o loop
ls /mnt/iso

It is empty too, while the image is 542 Mb in size.

Look into log the output of lh_build I have redirected to:

"genisoimage: Unexpected joliet directory length 344 expected: 348 ''"

In the lh_binary_is I have found:

GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -b isolinux/isolinux.bin -c isolinux/boot.cat"

but isolinux/boot.cat does not exists.

I try to build image with command:

genisoimage -no-emul-boot -boot-load-size 4 -boot-info-table -v -b isolinux/isolinux.bin -o binary.iso -J -l -cache-inodes binary/

I've got the empty image again. But after removing "-J" option
the image was successfully generated and completely booted.

I have no idea about the source of problem, but only change I
have made in config after last valid generated image is adding
contrib and non-free to $LIVE_SECTIONS and lmbench to packages


****   Vladimir Stavrinov  ******
*******   vs at inist.ru   ******

Reply to: