You are not logged in.

#1 2017-01-28 08:12:25

dwieeb
Member
Registered: 2012-07-20
Posts: 7

[SOLVED] Error loading \vmlinuz-linux: not found (systemd-boot)

I need some help with a strange error. Despite extensive googling (there's a topic in this forum with the exact same title), I can't seem to figure this out. It defies reason!

I am attempting to dual boot Windows 10 and Arch Linux on my new Razer Blade Stealth laptop.

I've disabled secure boot & fast boot.
I've resized my "C" partition to allow for a 16gb swap and ~240gb linux fs.
The preinstalled Windows has an existing ESP, which I am attempting to modify.
I am following the Arch Linux installation instructions and the systemd-boot wiki article.

When I boot to my Arch Linux entry, the bootloader errors because it can't find the kernel. I can still boot to Windows just fine.

From the installation media, I mount my root fs and chroot into it. Then I `mount -a`, which loads the fstab entries.

$ cat /etc/fstab
# /dev/nvme0n1p2
UUID="E60A-7039"                                /boot           vfat            defaults                        0       1
# /dev/nvme0n1p7
UUID=1be97da8-8ed9-4259-846b-cee7eedcb3b1       /               ext4            rw,relatime,data=ordered        0       1
# /dev/nvme0n1p6
UUID=4de485c6-e760-4cb9-bd1c-9e9888f1cc87       none            swap            defaults                        0       0
$ fdisk -l
Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 38EC1472-AAA2-42DE-A1CC-14194621300F

Device             Start        End   Sectors   Size Type
/dev/nvme0n1p1      2048   24578047  24576000  11.7G Windows recovery environment
/dev/nvme0n1p2  24578048   24782847    204800   100M EFI System
/dev/nvme0n1p3  24782848   24815615     32768    16M Microsoft reserved
/dev/nvme0n1p4  24815616  446230527 421414912   201G Microsoft basic data
/dev/nvme0n1p5 999190528 1000214527   1024000   500M Windows recovery environment
/dev/nvme0n1p6 446230528  479784959  33554432    16G Linux swap
/dev/nvme0n1p7 479784960  999190527 519405568 247.7G Linux filesystem

Partition table entries are not in disk order.
$ blkid
/dev/nvme0n1: PTUUID="38ec1472-aaa2-42de-a1cc-14194621300f" PTTYPE="gpt"
/dev/nvme0n1p1: LABEL="Recovery" UUID="0A8E086A8E08509D" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="bc014cf6-36ca-456a-b499-75ab50acf256"
/dev/nvme0n1p2: LABEL="SYSTEM" UUID="E60A-7039" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="1884e4fd-1168-41ba-a6de-9f78ed15a703"
/dev/nvme0n1p3: PARTLABEL="Microsoft reserved partition" PARTUUID="7dc95b98-abb3-4f93-b53b-a6dc65fd7c62"
/dev/nvme0n1p4: LABEL="Blade Stealth" UUID="98EE0B59EE0B2ED6" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="66840559-6219-41f0-be09-16da0ff27750"
/dev/nvme0n1p5: LABEL="Winre" UUID="BAEE0C4BEE0C01FD" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="26a65c33-2665-4d72-95f9-ca51450b12c4"
/dev/nvme0n1p6: UUID="4de485c6-e760-4cb9-bd1c-9e9888f1cc87" TYPE="swap" PARTLABEL="Linux swap" PARTUUID="c8daa623-a5fb-4fad-92d9-12fd9e232cb0"
/dev/nvme0n1p7: UUID="1be97da8-8ed9-4259-846b-cee7eedcb3b1" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="9f675a17-3b18-4fe2-a2eb-8e39369a4993"
$ tree /boot  # w/ some omitted
├── Boot
│   ├── BCD
│   ├── BCD.LOG
│   ├── BCD.LOG1
│   ├── BCD.LOG2
│   ├── bg-BG
│   │   └── bootmgr.exe.mui
│   ├── BOOTSTAT.DAT
│   ├── bootvhd.dll
...
│   ├── Resources
│   │   ├── bootres.dll
...
├── bootmgr
├── BOOTNXT
├── EFI
│   ├── Boot
│   │   └── bootx64.efi
│   ├── Microsoft
│   │   ├── Boot
...
│   │   │   ├── bootmgfw.efi
│   │   │   ├── bootmgr.efi
...
│   │   └── Recovery
│   │       ├── BCD
│   │       ├── BCD.LOG
│   │       ├── BCD.LOG1
│   │       └── BCD.LOG2
│   └── systemd
│       └── systemd-bootx64.efi
├── initramfs-linux-fallback.img
├── initramfs-linux.img
├── intel-ucode.img
├── loader
│   ├── entries
│   │   └── arch.conf
│   └── loader.conf
└── vmlinuz-linux

116 directories, 263 files
$ cat /boot/loader/loader.conf
default arch
timeout 4
editor  0
$ cat /boot/loader/entries/arch.conf
title   Arch Linux
linux   /vmlinux-linux
initrd  /intel-ucode.img
initrd  /initramfs-linux.img
options root=PARTUUID=9f675a17-3b18-4fe2-a2eb-8e39369a4993 rw

The vmlinux-linux, intel-ucode.img, and initramfs-linux.img files were manually copied into my ESP, which is mounted at `/boot`. What I'm doing all seems pretty standard and I'm not sure what the issue here is.

Last edited by dwieeb (2017-01-28 08:26:52)

Offline

#2 2017-01-28 08:17:30

kaptenen
Member
Registered: 2009-12-06
Posts: 287
Website

Re: [SOLVED] Error loading \vmlinuz-linux: not found (systemd-boot)

dwieeb wrote:
$ cat /boot/loader/entries/arch.conf
linux   /vmlinux-linux

The vmlinux-linux, intel-ucode.img, and initramfs-linux.img files were manually copied into my ESP, which is mounted at `/boot`. What I'm doing all seems pretty standard and I'm not sure what the issue here is.

What about linux /vmlinuz-linux instead?

Offline

#3 2017-01-28 08:26:32

dwieeb
Member
Registered: 2012-07-20
Posts: 7

Re: [SOLVED] Error loading \vmlinuz-linux: not found (systemd-boot)

Welp, this is how it usually goes in programming, too. Hours and hours and hours and it's a single character.

vmlinuz = Virtual Memory LINUx gZip

Interesting. http://www.linfo.org/vmlinuz.html

Much like "creat", the naming of some unix/linux things confuses the hell out of me. (vmlinuxgz would've been far too long).

Offline

Board footer

Powered by FluxBB