You are not logged in.

#1 2026-01-06 07:24:35

Hacksign
Member
Registered: 2012-07-30
Posts: 137

What is the correct way to boot Archlinux with iPXE ?

Hi there,

I had to using iPXE to install Archlinux on my cloudserver.

I can now get a iPXE shell, and setup the network manually.

But the boot is unsuccessfull, all methods I have tried (described as below) was stuck on mounting root fs.

Method 1:

iPXE> kernel http://hk.mirrors.cicku.me/archlinux/iso/latest/arch/boot/x86_64/vmlinuz-linux
iPXE> initrd http://hk.mirrors.cicku.me/archlinux/iso/latest/arch/boot/x86_64/initramfs-linux.img
iPXE> imgargs vmlinuz-linux initrd=initramfs-linux.img archiso_http_srv=http://hk.mirrors.cicku.me/archlinux/iso/latest/ archisobasedir=arch

Method 2:

iPXE> kernel http://hk.mirrors.cicku.me/archlinux/iso/latest/arch/boot/x86_64/vmlinuz-linux vmlinuz-linux initrd=initramfs-linux.img archiso_http_srv=http://hk.mirrors.cicku.me/archlinux/iso/latest/ archisobasedir=arch
iPXE> initrd http://hk.mirrors.cicku.me/archlinux/iso/latest/arch/boot/x86_64/initramfs-linux.img

The above 2 methods end up with error:

......
:: running hook [archiso_pxe_nfs]
:: Mouting '' to '/run/archiso/bootmnt'
ERROR: '' device didnt show up after 30 seconds...

Method 3:

iPXE> kernel http://hk.mirrors.cicku.me/archlinux/iso/latest/arch/boot/x86_64/vmlinuz-linux
iPXE> initrd http://hk.mirrors.cicku.me/archlinux/iso/latest/arch/boot/x86_64/initramfs-linux.img archiso_http_srv=http://hk.mirrors.cicku.me/archlinux/iso/latest/ archisobasedir=arch

This method gives me a kernel panic and the stack backtrace:

[....] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0, 0) 

Any suggestion ?

Offline

#2 2026-01-06 13:42:10

solskogen
Member
From: Norway
Registered: 2005-03-06
Posts: 140

Re: What is the correct way to boot Archlinux with iPXE ?

This is what I use

kernel http://archlinux.carebears.no/iso/latest/arch/boot/x86_64/vmlinuz-linux initrd=initramfs-linux.img archiso_http_srv=http://archlinux.carebears.no/iso/latest/ archisobasedir=arch BOOTIF=${netX/mac} ip=dhcp cms_verify=y verify=n
initrd http://archlinux.carebears.no/iso/latest/arch/boot/x86_64/initramfs-linux.img

Offline

#3 Yesterday 03:46:48

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,483

Re: What is the correct way to boot Archlinux with iPXE ?

The boot media for arch install has a ipxe option.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB