DesobedienteTecnologico / dtails

Remastering tool for Debian Live based OS
GNU General Public License v3.0
49 stars 5 forks source link

Save to ISO feature #17

Closed btclinux closed 1 year ago

btclinux commented 1 year ago

This will be useful option in GUI which can write modified system not only on USB stick but to ISO file too

DesobedienteTecnologico commented 1 year ago

Hi @btclinux , if you have a look at https://github.com/DesobedienteTecnologico/dtails#3--iso-vs-img You can see that if your input is a .iso file from Tails it will return an .iso too.

1.1 image

1.2 image

I made it in that way because .iso files is mainly used for CDs/DVDs and it also have different partition tables and so if we compare from the .img.

https://github.com/DesobedienteTecnologico/dtails/blob/main/src/commands.py#L68-L84

At the end, we can create an ISO from it of course. But I don't really know if will be a good deal to do so.

Feedback will be appreciated. Thanks :)

btclinux commented 1 year ago

OK, then how to save a modified img? For creating several flash drives or for using in virtual machine

DesobedienteTecnologico commented 1 year ago
  1. Run those two commands: https://github.com/DesobedienteTecnologico/dtails/blob/main/src/commands.py#L80-L81

  2. Modify: isolinux for syslinux.

Also be aware that Persistent setting will not work in that .iso

I will probably add a checkbox to create the .iso for testing purposes in VM and so.