You are not logged in.

#41 2017-11-20 20:40:02

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,067
Website

Re: Remastering Bunsen

Nailed it  8)

New function:

function mkiso {
	xorriso -as mkisofs \
	-iso-level 3 \
	-full-iso9660-filenames \
	-volid "$1" \
	-eltorito-boot isolinux/isolinux.bin \
	-eltorito-catalog isolinux/boot.cat \
	-no-emul-boot -boot-load-size 4 -boot-info-table \
	-isohybrid-mbr isolinux/isohdpfx.bin \
	-eltorito-alt-boot \
	-e boot/grub/efi.img \
	-no-emul-boot -isohybrid-gpt-basdat \
	-output ../"$2" ./
}

The isohdpfx.bin file is not included in the stock BL image, that was the missing puzzle piece.

Here is one I cut out of an Arch live ISO:

https://github.com/Head-on-a-Stick/conf … ohdpfx.bin

Copy that to isolinux/isohdpfx.bin (in the image's filesystem tree) and run the `mkiso` function (from the top of the tree and with arguments, as before) to generate the image.

Good luck!

EDIT: the UEFI boot menu is configured via boot/grub/grub.cfg  wink

Last edited by Head_on_a_Stick (2017-11-20 20:40:52)

Offline

#42 2017-11-21 06:57:38

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,067
Website

Re: Remastering Bunsen

Just been through this thread again and I missed this detail the first time around:

nashjc wrote:

I already have the filesystem.squashfs (from my crunchmaster run) so did not do any chroot.

Try again but this time start with a "fresh" BunsenLabs ISO image and squashfs, the crunchmaster script is opaque in it's operation (to me, at least, and I can't be bothered reading it) and may be concealing errors, this is why I favour a "manual" approach.

Last edited by Head_on_a_Stick (2017-11-21 06:58:36)

Offline

#43 2017-12-05 13:42:04

nashjc
Member
Registered: 2016-04-01
Posts: 28

Re: Remastering Bunsen

HOAS -- Very much appreciate what you've posted. I can confirm it works. And with image customized by CrunchMaster.

What I've tried:
  A) (to check things work OK) Unpacked distribution iso (BL-deuterium 32 bit) and repack with your recipe.
     Boots on my Asus Zenbook UX303 (EFI) and UL30A (legacy).
  B) copy my custom squashfs into the unpacked BL file tree, delete the filesystem.packages and size stuff.
     Run recipe, pass to USB and reboots fine on both. (Though on UL30A the default volume of playback is too
     high!)
  C) rename/copy image to .iso and try in VirtualBox -- the installer starts, though I did not carry through to completion.

In any event, many thanks.

JN

PS. Planning to have write-up in due course on wiki.linux-ottawa.org. This has been one of group's projects.

Offline

Board footer

Powered by FluxBB