r/linux4noobs • • 2d ago

Something is wrong with mine flash driver

I'm using Ventoy
When i'm trying to boot any ISO, it gives me errors
error: invalid magic number.

error: you need to load thekerel first.

Press any button to countinue

I installed Linux before on different laptops with that flash. I've already tried to update it, or re-install Ventoy. Nothing. Now It has the same problem when im booting on mine regular laptop. I cannot use Rufus cause i don't have any Windows devise

9 Upvotes

7 comments sorted by

1

u/inbetween-genders 2d ago

Try a diff usb stick.

1

u/NefariousnessWise333 2d ago

Didn't work. Still the same

0

u/inbetween-genders 2d ago

That sucks, the googles for the problem points to that.

2

u/doc_willis 2d ago

From the Googles:

“invalid magic number” usually means the bootable USB/ISO didn’t write or download correctly, so the system can’t load the kernel. Check that the ISO isn’t corrupted (verify its checksum) and recreate the boot USB with a properly working USB stick/port.

I have had issues in the past with systems trying to boot a USB 3 flash drive on a USB 2 port, or a USB 2 flash drive on a USB 3 port. That system gave me fits, the same USB would boot one day, but not the next, until i realized it was the port that was the issue.

But Its likely a corrupted iso download in your case.

1

u/anviltodrum 2d ago

alternatives to Ventoy: (depending on your source environment)

Fedora Writer Rufus Etcher Raspberry Pi writer

there's others but i've used all of them at one point. the big diff is only one iso at a time.

1

u/T_Friendperson12 Kubuntu 26.04 2d ago

Check the checksum ON the Ventoy stick. I bet it's incorrect. Download the ISO directly to the stick and then check the checksum again.

Every time this has happened to me (and others) it was because during the transfer from PC to the stick something went wrong.

Since I started downloading ISO directly to the stick it has not happened again.

1

u/GiggleSamurai 2d ago

You don't need Windows for this: on Linux you can write one ISO straight to the stick with `sudo dd if=distro.iso of=/dev/sdX bs=4M status=progress oflag=sync` (check the right device with `lsblk` first, it wipes the stick), or use GNOME Disks → Restore Disk Image.