this post was submitted on 23 Jul 2023
89 points (97.8% liked)

Linux

48376 readers
1659 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
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] toothpaste_sandwich@feddit.nl 1 points 1 year ago* (last edited 1 year ago) (3 children)

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 (1 children)

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

[–] toothpaste_sandwich@feddit.nl 1 points 1 year ago (1 children)

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 (1 children)

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) (1 children)

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.