Re: Writable partition for D-I ISO images

2024-01-02 Thread Emanuele Rocca
Hi!

On 2023-12-20 08:47, Roland Clobus wrote:
> A few months ago another approach was presented on the live-build project:
> for computers that are able to boot with EFI (secure or not), preparing a
> live USB-stick (based on the ISO file) is nearly trivial [1]. It is called
> FST (File System Transposition) [2].
> 
> It requires a FAT32 formatted USB stick on which the whole (including the
> hidden .disk folder) content of the ISO file is copied. There is no need for
> magic boot sectors, update-grub or similar. (On Windows the tool Rufus can
> do all this for you).
> Since the files are now on a regular FAT32 partition, they can be modified
> as required.

Without knowing that the method had such a cool name, a few weeks back I
documented it here: https://wiki.debian.org/DebianInstaller/WritableUSBStick

  ema



Re: Writable partition for D-I ISO images

2023-12-19 Thread Roland Clobus

Hello Thomas, lists,

First: I think it is a good idea to provide such mechanism out-of-the-box

A few months ago another approach was presented on the live-build 
project: for computers that are able to boot with EFI (secure or not), 
preparing a live USB-stick (based on the ISO file) is nearly trivial 
[1]. It is called FST (File System Transposition) [2].


It requires a FAT32 formatted USB stick on which the whole (including 
the hidden .disk folder) content of the ISO file is copied. There is no 
need for magic boot sectors, update-grub or similar. (On Windows the 
tool Rufus can do all this for you).
Since the files are now on a regular FAT32 partition, they can be 
modified as required.


As far as I understood, the installer images already support this, and 
for the live images this is on the TODO list [3].


And yet another approach which was shown to me on the openSUSE 
conference 2022: with kiwi it is possible to build live images for 
Debian as well, and IIRC one of boot steps involves filling the 
remainder of the USB-stick with a writeable partition. I can look up 
further details, if you are interested.


With kind regards,
Roland Clobus

[1] https://salsa.debian.org/live-team/live-build/-/merge_requests/323
[2] https://lists.gnu.org/archive/html/grub-devel/2022-06/msg00024.html
[3] https://wiki.debian.org/DebianLive/TODO


OpenPGP_signature.asc
Description: OpenPGP digital signature