BlankOn remastering template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The project tree, | |
``` | |
herpiko@upik:~/livecdtmp$ tree -L 2 | |
. | |
├── blobs | |
│ ├── README.md | |
│ ├── bootx32.efi | |
│ ├── bootx64.efi | |
│ ├── efi-amd64 -> bootx64.efi | |
│ ├── efi-i386 -> bootx32.efi | |
│ ├── eltorito.img | |
│ ├── grub-pc.cfg | |
│ ├── grub-uefi.cfg | |
│ └── hybrid.img | |
├── edit | |
│ ├── bin | |
│ ├── boot | |
│ ├── dev | |
│ ├── etc | |
│ ├── home | |
│ ├── initrd.img -> boot/initrd.img-4.6.0-1-amd64 | |
│ ├── initrd.img.old -> boot/initrd.img-4.6.0-1-amd64 | |
│ ├── lib | |
│ ├── lib64 | |
│ ├── media | |
│ ├── mnt | |
│ ├── opt | |
│ ├── proc | |
│ ├── root | |
│ ├── run | |
│ ├── sbin | |
│ ├── srv | |
│ ├── sys | |
│ ├── tmp | |
│ ├── usr | |
│ ├── var | |
│ ├── vmlinuz -> boot/vmlinuz-4.6.0-1-amd64 | |
│ └── vmlinuz.old -> boot/vmlinuz-4.6.0-1-amd64 | |
├── edit-tambora | |
│ ├── bin | |
│ ├── blankon-installer-dbgsym_1.24-0blankon1_amd64.deb | |
│ ├── blankon-installer_1.24-0blankon1_amd64.deb | |
│ ├── boot | |
│ ├── dev | |
│ ├── etc | |
│ ├── home | |
│ ├── initrd.img -> boot/initrd.img-4.6.0-1-amd64 | |
│ ├── initrd.img.old -> boot/initrd.img-4.6.0-1-amd64 | |
│ ├── lib | |
│ ├── lib64 | |
│ ├── media | |
│ ├── mnt | |
│ ├── opt | |
│ ├── proc | |
│ ├── root | |
│ ├── run | |
│ ├── sbin | |
│ ├── srv | |
│ ├── sys | |
│ ├── tmp | |
│ ├── usr | |
│ ├── var | |
│ ├── vmlinuz -> boot/vmlinuz-4.6.0-1-amd64 | |
│ └── vmlinuz.old -> boot/vmlinuz-4.6.0-1-amd64 | |
├── extract-cd | |
│ ├── boot | |
│ ├── boot.catalog | |
│ ├── live | |
│ └── repo | |
├── extract-cd-origin-blankon | |
│ ├── boot | |
│ ├── boot.catalog | |
│ ├── live | |
│ └── repo | |
├── filesystem.squashfs | |
├── init | |
│ ├── bin | |
│ ├── conf | |
│ ├── etc | |
│ ├── init | |
│ ├── lib | |
│ ├── lib64 | |
│ ├── run | |
│ ├── sbin | |
│ ├── scripts | |
│ ├── usr | |
│ └── var | |
├── initrd.img | |
├── modifikasi.iso | |
├── tambora-desktop-amd64.iso | |
├── tambora.sh | |
├── ubuntu-origin | |
├── filesystem.squashfs | |
└── squashfs-root | |
66 directories, 31 files | |
herpiko@upik:~/livecdtmp$ | |
``` | |
Do a chroot to edit, then run this script | |
``` | |
BLOBS=`pwd`/blobs | |
rm -rf extract-cd | |
cp -R extract-cd-origin extract-cd | |
sudo mksquashfs edit extract-cd/live/filesystem.squashfs | |
printf $(sudo du -sx --block-size=1 edit | cut -f1) > extract-cd/live/filesystem.size | |
#(cd extract-cd;sudo mkisofs -o ../modifikasi.iso -b boot/grub/eltorito.img -c boot.catalog -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T -eltorito-alt-boot .) | |
(cd extract-cd;sudo xorriso -as mkisofs --grub2-boot-info --grub2-mbr $BLOBS/hybrid.img -o ../modifikasi.iso -b boot/grub/eltorito.img -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e boot/grub/efiboot.img -no-emul-boot -isohybrid-gpt-basdat .) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment