No capability to remove boot media with a savefile
Posted: 26 May 2023, 19:31
I am not entirely sure how to submit a bug report, but here goes.
Often I find it very handy to be able to boot a persistent Linux system to RAM from a thumb drive, then remove the thumb drive and use the system like normal until I need to save a file to it or save the session's changes to the persistence file, which is usually on shutdown. It seems logical to me that there should be a way to remove the boot media after booting to RAM, and still be able to use a persistence file without having to create a module with any changes each time a change is made.
I use MX Linux pretty extensively with a similar setup to what Porteus has to offer. I boot from a thumb drive with a copy to RAM cheatcode and a persistent savefile. However, it is setup only to save to the savefile on shutdown, so I am able to remove the thumb drive and use the system like normal until I decide to shutdown. The system even asks whether the drive is plugged in and whether or not I wish to save that session, and then searches for the savefile partition by UUID. However, it takes at least a minute even on an extremely fast thumb drive to copy all 2.5 GB into RAM and boot, and I would like to switch to Porteus with a similar setup, where I can copy a very similar system to RAM and boot in under 30 seconds.
I have found that I can achieve something very similar to this setup if I pass the changes=EXIT:/path_to_savefile boot code. However, even though this tells the system I only want to save changes on shutdown, the system still won't release the drive to be unmounted. I found several other topics where this is also the case. Here's three in particular:
Cheatcodes and removing USB
[Solved] Newbie - Remove CD/USB after booting
Caja - Unmount USB stick failed
First, if there is a way to release the thumb drive and still have a persistent file on it already, please enlighten me! I would love to find out this is already a capability.
Otherwise, I suppose this is less a bug report than a feature request. I may be the only one who wants this feature, but I'd be surprised if there aren't others who would benefit from this. Also admins feel free to move this topic if this is the incorrect location.
Thanks!
Often I find it very handy to be able to boot a persistent Linux system to RAM from a thumb drive, then remove the thumb drive and use the system like normal until I need to save a file to it or save the session's changes to the persistence file, which is usually on shutdown. It seems logical to me that there should be a way to remove the boot media after booting to RAM, and still be able to use a persistence file without having to create a module with any changes each time a change is made.
I use MX Linux pretty extensively with a similar setup to what Porteus has to offer. I boot from a thumb drive with a copy to RAM cheatcode and a persistent savefile. However, it is setup only to save to the savefile on shutdown, so I am able to remove the thumb drive and use the system like normal until I decide to shutdown. The system even asks whether the drive is plugged in and whether or not I wish to save that session, and then searches for the savefile partition by UUID. However, it takes at least a minute even on an extremely fast thumb drive to copy all 2.5 GB into RAM and boot, and I would like to switch to Porteus with a similar setup, where I can copy a very similar system to RAM and boot in under 30 seconds.
I have found that I can achieve something very similar to this setup if I pass the changes=EXIT:/path_to_savefile boot code. However, even though this tells the system I only want to save changes on shutdown, the system still won't release the drive to be unmounted. I found several other topics where this is also the case. Here's three in particular:
Cheatcodes and removing USB
[Solved] Newbie - Remove CD/USB after booting
Caja - Unmount USB stick failed
First, if there is a way to release the thumb drive and still have a persistent file on it already, please enlighten me! I would love to find out this is already a capability.
Otherwise, I suppose this is less a bug report than a feature request. I may be the only one who wants this feature, but I'd be surprised if there aren't others who would benefit from this. Also admins feel free to move this topic if this is the incorrect location.
Thanks!