You are not logged in.
I'm installing Arch Linux and adding its option to the boot menu. I'm using systemd-boot as the bootloader.
https://wiki.archlinux.org/index.php/sy … figuration
title Arch Linux
efi /vmlinuz-linux
options initrd=??? root=PARTUUID=14420948-2cea-4de7-b042-40f67c618660 rootfstype=ext4 rw
The docs say I need to include a path to initrd or initramfs-linux.img. I don't know where those should be or where to find them. I don't have either of those in my boot directory.
I do have /usr/bin/mkinitcpio however.
What path do I include to initrd?
Also, what does the rw on the end of options mean?
Last edited by lashawnerlantz (2017-01-18 04:32:44)
Offline
/boot doesn't contain vmlinuz-linux anymore actually.
# ls boot
EFI 'System Volume Information' boot loader
Offline
The path is generally the same as the path to the kernel
Re-read your link, though, the confgi you posted is wrong.
Online
/boot doesn't contain vmlinuz-linux anymore actually.
# ls boot
EFI 'System Volume Information' boot loader
That was because I had the EFI partition mounted. When I unmount it, all I have is vmlinuz-linux
Offline
So it wasn't mounted when you installed the kernel. Why not?
Online
Okay, I ran mkinitcpio -p linux and generated the initrd image. Now it seems like files are in separate partitions:
# ls boot (/dev/sda7)
vmlinuz-linux initramfs-linux.img
/dev/sda2 (EFI partition)
EFI 'System Volume Information' boot loader
Last edited by lashawnerlantz (2017-01-18 04:22:33)
Offline
So it wasn't mounted when you installed the kernel. Why not?
An accident I guess. Can I move the kernel into the correct spot?
Offline
The path is generally the same as the path to the kernel
Re-read your link, though, the confgi you posted is wrong.
The example they give is an optional variant:
title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=PARTUUID=14420948-2cea-4de7-b042-40f67c618660 rw
Offline
Since the initramfs is missing too, just delete it, mount the partition, and reinstall the kernel.
Online
Since the initramfs is missing too, just delete it, mount the partition, and reinstall the kernel.
Okay, that worked. Thank you for your help.
Offline