-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add persistence option #413
Comments
Hi @timtjtim , I don't think I understand the feature request very well. What do you mean by writable space? USB drives written by Etcher shouldn't be read-only, so you could mount it back and put any other files you want. |
Hi @jviotti, I believe @timtjtim is speaking about the option for persistent storage when creating a live USB for Linux OS's like Ubuntu, Mint, and more. What it does is allow the live USB to have files written and stored on it (like a normal OS) and actually allow for the files and changes to be saved when closing, disconnecting, and rebooting back into the live USB. Additionally, UNetbootin is the application that has this feature; and honestly, I'm a big fan of it myself. I'd really like to see a feature like this implemented into Etcher if possible. |
@jviotti Yes, @miniShrooms is correct. That's the idea. |
Hey there, Thanks for the very detailed explanation. I'll play around with |
I'm too interested in persistent storage, so I can install some packages in my usb only once, and also only have to disable the screensaver once 👍 |
See: #413 See: #783 (comment) Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
…#805) See: #413 See: #783 (comment) Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
Reading UNetbootin's source, the approach it takes is to create a |
Another modification of the same kind is to extend the last partition to
the end of the card. Raspbian and resinOS both need/do that. It sounds like
we should curate a list of "post-write interventions" people may want to
make to their images, and then see how we can encode these in the etcher
format. Once we have that in place, we should find how to open these up to
vanilla images. We could, potentially, offer the users manual ways of
triggering them from the success screen, or maybe having some kind of
heuristic?
…--
*Alexandros Marinos*
Founder & CEO, Resin.io
+1 206-637-5498
@alexandrosm
On Fri, Nov 25, 2016 at 12:47 PM, Benedict Aas ***@***.***> wrote:
Reading UNetbootin's source, the approach it takes is to create a
casper-rw file
<https://github.com/unetbootin/unetbootin/blob/787323b2a4595c50a400f1024ca141e4708c7b7d/src/unetbootin/unetbootin.cpp#L4259>
in the root directory by padding it with \NUL to the user specified
size—limited to 4GB by FAT32—and then running mke2fs on said file. On
Windows, it ships with a mke2fs.exe executable
<https://github.com/unetbootin/unetbootin/blob/787323b2a4595c50a400f1024ca141e4708c7b7d/src/unetbootin/unetbootin.cpp#L4266>.
Another approach is to make an EXT2 partition labelled casper-rw which
doesn't have the 4GB limitation. In order to facilitate persistence it also seems
to enable a kernel option for persistence
<https://github.com/unetbootin/unetbootin/blob/787323b2a4595c50a400f1024ca141e4708c7b7d/src/unetbootin/unetbootin.cpp#L3626>
which it then adds to the GRUB config
<https://github.com/unetbootin/unetbootin/blob/787323b2a4595c50a400f1024ca141e4708c7b7d/src/unetbootin/unetbootin.cpp#L3679>
.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#413 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABLUCEGBlP4IzDGC6Rn0p3mOd5-dd3AIks5rBtj9gaJpZM4IfV2T>
.
|
👍 I was thinking along exactly the same lines after @petrosagg 's LKL talk. |
Hi. I'm not sure whether the following could assists you about adding this feature or not. Please look for this program: https://www.pendrivelinux.com/ it is for Windows only. But look to it, my be of benefit. Look to last change log for Universal USB Installer - Easy as 1 2 3: it say: Universal-USB-Installer-1.9.7.7.exe – March 21, 2017 – Changes Also, there is other program: But 1st program (Universal USB Installer - Easy as 1 2 3) Best. |
Hi, is this feature still planned on the todo list ? Would be a great addition to etcher, for example compared to Rufus. |
Not sure if persistence will be added to etch.. for ubuntu distro's, unetbootin and liveusb cover that.. however, needs to be fat32/16 filesystem. Try multiboot-usb, good for testing live iso's. Can also handle persistence for deb/ubu , also supports ext4 fs. Most live iso's have persistence built in. But that's another story... |
This would be an awesome feature. Etcher is second to none in terms of ease of use, but not being able to enable persistence makes it unusable for most of my purposes. |
I have been researching during my free time to contribute and make this feature available in balena, but my point is I have figured this out for Debian/Ubuntu Systems already but not sure how to implement it for other Distros. Would love to have some help. |
@ohbus Can you describe your solution for Debian/Ubuntu? |
@ohbus I'd assume that https://unetbootin.github.io/#distros and https://github.com/unetbootin/unetbootin/ and https://github.com/unetbootin/unetbootin/wiki/howitworks would be good starting points? |
Yes
Yes you are absolutely right. They are the starting point, but need to implement it for different OS and archtype. I'm a little busy right now, will surely get back to this once I get some time. Thank you. |
Ohbus, is there a way to make it with ParrotOS. If you can make a secondary application that has that option. It may greatly enhance your solutions because errors would pop up. |
Ah yes. Quarter Gig of an app to do what a 0.000075 Gig What a waste of my SSD capacity! The app so beautifully displays the 16 GiB flash capacity I picked to boot from — only to put a measly 1.3G of casper-rw free space on it. What a waste of my flash capacity! Honestly guys? I'm disappointed. Four orders of magnitude bloat is not okay. My SSD space is not that cheap as you'd like to think. My time is not that cheap, to start over with a tool that doesn't suck, and can produce a usb stick which can boot and store another ISO image on it. Keep not caring. |
This is just an utterly useless and highly disrespectful post. You sound as if you are being forced to use this application that has been made available to all of us for free. |
Ah yes. Quarter Gig of an app to do what a 0.000075 Gig dd tool does — but with eyecandy.
Use dd then.
|
Dying to see the plans to implement that. (Considering it's an Electron app.) With all due respect, I simply don't buy that presumed promise that bloat reduction will ever be implemented here. Also, the fact that the previous commenter had promptly deleted their criticism — is a stellar indication that honest feedback is not taken well in this community. Respectfully, I'll let you draw your own conclusions. |
... I apologize as well, my original rant has obscured the real point I was making:
That should make it clear why I posted that in this issue specifically. |
Rufus supports persistence. |
We know this already. Rufus doesn’t run on Unix platforms |
"gufw", supports persistence. Do usb stuff |
Apologies " dusb "do usb stuff |
Sorry was away from home when i commented, the software i was referring to is "mkusb". A GUI for linux - supports persistence. Have only used etcher for raspberry pi images, I do however pre format SD to FAT32 before i use any writing applications. |
was expecting this functionality on etcher also :( |
This feature would be great. It's 2024 and I can't believe I am unable to set up a bootable linux USB thumbdrive with persistence without already having a Linux or Windows machine around.
|
I can't remember which app does it (perhaps
usb-creator-gtk
) but I remember being able to choose the free space for writing files when booting a Live USB such as Ubuntu.Is this supported / could this be supported?
The text was updated successfully, but these errors were encountered: