Archived
1
0

ISO-Repack: fixed layout

This commit is contained in:
2022-11-16 12:23:44 +01:00
parent 0077eecb73
commit 7b236c1dc0

View File

@@ -7,11 +7,13 @@ mkisofs xorriso isohybrid
## Editing ISO image ## Editing ISO image
create workspace Create workspace
`mkdir /tmp/custom_iso` `mkdir /tmp/custom_iso`
Mount image and extract it since it is read only Mount image and extract it since it is read only
`mount -t iso9660 -o loop ~/original.iso /mnt/` ```
`tar cf - /mnt/. | (cd /tmp/custom_iso; tar xfp -)` mount -t iso9660 -o loop ~/original.iso /mnt/`
tar cf - /mnt/. | (cd /tmp/custom_iso; tar xfp -)
```
You can now modify the files for editing the bootloader config for example! You can now modify the files for editing the bootloader config for example!
## Back into an iso ## Back into an iso