QmKt2dmmU49sdcm.jpg

I am just about to set up my new Linux machine, which will be used to convert analog video and audio to digital video and audio. Is there any reason why I shouldn't run the system off of a live USB stick (say, a good quality one from Sandisk), that is, without installing Linux on the hard drive and not setting up a boot partition, a system partition, and all that?

you are viewing a single comment's thread
view the rest of the comments
[–] 49 points 3 days ago (21 children)

Mainly performance will take a hit. USB drives are also not really rated for consistent writes so you'll find a USB dies quicker than a standard drive

  • source
  • hideshow 21 child comments
  • [–] 1 point 1 day ago

    If you have the ram for it, you could set it so that on boot it copies everything to ram and then you basically get the best performance at the cost of a few gigs of ram. Though it probably isn't gonna be that much better than just an ssd.

  • source
  • parent
  • [–] 4 points 2 days ago* (2 children)

    Running from USB usually means it boots from USB and then is stored on your RAM. If you don't write to the drive at all, the USB will usually be fine.

    I have XigmaNAS (FreeBSD) setup like that. Works fine if the OS is really small.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 day ago (1 child)

    XigmaNAS user here... Only downside to that is that you will only find out the USB drive is bad when rebooting (happened to me once). But keeping good backups for the configuration makes recovering a 5 min thing.

  • source
  • parent
  • hideshow 1 child comment
  • [–] [S] 10 points 3 days ago (16 children)

    I see. Well, scratch that then. 😅 Thanks! 🥰

  • source
  • parent
  • hideshow 16 child comments
  • [–] 18 points 3 days ago (3 children)

    You could buy an M.2 to USB enclosure and use a proper SSD NVMe as "USB drive" but I don't really see any gain in it.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 8 points 2 days ago

    The gain is portability. I do this between repairing family machines. You can take your OS and near m.2 mobo speeds and get to work. Live USBs are needed sometimes but having what's yours when you need it exactly where you need it is what matters in times of getting shit done.

  • source
  • parent
  • [–] 1 point 2 days ago

    That's what I do. I upgraded the SSD in my Steam Deck to a 1tb (before the prices went nuts, thankfully) and then ended up with a spare 256gb drive. I put it in an enclosure and installed NixOS on it as a sort of second system. It doesn't really do anything super important, it's more a learning project to get comfortable with NixOS without interfering with my daily driver. I could have just as easily done it in a VM but what can I say, I'm a tinkerer lol

  • source
  • parent
  • [–] 11 points 3 days ago (6 children)

    If /home and /var are on disk and not USB then it might be ok. The rest of the os is typically only written when installing or configuring things.

    Try it, might be fun.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 8 points 3 days ago* (2 children)

    Also the smaller OS's (puppy linux, tailOS) that can run entirely in RAM are going to be fast when it comes to anything but disk reads.

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 3 points 3 days ago (2 children)

    In such a scenario, do I create mount points for them or is there some other, preferred way of pointing to them? Symlinks?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 8 points 3 days ago (1 child)

    It's not a deal-breaker or anything tho. Just not for something long term. Totally feasible as something quick and dirty tho.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 3 days ago (2 children)

    I guess an SD card might be better. RasPis work from those for years just fine. Just don't kill the power, power down nicely. SD cards are fragile on that

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 2 points 3 days ago (1 child)

    Interesting! Never thought of that, even though I am running three RPis 😅 I do have a micro SD card and a micro SD card to USB adapter... 🤔

  • source
  • parent
  • hideshow 1 child comment