Cd remastering

From Funtoo
Revision as of 23:04, June 6, 2021 by Pnoecker (talk | contribs) (initial commit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Here we will remaster the gentoo minimal cd and inject a 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
root # cp /mnt/filesystem.squashfs extract-cd/image.squashfs
  • now we are ready to cd into extract-cd & generate the iso image again: