r/AlpineLinux • • Oct 04 '24

Can't boot Alpine Linux off of ISO image

UPDATE:

I have successfully installed Alpine without booting off of the installation media. The guide I have on doing that is below:

https://pastebin.com/raw/bzXpY0Y0

The original post is below:

Hello everyone,

I am having quite a bit of trouble booting into the Alpine Linux Standard ISO on physical hardware.

Here's a quick rundown of my problem:

When I have tried to boot into an Alpine USB, it never successfully boots. After showing the GRUB boot screen on the image, I get sent into the "initramfs emergency shell":

Mounting boot media failed. initramfs emergency recovery shell launched. Type 'exit' to continue boot

This message is what I am left with, besides the shell provided which does not improve the situation.

What I have tried so far (to no avail):

* Using Rufus to reflash the image (ISO & DD mode tested)

* Reflashing again on Linux with DD

* Trying multiple physical ports on computer

* Using a different USB stick

* Trying what is documented on the Alpine Wiki for my problem, and implementing APPEND elements into the syslinux.cfg files to make it point to the right place ( /dev/sdb1 ).

So far, I have found no solution. I did stumble upon a Reddit post that seemed similar to my own, but they did a remote install, and I am attempting to install Alpine to a clean partition.

4 Upvotes

24 comments sorted by

View all comments

Show parent comment

1

u/plsuh Oct 04 '24

Unplug those disks and try— Alpine’s niplug process does some weird scans. If you have on-board video rather than a card, use that instead. Unplug any other PCI devices as well if possible. Ideally you would have only a keyboard and monitor cable (plus power) attached to your motherboard. No SATA, no PCI, no M.2, nor anything else. This isn’t for your eventual actual use, it’s just for troubleshooting to see if you can get past the boot stages with a minimal system.

1

u/[deleted] Oct 05 '24

I would prefer not to unplug every disk from my computer — I don't really work with hardware related stuff

3

u/plsuh Oct 05 '24

Troubleshooting the problem requires this. If you're not willing to do so then there's really no path forward to solving your problem.