this post was submitted on 05 Sep 2024
77 points (95.3% liked)

Selfhosted

40359 readers
272 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Looking for recommendations for a versatile USB stick with Ventoy. I'm trying to create the "perfect, all-in-all" USB stick using Ventoy to store various ISOs and rescue tools. So far, I have the following ISOs:

  • Arch
  • OpenSuse TW
  • NixOS
  • Bazzite + AuroraDX
  • Win10 ISO
  • Clonezilla

I'm looking for suggestions on additional ISOs or tools that are compatible with Ventoy. What do you recommend adding to make my USB stick to make it more useful?

you are viewing a single comment's thread
view the rest of the comments
[–] tal@lemmy.today 5 points 2 months ago* (last edited 2 months ago) (1 children)

If I need to do an emergency boot from a USB stick to repair something that can't boot, which it sounds like is what you're after, pretty much any Linux distro will do. I'd probably rather have a single, mainstream bootable OS than a handful.

I'd use Debian, just because that's what I use normally, so I'm most familiar with it. But it really doesn't matter all that much.

And honestly, while having an emergency bootable medium with a functioning system can simplify things, if you're familiar with the boot process, you very rarely actually need emergency boot media on a Linux system. You have a pretty flexible bootloader in grub, and the Linux kernel can run and be usable enough to fix things on a pretty broken system, if you pass something like init=/bin/sh to the kernel, maybe busybox instead for a really broken system, and can remount root read-write (mount -o rw,remount /) and know how to force syncs (echo s > /proc/sysrq-trigger) and reboots (echo b > /proc/sysrq-trigger).

I've killed ld.so and libc before and broght back systems without alternate boot media. The only time I think you'd likely really get into trouble truly requiring alternate boot media is (a) installing a new kernel that doesn't work for some reason and removing all the old, working kernels before checking to see that your new one works, or (b) killing grub. Maybe if you hork up your partition table or root filesystem enough that grub can't bring the kernel up, but in most of those cases, I'm not sure that you're likely gonna be bringing things back up with rescue tools -- you're probably gonna need to reinstall your OS anyway.

EDIT: Well, okay, if you wipe the partition table, I guess that you might be able to find the beginning of a filesystem partition based on magic strings or something and either manually reconstruct the partition table or at least extract a copy of the filesystem to somewhere else.

[–] BearOfaTime@lemm.ee 1 points 2 months ago

"Rarely happens"

And yet it still happens often enough if you touch enough boxes or make enough changes across enough boxes.

The thing is, you never know when or where an unbootable box is going to occur. This is why I've carried a loaded thumbdrive for ~20 years (Lacie IAmAKey was my latest, wish they still made them - mine finally died. Knockoffs are available, unfortunately the casing is aluminum, not stainless, so they're easy to bend). And why I keep hot spares around.

Lacie Iamakey