Hello all.
I’ve just downloaded and installed OpenSuse Tumbleweed alongside Archmerge “Kirk”. I can boot without issues into OpenSuse, but when choosing the Archmerge selection on boot up, I get the following error message:
**
error: file ‘/boot/vmlinuz-linux’ not found
error: you need to load the kernel first
Press any key to confinue…**
I must admit that I’m rather new to playing with Grub.
Prior to the OpenSuse install, I had two partitions in use:
/dev/sda1 : a 300MB FAT32 partition with the boot and esp flags set
/dev/sda2 : a 232.8MB BTRFS partition for Archmerge
When going through the OpenSuse Tumbleweed installation I performed and noted the following:
- Deselected the option for a standalone /home partition
- Installer proposed a new partition for swap and a BTRFS partition for root… and a large list of btrfs subvolumes, including: @/boot/grub2/i386 and @/boot/grub2/x86_64-efi
- Installer stated: “Set mount point of /dev/sda1 to /boot/efi”
- Installer stated: “Enable Secure Boot: yes”
After the install, this is what fdisk says (not surprisingly), where OpenSuse is on /dev/sda4:
r0b0ty@localhost:~> sudo fdisk -l
[sudo] password for root:
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 443D8392-6231-4C23-AD93-03EE7DD17EBF
Device Start End Sectors Size Type
/dev/sda1 2048 616447 614400 300M EFI System
/dev/sda2 616448 488693759 488077312 232.8G Linux filesystem
/dev/sda3 488693760 492906495 4212736 2G Linux swap
/dev/sda4 492906496 976773119 483866624 230.7G Linux filesystem
This is the list of btrfs subvolumes:
r0b0ty@localhost:~> sudo btrfs subvolume list /
[sudo] password for root:
ID 257 gen 173 top level 5 path @
ID 258 gen 256 top level 257 path @/.snapshots
ID 259 gen 374 top level 258 path @/.snapshots/1/snapshot
ID 260 gen 269 top level 257 path @/boot/grub2/i386-pc
ID 261 gen 269 top level 257 path @/boot/grub2/x86_64-efi
ID 262 gen 374 top level 257 path @/home
ID 263 gen 173 top level 257 path @/opt
ID 264 gen 173 top level 257 path @/srv
ID 265 gen 358 top level 257 path @/tmp
ID 266 gen 173 top level 257 path @/usr/local
ID 267 gen 329 top level 257 path @/var/cache
ID 268 gen 173 top level 257 path @/var/crash
ID 269 gen 174 top level 257 path @/var/lib/libvirt/images
ID 270 gen 173 top level 257 path @/var/lib/machines
ID 271 gen 174 top level 257 path @/var/lib/mailman
ID 272 gen 173 top level 257 path @/var/lib/mariadb
ID 273 gen 173 top level 257 path @/var/lib/mysql
ID 274 gen 173 top level 257 path @/var/lib/named
ID 275 gen 173 top level 257 path @/var/lib/pgsql
ID 276 gen 348 top level 257 path @/var/log
ID 277 gen 173 top level 257 path @/var/opt
ID 278 gen 373 top level 257 path @/var/spool
ID 279 gen 346 top level 257 path @/var/tmp
ID 285 gen 174 top level 258 path @/.snapshots/2/snapshot
ID 291 gen 205 top level 258 path @/.snapshots/3/snapshot
ID 292 gen 209 top level 258 path @/.snapshots/4/snapshot
ID 293 gen 216 top level 258 path @/.snapshots/5/snapshot
ID 294 gen 222 top level 258 path @/.snapshots/6/snapshot
ID 295 gen 242 top level 258 path @/.snapshots/7/snapshot
ID 296 gen 243 top level 258 path @/.snapshots/8/snapshot
ID 297 gen 249 top level 258 path @/.snapshots/9/snapshot
ID 298 gen 251 top level 258 path @/.snapshots/10/snapshot
ID 299 gen 253 top level 258 path @/.snapshots/11/snapshot
ID 300 gen 255 top level 258 path @/.snapshots/12/snapshot
I don’t understand why it’s looking for ‘/boot/vmlinuz-linux’, I don’t see anywhere in the original boot partition:
r0b0ty@localhost:~> sudo mount /dev/sda1 /mnt
r0b0ty@localhost:~> la -R /mnt
/mnt:
total 8
drwxrwxr-x 3 root root 4096 Dec 31 1969 .
drwxr-xr-x 1 root root 156 Nov 23 14:03 ..
drwxrwxr-x 5 root root 4096 Nov 23 09:22 EFI
/mnt/EFI:
total 20
drwxrwxr-x 5 root root 4096 Nov 23 09:22 .
drwxrwxr-x 3 root root 4096 Dec 31 1969 ..
drwxrwxr-x 2 root root 4096 Nov 23 08:27 ArchMerge
drwxrwxr-x 2 root root 4096 Nov 23 09:22 boot
drwxrwxr-x 2 root root 4096 Nov 23 09:22 opensuse
/mnt/EFI/ArchMerge:
total 160
drwxrwxr-x 2 root root 4096 Nov 23 08:27 .
drwxrwxr-x 5 root root 4096 Nov 23 09:22 ..
-rwxrwxr-x 1 root root 154624 Nov 23 08:27 grubx64.efi
/mnt/EFI/boot:
total 1372
drwxrwxr-x 2 root root 4096 Nov 23 09:22 .
drwxrwxr-x 5 root root 4096 Nov 23 09:22 ..
-rwxrwxr-x 1 root root 1164376 Nov 23 09:22 bootx64.efi
-rwxrwxr-x 1 root root 72240 Nov 23 09:22 fallback.efi
-rwxrwxr-x 1 root root 154624 Nov 23 08:27 grubx64.efi
/mnt/EFI/opensuse:
total 3508
drwxrwxr-x 2 root root 4096 Nov 23 09:22 .
drwxrwxr-x 5 root root 4096 Nov 23 09:22 ..
-rwxrwxr-x 1 root root 58 Nov 23 09:22 boot.csv
-rwxrwxr-x 1 root root 155 Nov 23 09:22 grub.cfg
-rwxrwxr-x 1 root root 1058656 Nov 23 09:22 grub.efi
-rwxrwxr-x 1 root root 178176 Nov 23 09:22 grubx64.efi
-rwxrwxr-x 1 root root 1166552 Nov 23 09:22 MokManager.efi
-rwxrwxr-x 1 root root 1164376 Nov 23 09:22 shim.efi
r0b0ty@localhost:~>
I did confirm that the contents of the /dev/sda1 boot partition are incorporated in OpenSuse’s **/boot/efi **directory (but again, no ‘/boot/vmlinuz-linux’ file):
r0b0ty@localhost:/boot> ls
boot.readme symvers-4.14.0-1-default.gz
config-4.14.0-1-default sysctl.conf-4.14.0-1-default
efi System.map-4.14.0-1-default
grub2 vmlinux-4.14.0-1-default.gz
initrd vmlinuz
initrd-4.14.0-1-default vmlinuz-4.14.0-1-default
r0b0ty@localhost:/boot> ls -R efi
efi:
EFI
efi/EFI:
ArchMerge boot opensuse
efi/EFI/ArchMerge:
grubx64.efi
efi/EFI/boot:
bootx64.efi fallback.efi grubx64.efi
efi/EFI/opensuse:
boot.csv grub.cfg grub.efi grubx64.efi MokManager.efi shim.efi
r0b0ty@localhost:/boot>
**Can you please offer any suggestions? ** Thanks in advance!