46
submitted 9 months ago by Anonymouse@lemmy.world to c/linux@lemmy.ml

I had a super fast but small SSD and didn't know what to do with it, so I was playing with caching slow spinning LVM drives. It worked pretty good, but I got interrupted and came back a few weeks later to upgrade the OS. I forgot about the caching LVM, updated the packages in preparation for the OS upgrade, then rebooted. The LVM cache modules weren't in the initfs image and it didn't boot.

I should know better. I used to roll my own kernels since Slackware 1.0. I've had build initfs images for performance tweaks. Ugh!

Where's my rescue disk?

top 8 comments
sorted by: hot top controversial new old
[-] db2@lemmy.world 8 points 9 months ago

Rescue disk 🤣 It's hard enough to find a drive much less a disk.

Next time keep your old kernel around a while, you can always boot it to fix a goof instead of messing around with rescue images.

[-] Anonymouse@lemmy.world 2 points 9 months ago

🤦‍♀️ I've never considered this, but it's the simplest solution and makes perfect sense. I'm always so diligent to keep my system clean to save a few megs.

This particular server is an old PowerEdge server I'm using to learn server stuff on and a practice home lab. Unfortunately, it won't boot from SD card, so I have a few DVD RW's in a drawer. I've read that there's a SD slot inside that you can emulate a floppy, but haven't explored it.

[-] pastermil@sh.itjust.works 7 points 9 months ago

A Gentoo LiveUSB and some chroot would save your day!

[-] taladar@sh.itjust.works 3 points 9 months ago

Adding a netboot.xyz EFI boot menu entry can be useful if you do not need a live system often and do not have a USB stick when you do.

[-] pastermil@sh.itjust.works 1 points 9 months ago

But don't you need a wired network connection for this to actually work?

[-] taladar@sh.itjust.works 1 points 9 months ago

I have only tried it with wired but it uses ipxe and that is supposed to work with Android USB tethering too to bridge to other kinds of network access.

[-] Anonymouse@lemmy.world 2 points 9 months ago

I have the Debian netinst disk, but it doesn't include the dm-cache modules, so I downloaded the live DVD last night. I only get about an hour a day to work on stuff.

[-] SheeEttin@programming.dev 2 points 9 months ago

Aren't you supposed to add modules by putting them in some config file so they get added automatically?

Fixing your problem should also be achievable from single-user/rescue mode too, no need for a rescue disk.

this post was submitted on 14 Jan 2024
46 points (92.6% liked)

Linux

48048 readers
758 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