You are not logged in.

#1 2016-11-18 20:54:32

hardover
Member
Registered: 2016-11-18
Posts: 3

[SOLVED]Boot after install stops. \vmlinuz-linux: Not Found

I have read the the installation guide, systemd-boot, and everything I believe is related to the issue. After starting my first install of arch, I get to the "reboot" point where I come across the error.

I have a UEFI motherboard so I am trying to use systemd-boot to configure a EFI boot. After the system restarts I get the boot menu where I select my boot entry I entered for "Arch Linux" under /boot/loader/entries/arch.conf. Then I get the following error:

Error loading \vmlinuz-linux: Not Found
Failed to execute Arch Linux (\vmlinuz-linux): Not Found

Then, after the timeout, the system eventually boots back to the live image.

I have read other forums about this but I have yet to solve the problem. Here is some of the output other people requested after I have reloaded the iso and remounted the partitions accordingly again:

(this one under chroot)

ls -l /boot

total 31200
-rw-r--r-- 1 root root  21399266 Nov 18 14:26 initramfs-linux-fallback.img
-rw-r--r-- 1 root root  5739240 Nov 18 14:26 initramfs-linux.img
-rw-r--r-- 1 root root  4802336 Nov 17 08:52 vmlinuz-linux

(out of chroot)

df -h

Filesystem                   Size  Used Avail Use% Mounted on
dev                          3.9G     0  3.9G   0% /dev
run                          3.9G    47M 3.8G    2% /run
/dev/sdb1                    797M  797M     0 100% /run/archiso/bootmnt
cowspace                     256M  7.1M  249M   3% /run/archiso/cowspace
/dev/loop0                   348M  348M     0 100% /run/archiso/sfs/airootfs
airootfs                    256M  7.1M  249M   3% /
tmpfs                        3.9G     0  3.9G   0% /dev/shm
tmpfs                        3.9G     0  3.9G   0% /sys/fs/cgroup
tmpfs                        3.9G     0  3.9G   0% /tmp
tmpfs                        3.9G  1.3G  3.9G   1% /etc/pacman.d/gnupg
tmpfs                        787M     0  787M   0% /run/user/0
/dev/sda3                    230G  1.3G  217G   1% /mnt
/dev/sda1                    511M  192K  511M   1% /boot

which mkinitcpio

/usr/bin/mkinitcpio

and finally the boot entry file:

title          Arch Linux
linux          /vmlinuz-linux
initrd         /initramfs-linux.img
options        root=PARTUUID=92f7c117-ae04-45c7-b232-aef0238d17bb rw

I'm really at a loss. I have also tried just starting again from scratch. What am I doing wrong? is there a place I need to read more in depth?

If you need more info from the install please let me know.

Last edited by hardover (2016-11-18 21:15:02)

Offline

#2 2016-11-18 21:00:00

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [SOLVED]Boot after install stops. \vmlinuz-linux: Not Found

df -h

[...]
/dev/sda3                    230G  1.3G  217G   1% /mnt
[...]
/dev/sda1                    511M  192K  511M   1% /boot
[...]

You mounted your boot partition in the wrong place. It should be mounted at /mnt/boot. Do that, chroot, then reinstall your kernel package (likely "linux"). You should double check that your boot partition contains the systemd-boot files (loader, EFI, etc.), if it doesn't rerun bootctl install.


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

#3 2016-11-18 21:06:27

hardover
Member
Registered: 2016-11-18
Posts: 3

Re: [SOLVED]Boot after install stops. \vmlinuz-linux: Not Found

Solved. I'm a dumbass.

I was mounting the partitions incorrectly and mounted the ESP to /boot rather than /mnt/boot where it should be under the root system.

Offline

#4 2016-11-18 21:09:13

hardover
Member
Registered: 2016-11-18
Posts: 3

Re: [SOLVED]Boot after install stops. \vmlinuz-linux: Not Found

WorMzy wrote:

You mounted your boot partition in the wrong place. It should be mounted at /mnt/boot. Do that, chroot, then reinstall your kernel package (likely "linux"). You should double check that your boot partition contains the systemd-boot files (loader, EFI, etc.), if it doesn't rerun bootctl install.

Thank you. I literally figured it out as you posted haha. I finally have a working arch system!

Offline

Board footer

Powered by FluxBB