You are not logged in.
Hello, i have some issues booting arch linux live
Basically, i have libreboot as bios, so it won't read the normal grub menu, i have to load the kernel with the command linux and set initrd from the grub cli to run many of the linux distros.
After i digit boot, the distro starts booting , but it show me the error
" ERROR: '/dev/disk/by-label' device did not show up after 30 seconds..."
"Falling back to interactive prompt"
The iso works fine on other computers , so i think it must be something wrong when i load the kernel from grub cli ?
I tried to figure it out on google, searching for old arch forum posts, but couldn't find anything.
Does anybody have some ideas? I don't even know what is /dev/disk/by-label or what is its function , so i don't know where to start for debugging.
Offline
I've never used libreboot, but the Arch Linux live image doesn't use grub, so it sounds like you're booting into the wrong thing.
/dev/disk/by-label should be a directory which contains udev-provided "persistent" symlinks to kernel device nodes. See https://wiki.archlinux.org/index.php/Pe … ice_naming
The Arch live image should load systemd-boot or syslinux (depending on whether your system is configured to boot into UEFI or legacy mode), which should in turn boot into the live environment using the /dev/disk/by-label/ARCH_YYYYMM (e.g. 201910) path.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
i have to load the kernel with the command linux and set initrd from the grub cli to run many of the linux distros.
After i digit boot, the distro starts booting , but it show me the error
" ERROR: '/dev/disk/by-label' device did not show up after 30 seconds..."
What exactly are the grub commands being used?
It should be something like this:
Note: Described method is for using with GRUB2.
GRUB2 is installed on target media and archlinux-<YYYY>.<MM>.<DD>-dual.iso
is at path <TARGET-PATH> on disk <D> and partition <P>,
where filesystem is labeled as <TARGET-FS-LABEL>.
menuentry "Arch Linux (x86_64)" {
set isofile="/<TARGET-PATH>/archlinux-<YYYY>.<MM>.<DD>-dual.iso"
loopback loop (hd<D>,<P>)$isofile
linux (loop)/arch/boot/x86_64/vmlinuz img_label=<TARGET-FS-LABEL> img_loop=$isofile
initrd (loop)/arch/boot/x86_64/archiso.img
}
If the img_label parameter is unset you'll get the error you're seeing.
--
saint_abroad
Offline
I was exactly missing the img_label parameter,and the first two commands,thank you.
What i have to write instead of TARGET-FS-LABEL ?
Offline
I was exactly missing the img_label parameter,and the first two commands,thank you.
What i have to write instead of TARGET-FS-LABEL ?
Label can be anything, it's just a label and will not affect your boot.
Offline
What i have to write instead of TARGET-FS-LABEL ?
From Arch ISO how it works:
When booting, the initramfs will search for the device it was booted from via its label, ARCH_201410 for example, and will mount the root filesystem for the architecture.
The label changes each release. To get the current label, try isoinfo:
# isoinfo -d -i archlinux-2018.03.01-x86_64.iso
--
saint_abroad
Offline