17
submitted 11 months ago by [email protected] to c/[email protected]

Tell me your favourite rescue USB image and why!

Also rescue tips and tricks as that's always interesting.

I have been using a Debian installer USB as I had it to hand (DVD image IIRC) but if I boot into a shell without mounting another root FS the number of utilities is quite limited (just busybox basics). For example just now I wanted gzip but it only had gunzip...

I feel like a shell started from the installer USB should have access to a lot more utilities because the files are there on the disk!

Does anyone know a way to set up a kind of USB like the debian installer where you can install packages from the installer into the live environment?

top 19 comments
sorted by: hot top controversial new old
[-] [email protected] 9 points 11 months ago

I've just got Arch Linux installed on a USB drive. I set it up so it works with both UEFI and legacy BIOS boot. It works great - I can install whatever tools I need on it, I can even use it as a little portable Linux drive if I need that. I've also used it to install Arch on a number of my computers.

The only issue is that the USB drive is pretty slow, so it's not the best experience using it

[-] [email protected] 2 points 11 months ago

Slower than the kind of shell you get in the Debian installer?

Is it slower because it's trying to log and write to the root fs whereas the installer runs everything in RAM and doesn't write to the USB?

[-] [email protected] 2 points 11 months ago

Yeah I think so. There are some optimisations that can be done to improve things, but at the end of the day it's running off a slow USB drive

[-] [email protected] 1 points 11 months ago

I do the same thing with NixOs, pretty handy but damn slow.

[-] [email protected] 7 points 11 months ago

I've been using SystemRescue (formerly SystemRescueCD) since forever & it's usually more than enough for anything I need to get done. Though nowadays just about any Linux live image can probably do the job if that's all you have at the moment.

[-] [email protected] 2 points 11 months ago

I use the same since, at least, version 6. It helps with lots of problems.

[-] [email protected] 6 points 11 months ago* (last edited 11 months ago)

I mostly use systemrescueCD, but in fact it doesn't really matter. All I usually need is to mount the root filesystem, dev, sys and proc, then chroot into this environment and fix the breakage. Any live image will work for that.

[-] [email protected] 5 points 11 months ago* (last edited 11 months ago)

I just use whatever live image I last wrote to a flash drive, because it requires zero extra effort or storage, and they all have what I would need from a rescue environment anyway.

[-] [email protected] 1 points 11 months ago

So what would you do if you needed gzip like in my example? In this example I was able to mount the root FS of the existing system to use it but that isn't always possible.

[-] [email protected] 2 points 11 months ago

I use full desktop live images. They have gzip, among many other things, including the ability to install more packages into the live environment's RAM disk.

[-] [email protected] 4 points 11 months ago* (last edited 11 months ago)

I use a Puppy Linux derivative - QuickPup64 to be exact. What sets this apart from other Puppies is that QuickPup is updated regularly and has a recent kernel, with the biggest advantage being that QuickPup is compatible with almost all the popular Linux package formats out there.

Wider package support. Aside from PET, Debian (DEB), Red Hat (RPM), Slackware (TXZ, TGZ), and Arch Linux packages (PKG.TXZ).
It also accepts the following packages (natively installed, no more package conversion needed. This allows to utilize almost all available linux packages):
->Slitaz (*.tazpkg)
->Tiny Core (*.tcz,*.tce,*.tcel,*.tcem)
->Pardus (*.pisi)
->Alpine Linux (*.apk)
->Slax (*.sb)
->OpenWRT (*.ipk)
->0linux (*.spack)
->Void linux (*.xbps)
->Damn Small Linux (*.dsl)
->Puppyrus (*.pfs)
->Nutyx (*.cards.tar.xz)
->Solus (*.eopkg)
->Stampede (*.slp)
->Porteus (*.xzm,*.lzm)
->Gentoo precompiled package (*.xpak)
->Paldo Linux
->Venom Linux (*.spkg.txz)

I also have to say that Puppy is fast - it's designed to be run off USB and work on older systems with limited resources, so this thing absolutely flies, compared to a regular distro.

[-] [email protected] 3 points 11 months ago* (last edited 11 months ago)

Gparted-live or base Archlinux for me as I have the most experience with these 2

[-] [email protected] 1 points 11 months ago

Yeah, i just use Arch or Ubuntu install.

[-] [email protected] 3 points 11 months ago

I have a drive with Ventoy on it and ISOs for Hiren's, Rescatux, and NixOS, along with a custom ISO of NixOS with some tools pre-installed. Super easy to generate.

[-] [email protected] 1 points 11 months ago

Did you make the custom ISO of NixOS yourself? What did you add?

[-] [email protected] 2 points 11 months ago

I did, instructions are here! I don't remember off the top of my head, but I think it's mostly network related tools like nslookup and nmap. You can easily add anything you can find on their package search.

[-] [email protected] 2 points 11 months ago
[-] [email protected] 2 points 11 months ago

I'm using Hiren's Boot CD (not PE), it has a handy linux rescue environment and password reset utility.

But if it doesn't count, recent I found MX Linux installation USB are also useful for me to do partition tasks, as well as grabbing files from folders with limited privileges of my Windows partition.

[-] [email protected] 2 points 11 months ago* (last edited 11 months ago)

I have a Porteus USB that I keep handy with my old Hirens USB. It’s Slackware based and a bit goofy when it comes to installing other apps, but because it’s a USB portable OS first I feel it’s one of the ones that handles that limitation best. I used to use Puppy IIRC.

this post was submitted on 15 Aug 2023
17 points (94.7% liked)

Linux

7348 readers
56 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS