89

School is starting up soon, and I want to install a stable distro to a 64GB flash drive that i own will remain stable while booting onto at least 2 computers (my home PC for maintenance and my School laptop for, well school).

I was thinking of just using Debian, but wasn’t sure if it would work well in terms of compatibility with my requirements.

Any insight would be greatly appreciated.

top 50 comments
sorted by: hot top controversial new old
[-] cerement@slrpnk.net 28 points 1 year ago
[-] kanzalibrary@lemmy.world 2 points 1 year ago
  • for Ventoy! more dynamic Linux experiences is one place and functions for one time effort..
[-] ashley@lemmy.ca 1 points 1 year ago

They're looking for a persistent install on a flash drive. To my knowledge it’s not easy to make ventoy do that.

[-] toothpaste_sandwich@feddit.nl 1 points 1 year ago* (last edited 1 year ago)

Interesting! But will changes made to the OS you're using be persistent? If I'm reading this right, then probably not, right?

[-] cerement@slrpnk.net 3 points 1 year ago

correct – you can save individual files to the USB stick but anything like UI customization will be lost

[-] InverseParallax@lemmy.world 2 points 1 year ago

There are ways, but it's not standard.

[-] Dotdev@programming.dev 2 points 1 year ago

You can you will have to set somethings up for it.

[-] toothpaste_sandwich@feddit.nl 1 points 1 year ago

That's interesting, I'd be interested in finding out more about that. Let's see, I've always wanted to try this:

@ChatGPT@lemmings.world, how do you set up Ventoy for persistent installs of distros? That is, to be able to make changes to the operating system and have them stick?

[-] ChatGPT@lemmings.world 4 points 1 year ago

Hi toothpaste_sandwich@feddit.nl,

Creating persistent live USBs with Ventoy is possible. However, keep in mind that not all Linux distributions support this feature. The distributions that Ventoy currently supports for persistent installations are Ubuntu and some of its derivatives.

Here's a basic step-by-step guide:

  1. Prepare Ventoy: Ensure that you've already installed Ventoy on your USB drive. If not, download the latest Ventoy release from its official website and install it to your USB drive.

  2. Prepare the ISO file: Download the ISO file of the Linux distribution and copy it to the Ventoy USB drive. You can just put it in the root directory.

  3. Create a persistence file: Ventoy uses a data file to enable the persistence feature. You need to create this file on the Ventoy USB drive, there is an official utility named create_vtoy_img.sh in Linux or Ventoy2Disk.exe on Windows that you can use to create this persistence data file. Name the file and define its size according to how much persistent storage you need.

  4. Bootstrap the persistence feature: After creating the data file, you should create a JSON file in the Ventoy USB drive to bootstrap the persistence feature. You can create a .json file in the root directory of the Ventoy USB drive with the following format:

{
    "persistence" : [
        {
            "image" : "/your-linux-distro.iso",
            "backend" : "/ventoy-persistent-data-file.dat"
        }
    ]
}

Replace your-linux-distro.iso with the filename of your Linux distro ISO file and replace ventoy-persistent-data-file.dat with your Ventoy persistent data file's name.

  1. Boot from the Ventoy USB drive: Finally, boot your computer from the Ventoy USB drive. The Linux distro will launch with the persistence feature, so you'll be able to save any changes you make.

Remember this is a generalized guide and actual steps can vary based on the specific distro, and tools being used.

Hope this helps! If you encounter issues or have further questions, feel free to ask.

(bot@lemmings.world)

[-] toothpaste_sandwich@feddit.nl 3 points 1 year ago* (last edited 1 year ago)

Huh, well, that doesn't seem very convenient at all. I'm not all that interested in Ubuntu-based distros, for one.

Still, the ChatGPT bot seems to work well, so that's pretty cool.

[-] Dotdev@programming.dev 2 points 1 year ago

Arch and fedora are supported as well.

load more comments (1 replies)
[-] 52fighters@kbin.social 24 points 1 year ago

Do yourself a favor and get an external hard drive. You'll get much better results and can run almost any distro with it.

[-] jollyrogue@lemmy.ml 15 points 1 year ago

Definitely this.

I gave up on thumb drives as they are kind of trash. External NVMe drives are affordable, and the speed difference is BIG.

[-] nathris@lemmy.ca 8 points 1 year ago

Even better get a NVMe enclosure and an internal NVMe drive.

Enclosures are $20 and you can get a 500gb Samsung 970 Evo for $35.

Smaller, lighter, cheaper and faster than any off the shelf portable drive you could get. I have one and it fully saturates the USB C 10Gbit port on my motherboard.

[-] Qkall@lemmy.ml 17 points 1 year ago

somehow no one said puppy linux. it's small, fast and functional. there is an compatible debian version here - https://vanilla-dpup.github.io/

load more comments (1 replies)
[-] UnfortunateShort@lemmy.world 16 points 1 year ago* (last edited 1 year ago)

One piece of advice I want to throw in here: Use a proper file system! exFAT or F2FS are flash-aware and will ensure that you dom't kill your drive by frequent writes to the same memory cells!

[-] Junkdata@lemmy.ml 12 points 1 year ago

Do you want it to be persistent(all your stuff is saved) or you dont mind it starting fresh everytime you plug in to devices?

[-] jollyrogue@lemmy.ml 10 points 1 year ago

It’s more about your software requirements then anything else.

Stable distros can be a pain when run as a desktop, so that might need to be rethought.

OpenSuse Tumbleweed is a rolling distro which deserves a look.

Endeavor OS for something Arch based.

Debian Testing is rolling for something Debian.

Fedora is semi-rolling for something in the red hat ecosystem.

OpenSuse Leap is a stable distro which gets bumped once a year, so that might be an option.

[-] SethranKada@lemmy.ca 10 points 1 year ago

You could try Tails, it's specifically made for this purpose. It's ui is a bit old looking though, and it's not that user friendly. If you can stand xfce or kde though, you'll feel right at home though.

load more comments (3 replies)
[-] TerkErJerbs@lemm.ee 9 points 1 year ago

Bunsenlabs is Debian-based, but doesn't have a classic desktop environment. Instead it uses super lightweight Openbox window manager and some other tricks to emulate one. It will run very well with 20gb disk space (you have triple that at your disposal). If you remove the programs you don't use (the office suite, etc etc) you can trim the install down even more.

[-] spacedancer@lemmy.world 5 points 1 year ago

Wow Bunsenlabs. Now that’s a distro I haven’t heard in a while. lol. I used to have it on an old laptop many many years ago.

[-] TerkErJerbs@lemm.ee 3 points 1 year ago

I've tried so many others out and I keep going back to it! I put it on everything haha.

[-] buwho@lemmy.ml 2 points 1 year ago

I loved Crunchbang was sad to see it go

[-] cerement@slrpnk.net 3 points 1 year ago* (last edited 1 year ago)
[-] buwho@lemmy.ml 1 points 1 year ago
[-] abuttifulpigeon@lemmy.world 2 points 1 year ago

Very helpful, thank you. I will definitely give this a try!

[-] TerkErJerbs@lemm.ee 6 points 1 year ago

No worries. It's been my daily driver for a very long time at this point across many different machines. If you do go with Bunsen, it's still on Debian 11. You can safely do an apt dist-upgrade to 12 and it will keep the Bunsenlabs flavor without issue. I often run Sid repo as well, no issues for me.

[-] Bleach7297@lemmy.ca 2 points 1 year ago

Solid consumer advice

[-] signofzeta@lemmygrad.ml 6 points 1 year ago

It can be done. Just don’t cheap out. A USB4-attached NVMe disk will be faster than a run-of-the-mill USB 3.0 flash drive, and that will run circles around some cheap $10 USB 2.0 drive.

Not all flash drives are rated for constant use, so be sure to have a backup plan.

Other than that, it’s a cool idea! Go for it!

[-] KrimsonBun@lemmy.ml 5 points 1 year ago
load more comments (1 replies)
[-] Starfish@kbin.social 5 points 1 year ago

Maybe MX linux or AntiX Linux. They are very thumb drive focused

[-] OldFartPhil@lemm.ee 4 points 1 year ago* (last edited 1 year ago)

I've always used Xubuntu. It's reasonably lightweight and the Ubuntu USB creator does the heavy lifting for creating persistence. The only downside is you have to have a running instance an Ubuntu flavor (bare metal, VM or USB) to use the tool.

[-] abuttifulpigeon@lemmy.world 2 points 1 year ago

I'll probably just flash to one drive and install to the other. Thanks for the tip though!

[-] only0218@sh.itjust.works 3 points 1 year ago

Check out the Immutable Versions of Fedora (Kinonite and Silverblue especially)

[-] jsnc@lemmy.blahaj.zone 2 points 1 year ago

If you're using the flash drive as a block storage device with a root partition, I think just about any distribution would fit your requirements. Just try experimenting with it and make sure that both your machines can boot into the flash drive.

load more comments (4 replies)
[-] authed@lemmy.ml 2 points 1 year ago

Almost any Linux distribution would fit that purpose

[-] terminhell@lemmy.dbzer0.com 1 points 1 year ago

Honestly I'd go with something that supports booting in secure boot mode like fedora or Ubuntu(direct derivatives maybe). And yes, install to am external drive if you plan on having persistence.

[-] Red1C3@lemmy.world 1 points 1 year ago

Mint works pretty well as a persistent flash drive distro, the packages are a bit outdated though if you’re going to do a lot of programming

load more comments
view more: next ›
this post was submitted on 23 Jul 2023
89 points (97.8% liked)

Linux

48214 readers
756 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS