注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "User:Pnoecker/Cd remastering"
Jump to navigation
Jump to search
(clean up, fix flow, add english to help make sense of what were doing and why allowing for next steps of live cd factory where engineers can start engineering.) |
(forgot need to isohybrid the image to make it usb compatible again.) |
||
Line 40: | Line 40: | ||
###i## cd extract-cd | ###i## cd extract-cd | ||
###i## sudo xorrisofs -D -r -V "test" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e '/gentoo.efimg' -no-emul-boot -isohybrid-gpt-basdat -o ../funtoo-live.iso . | ###i## sudo xorrisofs -D -r -V "test" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e '/gentoo.efimg' -no-emul-boot -isohybrid-gpt-basdat -o ../funtoo-live.iso . | ||
###i## sudo isohybrid --uefi ../funtoo-live.iso | |||
}} | }} |
Revision as of 15:49, June 8, 2021
Here we will remaster the gentoo minimal cd and inject a funtoo stage3 or undead usb squashfs image into it.
root # mkdir ~/livecdtmp root # mv gentoo-minimal.iso ~/livecdtmp root # cd ~/livecdtmp root # mkdir mnt root # sudo mount -o loop gentoo-minimal.iso mnt root # mkdir extract-cd root # sudo rsync --exclude=/image.squashfs -a mnt/ extract-cd
- the edit directory is the uncompressed squashfs archive, and can be chrooted into if we were to go that route.
root # sudo unsquashfs mnt/image.squashfs root # sudo mv squashfs-root edit
- merge in our gnome stage3 with our gentoo boot disk:
root # tar --numeric-owner --xattrs --xattrs-include='*' -xpf funtoo-gnome-stage3.tar.xz -C ~/livecdtmp/editfuntoo
- or from a squashfs image.
root # sudo unsquashfs -f -d ~/livecdtmp/editfuntoo /mnt/filesystem.squashfs
- merge the live cd's kernel modules with our stage3 root:
root # sudo rsync -a editfuntoo edit
root # sudo mksquashfs edit extract-cd/image.squashfs
- now we are ready to cd into extract-cd & generate the iso image again:
root # cd extract-cd root # sudo xorrisofs -D -r -V "test" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e '/gentoo.efimg' -no-emul-boot -isohybrid-gpt-basdat -o ../funtoo-live.iso . root # sudo isohybrid --uefi ../funtoo-live.iso