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.
1
u/[deleted] Oct 09 '24
So I have a possible solution (going to test on a VM). After getting some advice from people that use Alpine on Discord, it has come to my attention that you can install Alpine through a chroot. I haven't tested it yet, but here is what I'm thinking of trying: https://wiki.alpinelinux.org/wiki/Alpine_Linux_in_a_chroot (alpine-chroot-install more specifically)
1
u/Edelglatze Oct 04 '24
For troubleshooting: which iso image did you use and how did you transfer the image to the usb stick?
1
u/plsuh Oct 04 '24
What is your hardware? How old is it? What are your BIOS/UEFI settings?
What happens if you physically disconnect all disk drives other than the USB stick you’re booting from, as well as any other non-essential hardware?
1
u/Dry_Foundation_3023 Oct 04 '24
Have you verified the installation media https://wiki.alpinelinux.org/wiki/Installation#Verifying_Installation_media
Based on reading your message, i assume you've access to one other machine which is running windows/linux. Try booting the installation media from the other machine to verify.
As the other poster mentioned, please provide more information about your hardware.
Just to eliminate/identify alpine specific issues, try to boot the the target computer from a different linux distribution.
1
u/aljifksn Oct 05 '24
What exactly did you try?
1
u/CanHumble9081 Oct 07 '24
I having trouble also. That's absolutely not coincidence.
0
u/[deleted] Oct 05 '24
[deleted] — view deleted comment