Spyke
slrpnk.net

I still remember when I tried to run a binary on a different architecture and got the message: "Bad elf magic"

102
Nintendoreply
lemmy.world

well what else would you expect it to say when you never practice your elf magic?

26
lemm.ee

It's an acer laptop i5 GeForce mx 130, basically I updated the linux firmware and put it on suspend but nvidia GPU did it's thing and it didn't wake up from sleep. So I has to power it off directly and it booted up to this.

27
andrewreply
lemmy.stuart.fun

From the looks of it, grub is grumpy. Do you get this after choosing a boot option? If so, can you try choosing recovery vs regular boot? If not, you may need to get a live USB plugged in and reinstall grub.

Edit: on further searching, this might be a zfs error. Are you using openzfs?

23

If you're using ZFS, make sure you're using an LTS kernel.

8

Oh look, another old laptop with Nvidia Optimus having trouble with suspension.

15
NX2reply
feddit.de

I think it's a joke OP doesn't need help.

1

If it were like that it would say "Press the any key".

2
Shdwdrgnreply
mander.xyz

There's actually a distro called Sourcemage with commands like cast/dispel/summon and packages stored in grimoires. I ran it for awhile on my servers. The command structure is quite fun.

13
kbin.social

So, I have been doing a system with my pc where I have a case full of different nvme ssds with different OSes on them. I might have to do that on one of them.

7
Shdwdrgnreply
mander.xyz

Have you thought about just running KVM on a machine and building out virtual images there? Then you don't have to swap hardware and you can reach them from your desktop through VNC.

5
kbin.social

Sure, but I prefer running bare metal also I then can move it around between various computers. Each one is used a regular system, just different purposes. So, running in a virtual machine doesn't make much sense for me. I'll use nothing but openbsd for a week, then I'll swap over to arch to play some games, then I go into gentoo or something else for whatever other task I'm feeling.

5

Gotcha! No worries, I just thought I'd mention it since some people don't seem to even know that's an option.

4
lemm.ee

Jokes aside, you either installed for the wrong architecture, or you're fucked hard.

23

If I needed to press a key with called "any", it would say "Press the any key", for the same reason you say "in the eighth grade".

0
lemm.ee

Okay guys it's fixed! I had to reboot into an older kernel, that did it. I was kinda panicking, cuz i have to use it for work.

18
ledtassoreply
lemmy.world

This is really odd, I hit this same issue recently. Booting into an old kernel also fixed it for me. What distro are you using? I'm on Ubuntu.

3

Maybe it replaces the kernel during reboot. But since i powered it off directly, the magic disappeared.

4
lemmy.ml

I got "invalid magic number" when trying to set up grub

6
frippareply
lemmy.ml

IDK but it was my fault, I was a noob and was trying to run Ubuntu server from live usb with one (1) month of Linux experience, at least I experimented Idk, that's the point I guess.

2

at least I experimented Idk, that’s the point I guess.

That's absolutely the point.

I've done most of my learning after messing up my system (or at least learnt the lessons that stuck the most).

4

Update: for anyone who's having the nvidia suspend issue and finds this post. Apparently turning off OS prober in the grub config fixes that. Good day, and keep practicing the magic!

2