Note
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
(initial commit) |
(that should about do it.) |
||
Line 8: | Line 8: | ||
###i## mkdir extract-cd | ###i## mkdir extract-cd | ||
###i## sudo rsync --exclude=/image.squashfs -a mnt/ extract-cd | ###i## 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. | |||
{{console|body= | |||
###i## sudo unsquashfs image.squashfs | |||
###i## sudo mv squashfs-root edit | |||
}} | |||
*instead were injecting our already mastered root into the cd: | |||
{{console|body= | |||
###i## cp /mnt/filesystem.squashfs extract-cd/image.squashfs | ###i## cp /mnt/filesystem.squashfs extract-cd/image.squashfs | ||
}} | }} | ||
*now we are ready to cd into extract-cd & generate the iso image again: | *now we are ready to cd into extract-cd & generate the iso image again: | ||
{{console|body= | |||
###i## cd extract-cd | |||
###i## grub-mkrescue -J -R -V "${ISO_VOLUME}" -quiet -o ../funtoo-live.iso . | |||
}} |
Revision as of 23:43, June 6, 2021
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
- the edit directory is the uncompressed squashfs archive, and can be chrooted into if we were to go that route.
root # sudo unsquashfs image.squashfs root # sudo mv squashfs-root edit
- instead were injecting our already mastered root into the cd:
root # cp /mnt/filesystem.squashfs extract-cd/image.squashfs
- now we are ready to cd into extract-cd & generate the iso image again:
root # cd extract-cd root # grub-mkrescue -J -R -V "${ISO_VOLUME}" -quiet -o ../funtoo-live.iso .