You are not logged in.

#1 2023-10-23 08:48:05

amixra
Member
Registered: 2022-01-24
Posts: 125

[Solved] specified kernel image does not exist: '/boot/vmlinuz-linux

mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-lts -g /boot/initramfs-linux-lts.img --microcode /boot/intel-ucode.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-linux-lts'
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-lts -g /boot/initramfs-linux-lts-fallback.img -S autodetect --microcode /boot/intel-ucode.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-linux-lts'
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img --microcode /boot/intel-ucode.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-linux'
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect --microcode /boot/intel-ucode.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-linux'

I have installed arch linux last night in dual boot. Being able to use it completely don't have any issue but this one came up when i was installing mkinitcpio-numlock package

Last edited by amixra (2023-10-30 12:35:41)


Experiment at-least.

Offline

#2 2023-10-23 09:32:20

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [Solved] specified kernel image does not exist: '/boot/vmlinuz-linux

lsblk -f

Online

#3 2023-10-23 14:05:01

amixra
Member
Registered: 2022-01-24
Posts: 125

Re: [Solved] specified kernel image does not exist: '/boot/vmlinuz-linux

NAME        FSTYPE    FSVER LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
nvme0n1                                                                                     
├─nvme0n1p1 vfat      FAT32 ESP         46EE-7D3D                                           
├─nvme0n1p2                                                                                 
├─nvme0n1p3 BitLocker 2                                                                     
├─nvme0n1p4 ntfs            WINRETOOLS  1498AB5B98AB3A5E                                    
├─nvme0n1p5 ntfs            Image       9294ABA694AB8B75                                    
├─nvme0n1p6 ntfs            DELLSUPPORT C4A244E9A244E192                                    
├─nvme0n1p7 vfat      FAT32             3EF7-B99B                                           
├─nvme0n1p8 swap      1                 da9e9501-4235-4123-995c-27a235070d8b                [SWAP]
└─nvme0n1p9 ext4      1.0               a0b50b57-1349-4ab3-9d53-49a4af182a65  325.2G     2% /

Experiment at-least.

Offline

#4 2023-10-23 17:58:09

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [Solved] specified kernel image does not exist: '/boot/vmlinuz-linux

There're two vfat partitions, one's the ESP, the other one might be a boto partition?
What are the contents of nvme0n1p1 and nvme0n1p7 ?

Online

#5 2023-10-24 07:23:54

amixra
Member
Registered: 2022-01-24
Posts: 125

Re: [Solved] specified kernel image does not exist: '/boot/vmlinuz-linux

6 partitions were already there by Windows OS. So I don't know about nvme0n1p1. nvme0n1p7 is the new partition created by me of 600M for efi system partition as mentioned in example layouts for UEFI with GPT.


Experiment at-least.

Offline

#6 2023-10-24 07:31:43

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [Solved] specified kernel image does not exist: '/boot/vmlinuz-linux

You're not supposed to have two ESP and nvme0n1p7 isn't marked as such.

seth wrote:

What are the contents of nvme0n1p1 and nvme0n1p7 ?

Mount them somewhere and "ls -lR" that path

Online

#7 2023-10-24 08:40:07

amixra
Member
Registered: 2022-01-24
Posts: 125

Re: [Solved] specified kernel image does not exist: '/boot/vmlinuz-linux

for nvme0n1p7

 EFI    initramfs-linux-fallback.img   initramfs-linux-lts-fallback.img  'System Volume Information'   vmlinuz-linux-lts
 grub   initramfs-linux.img            initramfs-linux-lts.img            vmlinuz-linux

for nvme0n1p1

 EFI  'System Volume Information'

Experiment at-least.

Offline

#8 2023-10-24 08:49:54

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [Solved] specified kernel image does not exist: '/boot/vmlinuz-linux

That's not the output of ls -lR…
Either way, it looks like nvme0n1p7 is your boot partition

ls -lR /boot
file /path/to/nvme0n1p7_mount/vmlinuz-linux
file /path/to/nvme0n1p7_mount/vmlinuz-linux-lts

Assuming there's no /boot/vmlinuz-linux, mount nvme0n1p7at /boot and re-run mkinitcpio.

Online

#9 2023-10-24 13:16:36

amixra
Member
Registered: 2022-01-24
Posts: 125

Re: [Solved] specified kernel image does not exist: '/boot/vmlinuz-linux

Oh, I thought it was uppercase i, while it was lowercase L.

# mount /dev/nvme0n1p7 /boot  
$ ls -lR /boot
/boot:
total 194396
drwxr-xr-x 4 root root     4096 Oct 23 17:21  EFI
drwxr-xr-x 6 root root     4096 Oct 22 23:56  grub
-rwxr-xr-x 1 root root 75008382 Oct 22 23:19  initramfs-linux-fallback.img
-rwxr-xr-x 1 root root 15155925 Oct 22 23:18  initramfs-linux.img
-rwxr-xr-x 1 root root 70487267 Oct 22 23:18  initramfs-linux-lts-fallback.img
-rwxr-xr-x 1 root root 14123540 Oct 22 23:18  initramfs-linux-lts.img
drwxr-xr-x 2 root root     4096 Oct 23 00:30 'System Volume Information'
-rwxr-xr-x 1 root root 12786944 Oct 22 23:06  vmlinuz-linux
-rwxr-xr-x 1 root root 11475552 Oct 22 23:12  vmlinuz-linux-lts

/boot/EFI:
total 8
drwxr-xr-x 3 root root 4096 Oct 23 17:21 Dell
drwxr-xr-x 2 root root 4096 Oct 22 23:47 grub_uefi

/boot/EFI/Dell:
total 4
drwxr-xr-x 2 root root 4096 Oct 23 17:21 logs

/boot/EFI/Dell/logs:
total 4
-rwxr-xr-x 1 root root 1165 Oct 23 17:21 diags_current.xml

/boot/EFI/grub_uefi:
total 136
-rwxr-xr-x 1 root root 139264 Oct 22 23:47 grubx64.efi

/boot/grub:
total 44
drwxr-xr-x 2 root root  4096 Oct 22 23:47 fonts
-rwxr-xr-x 1 root root  5517 Oct 22 23:56 grub.cfg
-rwxr-xr-x 1 root root  1024 Oct 22 23:47 grubenv
drwxr-xr-x 2 root root  4096 Oct 22 23:54 locale
drwxr-xr-x 3 root root  4096 Oct 22 23:47 themes
drwxr-xr-x 2 root root 20480 Oct 22 23:47 x86_64-efi

/boot/grub/fonts:
total 2356
-rwxr-xr-x 1 root root 2411775 Oct 22 23:47 unicode.pf2

/boot/grub/locale:
total 5524
-rwxr-xr-x 1 root root 127048 Oct 22 23:47 ast.mo
-rwxr-xr-x 1 root root 127925 Oct 22 23:47 ca.mo
-rwxr-xr-x 1 root root 119187 Oct 22 23:47 da.mo
-rwxr-xr-x 1 root root 150672 Oct 22 23:47 de_CH.mo
-rwxr-xr-x 1 root root 226702 Oct 22 23:47 de@hebrew.mo
-rwxr-xr-x 1 root root 150708 Oct 22 23:47 de.mo
-rwxr-xr-x 1 root root 187607 Oct 22 23:47 en@arabic.mo
-rwxr-xr-x 1 root root 177159 Oct 22 23:47 en@cyrillic.mo
-rwxr-xr-x 1 root root 177156 Oct 22 23:47 en@greek.mo
-rwxr-xr-x 1 root root 203309 Oct 22 23:47 en@hebrew.mo
-rwxr-xr-x 1 root root 138287 Oct 22 23:54 en.mo
-rwxr-xr-x 1 root root 156758 Oct 22 23:47 en@piglatin.mo
-rwxr-xr-x 1 root root 138287 Oct 22 23:47 en@quot.mo
-rwxr-xr-x 1 root root  43353 Oct 22 23:47 eo.mo
-rwxr-xr-x 1 root root 130226 Oct 22 23:47 es.mo
-rwxr-xr-x 1 root root 132533 Oct 22 23:47 fi.mo
-rwxr-xr-x 1 root root 157763 Oct 22 23:47 fr.mo
-rwxr-xr-x 1 root root 102986 Oct 22 23:47 gl.mo
-rwxr-xr-x 1 root root 130308 Oct 22 23:47 hr.mo
-rwxr-xr-x 1 root root 138013 Oct 22 23:47 hu.mo
-rwxr-xr-x 1 root root  28183 Oct 22 23:47 id.mo
-rwxr-xr-x 1 root root 116895 Oct 22 23:47 it.mo
-rwxr-xr-x 1 root root  45042 Oct 22 23:47 ja.mo
-rwxr-xr-x 1 root root 156841 Oct 22 23:47 ka.mo
-rwxr-xr-x 1 root root 156099 Oct 22 23:47 ko.mo
-rwxr-xr-x 1 root root   7733 Oct 22 23:47 lg.mo
-rwxr-xr-x 1 root root 100889 Oct 22 23:47 lt.mo
-rwxr-xr-x 1 root root 128202 Oct 22 23:47 nb.mo
-rwxr-xr-x 1 root root 126994 Oct 22 23:47 nl.mo
-rwxr-xr-x 1 root root  61770 Oct 22 23:47 pa.mo
-rwxr-xr-x 1 root root 149640 Oct 22 23:47 pl.mo
-rwxr-xr-x 1 root root  86540 Oct 22 23:47 pt_BR.mo
-rwxr-xr-x 1 root root 131805 Oct 22 23:47 pt.mo
-rwxr-xr-x 1 root root 158436 Oct 22 23:47 ro.mo
-rwxr-xr-x 1 root root 170309 Oct 22 23:47 ru.mo
-rwxr-xr-x 1 root root  93884 Oct 22 23:47 sl.mo
-rwxr-xr-x 1 root root 190679 Oct 22 23:47 sr.mo
-rwxr-xr-x 1 root root 128426 Oct 22 23:47 sv.mo
-rwxr-xr-x 1 root root  83529 Oct 22 23:47 tr.mo
-rwxr-xr-x 1 root root 199362 Oct 22 23:47 uk.mo
-rwxr-xr-x 1 root root 162726 Oct 22 23:47 vi.mo
-rwxr-xr-x 1 root root 139181 Oct 22 23:47 zh_CN.mo
-rwxr-xr-x 1 root root  30274 Oct 22 23:47 zh_TW.mo

/boot/grub/themes:
total 4
drwxr-xr-x 2 root root 4096 Oct 22 23:47 starfield

/boot/grub/themes/starfield:
total 2868
-rwxr-xr-x 1 root root     836 Oct 22 23:47 blob_w.png
-rwxr-xr-x 1 root root     178 Oct 22 23:47 boot_menu_c.png
-rwxr-xr-x 1 root root     193 Oct 22 23:47 boot_menu_e.png
-rwxr-xr-x 1 root root     193 Oct 22 23:47 boot_menu_ne.png
-rwxr-xr-x 1 root root     103 Oct 22 23:47 boot_menu_n.png
-rwxr-xr-x 1 root root     184 Oct 22 23:47 boot_menu_nw.png
-rwxr-xr-x 1 root root     198 Oct 22 23:47 boot_menu_se.png
-rwxr-xr-x 1 root root     102 Oct 22 23:47 boot_menu_s.png
-rwxr-xr-x 1 root root     196 Oct 22 23:47 boot_menu_sw.png
-rwxr-xr-x 1 root root      96 Oct 22 23:47 boot_menu_w.png
-rwxr-xr-x 1 root root   19890 Oct 22 23:47 COPYING.CC-BY-SA-3.0
-rwxr-xr-x 1 root root  153206 Oct 22 23:47 dejavu_10.pf2
-rwxr-xr-x 1 root root  169029 Oct 22 23:47 dejavu_12.pf2
-rwxr-xr-x 1 root root  185544 Oct 22 23:47 dejavu_14.pf2
-rwxr-xr-x 1 root root  204012 Oct 22 23:47 dejavu_16.pf2
-rwxr-xr-x 1 root root  193136 Oct 22 23:47 dejavu_bold_14.pf2
-rwxr-xr-x 1 root root    1191 Oct 22 23:47 README
-rwxr-xr-x 1 root root     197 Oct 22 23:47 slider_c.png
-rwxr-xr-x 1 root root     265 Oct 22 23:47 slider_n.png
-rwxr-xr-x 1 root root     269 Oct 22 23:47 slider_s.png
-rwxr-xr-x 1 root root 1897028 Oct 22 23:47 starfield.png
-rwxr-xr-x 1 root root     178 Oct 22 23:47 terminal_box_c.png
-rwxr-xr-x 1 root root      94 Oct 22 23:47 terminal_box_e.png
-rwxr-xr-x 1 root root     128 Oct 22 23:47 terminal_box_ne.png
-rwxr-xr-x 1 root root     194 Oct 22 23:47 terminal_box_n.png
-rwxr-xr-x 1 root root     210 Oct 22 23:47 terminal_box_nw.png
-rwxr-xr-x 1 root root     126 Oct 22 23:47 terminal_box_se.png
-rwxr-xr-x 1 root root     101 Oct 22 23:47 terminal_box_s.png
-rwxr-xr-x 1 root root     123 Oct 22 23:47 terminal_box_sw.png
-rwxr-xr-x 1 root root      97 Oct 22 23:47 terminal_box_w.png
-rwxr-xr-x 1 root root    2249 Oct 22 23:47 theme.txt

/boot/grub/x86_64-efi:
total 3384
-rwxr-xr-x 1 root root  15704 Oct 22 23:47 acpi.mod
-rwxr-xr-x 1 root root   1832 Oct 22 23:47 adler32.mod
-rwxr-xr-x 1 root root   7920 Oct 22 23:47 affs.mod
-rwxr-xr-x 1 root root   8240 Oct 22 23:47 afs.mod
-rwxr-xr-x 1 root root   2016 Oct 22 23:47 afsplitter.mod
-rwxr-xr-x 1 root root  21816 Oct 22 23:47 ahci.mod
-rwxr-xr-x 1 root root    704 Oct 22 23:47 all_video.mod
-rwxr-xr-x 1 root root   1368 Oct 22 23:47 aout.mod
-rwxr-xr-x 1 root root   4952 Oct 22 23:47 appleldr.mod
-rwxr-xr-x 1 root root   4368 Oct 22 23:47 archelp.mod
-rwxr-xr-x 1 root root   8456 Oct 22 23:47 ata.mod
-rwxr-xr-x 1 root root   6472 Oct 22 23:47 at_keyboard.mod
-rwxr-xr-x 1 root root   2400 Oct 22 23:47 backtrace.mod
-rwxr-xr-x 1 root root   9328 Oct 22 23:47 bfs.mod
-rwxr-xr-x 1 root root   3064 Oct 22 23:47 bitmap.mod
-rwxr-xr-x 1 root root   5248 Oct 22 23:47 bitmap_scale.mod
-rwxr-xr-x 1 root root   3392 Oct 22 23:47 bli.mod
-rwxr-xr-x 1 root root   2896 Oct 22 23:47 blocklist.mod
-rwxr-xr-x 1 root root   3648 Oct 22 23:47 boot.mod
-rwxr-xr-x 1 root root   1920 Oct 22 23:47 boottime.mod
-rwxr-xr-x 1 root root  48736 Oct 22 23:47 bsd.mod
-rwxr-xr-x 1 root root   3080 Oct 22 23:47 bswap_test.mod
-rwxr-xr-x 1 root root  26824 Oct 22 23:47 btrfs.mod
-rwxr-xr-x 1 root root   2776 Oct 22 23:47 bufio.mod
-rwxr-xr-x 1 root root   2128 Oct 22 23:47 cacheinfo.mod
-rwxr-xr-x 1 root root   4248 Oct 22 23:47 cat.mod
-rwxr-xr-x 1 root root   5640 Oct 22 23:47 cbfs.mod
-rwxr-xr-x 1 root root   5552 Oct 22 23:47 cbls.mod
-rwxr-xr-x 1 root root   3752 Oct 22 23:47 cbmemc.mod
-rwxr-xr-x 1 root root   1504 Oct 22 23:47 cbtable.mod
-rwxr-xr-x 1 root root   4384 Oct 22 23:47 cbtime.mod
-rwxr-xr-x 1 root root   8016 Oct 22 23:47 chain.mod
-rwxr-xr-x 1 root root   4496 Oct 22 23:47 cmdline_cat_test.mod
-rwxr-xr-x 1 root root   3296 Oct 22 23:47 cmp.mod
-rwxr-xr-x 1 root root   6232 Oct 22 23:47 cmp_test.mod
-rwxr-xr-x 1 root root   3731 Oct 22 23:47 command.lst
-rwxr-xr-x 1 root root   3152 Oct 22 23:47 configfile.mod
-rwxr-xr-x 1 root root 139264 Oct 22 23:47 core.efi
-rwxr-xr-x 1 root root   4256 Oct 22 23:47 cpio_be.mod
-rwxr-xr-x 1 root root   4256 Oct 22 23:47 cpio.mod
-rwxr-xr-x 1 root root   2480 Oct 22 23:47 cpuid.mod
-rwxr-xr-x 1 root root   2064 Oct 22 23:47 crc64.mod
-rwxr-xr-x 1 root root  22248 Oct 22 23:47 cryptodisk.mod
-rwxr-xr-x 1 root root    936 Oct 22 23:47 crypto.lst
-rwxr-xr-x 1 root root   6808 Oct 22 23:47 crypto.mod
-rwxr-xr-x 1 root root   3848 Oct 22 23:47 cs5536.mod
-rwxr-xr-x 1 root root   2528 Oct 22 23:47 ctz_test.mod
-rwxr-xr-x 1 root root   2912 Oct 22 23:47 datehook.mod
-rwxr-xr-x 1 root root   3104 Oct 22 23:47 date.mod
-rwxr-xr-x 1 root root   2784 Oct 22 23:47 datetime.mod
-rwxr-xr-x 1 root root  13168 Oct 22 23:47 diskfilter.mod
-rwxr-xr-x 1 root root   2976 Oct 22 23:47 disk.mod
-rwxr-xr-x 1 root root   1240 Oct 22 23:47 div.mod
-rwxr-xr-x 1 root root   7808 Oct 22 23:47 div_test.mod
-rwxr-xr-x 1 root root   2680 Oct 22 23:47 dm_nv.mod
-rwxr-xr-x 1 root root   2912 Oct 22 23:47 echo.mod
-rwxr-xr-x 1 root root   2584 Oct 22 23:47 efifwsetup.mod
-rwxr-xr-x 1 root root  12360 Oct 22 23:47 efi_gop.mod
-rwxr-xr-x 1 root root   6432 Oct 22 23:47 efinet.mod
-rwxr-xr-x 1 root root   3664 Oct 22 23:47 efitextmode.mod
-rwxr-xr-x 1 root root   6888 Oct 22 23:47 efi_uga.mod
-rwxr-xr-x 1 root root  25680 Oct 22 23:47 ehci.mod
-rwxr-xr-x 1 root root   8728 Oct 22 23:47 elf.mod
-rwxr-xr-x 1 root root   2088 Oct 22 23:47 eval.mod
-rwxr-xr-x 1 root root   8416 Oct 22 23:47 exfat.mod
-rwxr-xr-x 1 root root   2048 Oct 22 23:47 exfctest.mod
-rwxr-xr-x 1 root root   8648 Oct 22 23:47 ext2.mod
-rwxr-xr-x 1 root root   7392 Oct 22 23:47 extcmd.mod
-rwxr-xr-x 1 root root   9808 Oct 22 23:47 f2fs.mod
-rwxr-xr-x 1 root root   8512 Oct 22 23:47 fat.mod
-rwxr-xr-x 1 root root  26240 Oct 22 23:47 file.mod
-rwxr-xr-x 1 root root   2768 Oct 22 23:47 fixvideo.mod
-rwxr-xr-x 1 root root  19176 Oct 22 23:47 font.mod
-rwxr-xr-x 1 root root   4360 Oct 22 23:47 fshelp.mod
-rwxr-xr-x 1 root root    219 Oct 22 23:47 fs.lst
-rwxr-xr-x 1 root root  46464 Oct 22 23:47 functional_test.mod
-rwxr-xr-x 1 root root   2312 Oct 22 23:47 gcry_arcfour.mod
-rwxr-xr-x 1 root root   9040 Oct 22 23:47 gcry_blowfish.mod
-rwxr-xr-x 1 root root  27664 Oct 22 23:47 gcry_camellia.mod
-rwxr-xr-x 1 root root  14584 Oct 22 23:47 gcry_cast5.mod
-rwxr-xr-x 1 root root  11712 Oct 22 23:47 gcry_crc.mod
-rwxr-xr-x 1 root root  16320 Oct 22 23:47 gcry_des.mod
-rwxr-xr-x 1 root root   3288 Oct 22 23:47 gcry_dsa.mod
-rwxr-xr-x 1 root root   3864 Oct 22 23:47 gcry_idea.mod
-rwxr-xr-x 1 root root   4008 Oct 22 23:47 gcry_md4.mod
-rwxr-xr-x 1 root root   4464 Oct 22 23:47 gcry_md5.mod
-rwxr-xr-x 1 root root   3032 Oct 22 23:47 gcry_rfc2268.mod
-rwxr-xr-x 1 root root  20368 Oct 22 23:47 gcry_rijndael.mod
-rwxr-xr-x 1 root root   7824 Oct 22 23:47 gcry_rmd160.mod
-rwxr-xr-x 1 root root   3216 Oct 22 23:47 gcry_rsa.mod
-rwxr-xr-x 1 root root  12152 Oct 22 23:47 gcry_seed.mod
-rwxr-xr-x 1 root root  16344 Oct 22 23:47 gcry_serpent.mod
-rwxr-xr-x 1 root root   8064 Oct 22 23:47 gcry_sha1.mod
-rwxr-xr-x 1 root root   5104 Oct 22 23:47 gcry_sha256.mod
-rwxr-xr-x 1 root root   5976 Oct 22 23:47 gcry_sha512.mod
-rwxr-xr-x 1 root root  13120 Oct 22 23:47 gcry_tiger.mod
-rwxr-xr-x 1 root root  33472 Oct 22 23:47 gcry_twofish.mod
-rwxr-xr-x 1 root root  22720 Oct 22 23:47 gcry_whirlpool.mod
-rwxr-xr-x 1 root root   8632 Oct 22 23:47 geli.mod
-rwxr-xr-x 1 root root   8152 Oct 22 23:47 gettext.mod
-rwxr-xr-x 1 root root  59032 Oct 22 23:47 gfxmenu.mod
-rwxr-xr-x 1 root root   4304 Oct 22 23:47 gfxterm_background.mod
-rwxr-xr-x 1 root root   7616 Oct 22 23:47 gfxterm_menu.mod
-rwxr-xr-x 1 root root  16520 Oct 22 23:47 gfxterm.mod
-rwxr-xr-x 1 root root   5208 Oct 22 23:47 gptsync.mod
-rwxr-xr-x 1 root root 139264 Oct 22 23:47 grub.efi
-rwxr-xr-x 1 root root  12360 Oct 22 23:47 gzio.mod
-rwxr-xr-x 1 root root   7384 Oct 22 23:47 halt.mod
-rwxr-xr-x 1 root root   8080 Oct 22 23:47 hashsum.mod
-rwxr-xr-x 1 root root  10224 Oct 22 23:47 hdparm.mod
-rwxr-xr-x 1 root root   1760 Oct 22 23:47 hello.mod
-rwxr-xr-x 1 root root   3976 Oct 22 23:47 help.mod
-rwxr-xr-x 1 root root   4328 Oct 22 23:47 hexdump.mod
-rwxr-xr-x 1 root root  10048 Oct 22 23:47 hfs.mod
-rwxr-xr-x 1 root root   4152 Oct 22 23:47 hfspluscomp.mod
-rwxr-xr-x 1 root root  11200 Oct 22 23:47 hfsplus.mod
-rwxr-xr-x 1 root root   9032 Oct 22 23:47 http.mod
-rwxr-xr-x 1 root root   4208 Oct 22 23:47 iorw.mod
-rwxr-xr-x 1 root root  12824 Oct 22 23:47 iso9660.mod
-rwxr-xr-x 1 root root   8808 Oct 22 23:47 jfs.mod
-rwxr-xr-x 1 root root  10720 Oct 22 23:47 jpeg.mod
-rwxr-xr-x 1 root root   5736 Oct 22 23:47 json.mod
-rwxr-xr-x 1 root root   6304 Oct 22 23:47 keylayouts.mod
-rwxr-xr-x 1 root root   2840 Oct 22 23:47 keystatus.mod
-rwxr-xr-x 1 root root   7936 Oct 22 23:47 ldm.mod
-rwxr-xr-x 1 root root  44960 Oct 22 23:47 legacycfg.mod
-rwxr-xr-x 1 root root  15816 Oct 22 23:47 legacy_password_test.mod
-rwxr-xr-x 1 root root   8480 Oct 22 23:47 linux16.mod
-rwxr-xr-x 1 root root  27656 Oct 22 23:47 linux.mod
-rwxr-xr-x 1 root root   4544 Oct 22 23:47 loadbios.mod
-rwxr-xr-x 1 root root   9000 Oct 22 23:47 loadenv.mod
-rwxr-xr-x 1 root root   4832 Oct 22 23:47 loopback.mod
-rwxr-xr-x 1 root root   7008 Oct 22 23:47 lsacpi.mod
-rwxr-xr-x 1 root root   3600 Oct 22 23:47 lsefimmap.mod
-rwxr-xr-x 1 root root   5048 Oct 22 23:47 lsefi.mod
-rwxr-xr-x 1 root root   4344 Oct 22 23:47 lsefisystab.mod
-rwxr-xr-x 1 root root   2832 Oct 22 23:47 lsmmap.mod
-rwxr-xr-x 1 root root   6280 Oct 22 23:47 ls.mod
-rwxr-xr-x 1 root root   7152 Oct 22 23:47 lspci.mod
-rwxr-xr-x 1 root root   3752 Oct 22 23:47 lssal.mod
-rwxr-xr-x 1 root root  20536 Oct 22 23:47 luks2.mod
-rwxr-xr-x 1 root root   5816 Oct 22 23:47 luks.mod
-rwxr-xr-x 1 root root  11744 Oct 22 23:47 lvm.mod
-rwxr-xr-x 1 root root   6600 Oct 22 23:47 lzopio.mod
-rwxr-xr-x 1 root root   4744 Oct 22 23:47 macbless.mod
-rwxr-xr-x 1 root root  10560 Oct 22 23:47 macho.mod
-rwxr-xr-x 1 root root   2680 Oct 22 23:47 mdraid09_be.mod
-rwxr-xr-x 1 root root   2648 Oct 22 23:47 mdraid09.mod
-rwxr-xr-x 1 root root   2560 Oct 22 23:47 mdraid1x.mod
-rwxr-xr-x 1 root root   3064 Oct 22 23:47 memdisk.mod
-rwxr-xr-x 1 root root   4168 Oct 22 23:47 memrw.mod
-rwxr-xr-x 1 root root   5736 Oct 22 23:47 minicmd.mod
-rwxr-xr-x 1 root root   5736 Oct 22 23:47 minix2_be.mod
-rwxr-xr-x 1 root root   5632 Oct 22 23:47 minix2.mod
-rwxr-xr-x 1 root root   5704 Oct 22 23:47 minix3_be.mod
-rwxr-xr-x 1 root root   5632 Oct 22 23:47 minix3.mod
-rwxr-xr-x 1 root root   5608 Oct 22 23:47 minix_be.mod
-rwxr-xr-x 1 root root   5512 Oct 22 23:47 minix.mod
-rwxr-xr-x 1 root root   9096 Oct 22 23:47 mmap.mod
-rwxr-xr-x 1 root root   5314 Oct 22 23:47 moddep.lst
-rwxr-xr-x 1 root root   2508 Oct 22 23:47 modinfo.sh
-rwxr-xr-x 1 root root   3152 Oct 22 23:47 morse.mod
-rwxr-xr-x 1 root root  43064 Oct 22 23:47 mpi.mod
-rwxr-xr-x 1 root root   3592 Oct 22 23:47 msdospart.mod
-rwxr-xr-x 1 root root   2312 Oct 22 23:47 mul_test.mod
-rwxr-xr-x 1 root root  24776 Oct 22 23:47 multiboot2.mod
-rwxr-xr-x 1 root root  21904 Oct 22 23:47 multiboot.mod
-rwxr-xr-x 1 root root   6624 Oct 22 23:47 nativedisk.mod
-rwxr-xr-x 1 root root  81128 Oct 22 23:47 net.mod
-rwxr-xr-x 1 root root   4376 Oct 22 23:47 newc.mod
-rwxr-xr-x 1 root root   9752 Oct 22 23:47 nilfs2.mod
-rwxr-xr-x 1 root root 174912 Oct 22 23:47 normal.mod
-rwxr-xr-x 1 root root   5552 Oct 22 23:47 ntfscomp.mod
-rwxr-xr-x 1 root root  15712 Oct 22 23:47 ntfs.mod
-rwxr-xr-x 1 root root   4224 Oct 22 23:47 odc.mod
-rwxr-xr-x 1 root root   2128 Oct 22 23:47 offsetio.mod
-rwxr-xr-x 1 root root  15272 Oct 22 23:47 ohci.mod
-rwxr-xr-x 1 root root   2208 Oct 22 23:47 part_acorn.mod
-rwxr-xr-x 1 root root   2520 Oct 22 23:47 part_amiga.mod
-rwxr-xr-x 1 root root   2888 Oct 22 23:47 part_apple.mod
-rwxr-xr-x 1 root root   4064 Oct 22 23:47 part_bsd.mod
-rwxr-xr-x 1 root root   2568 Oct 22 23:47 part_dfly.mod
-rwxr-xr-x 1 root root   2096 Oct 22 23:47 part_dvh.mod
-rwxr-xr-x 1 root root   3152 Oct 22 23:47 part_gpt.mod
-rwxr-xr-x 1 root root    111 Oct 22 23:47 partmap.lst
-rwxr-xr-x 1 root root   2912 Oct 22 23:47 part_msdos.mod
-rwxr-xr-x 1 root root   2416 Oct 22 23:47 part_plan.mod
-rwxr-xr-x 1 root root   2160 Oct 22 23:47 part_sun.mod
-rwxr-xr-x 1 root root   2416 Oct 22 23:47 part_sunpc.mod
-rwxr-xr-x 1 root root     17 Oct 22 23:47 parttool.lst
-rwxr-xr-x 1 root root   7192 Oct 22 23:47 parttool.mod
-rwxr-xr-x 1 root root   2832 Oct 22 23:47 password.mod
-rwxr-xr-x 1 root root   4336 Oct 22 23:47 password_pbkdf2.mod
-rwxr-xr-x 1 root root   7400 Oct 22 23:47 pata.mod
-rwxr-xr-x 1 root root   1824 Oct 22 23:47 pbkdf2.mod
-rwxr-xr-x 1 root root   3352 Oct 22 23:47 pbkdf2_test.mod
-rwxr-xr-x 1 root root   3424 Oct 22 23:47 pcidump.mod
-rwxr-xr-x 1 root root  18968 Oct 22 23:47 pgp.mod
-rwxr-xr-x 1 root root  11112 Oct 22 23:47 plainmount.mod
-rwxr-xr-x 1 root root   3848 Oct 22 23:47 play.mod
-rwxr-xr-x 1 root root  10752 Oct 22 23:47 png.mod
-rwxr-xr-x 1 root root   2160 Oct 22 23:47 priority_queue.mod
-rwxr-xr-x 1 root root   5536 Oct 22 23:47 probe.mod
-rwxr-xr-x 1 root root   3680 Oct 22 23:47 procfs.mod
-rwxr-xr-x 1 root root   3072 Oct 22 23:47 progress.mod
-rwxr-xr-x 1 root root   1880 Oct 22 23:47 raid5rec.mod
-rwxr-xr-x 1 root root   3296 Oct 22 23:47 raid6rec.mod
-rwxr-xr-x 1 root root   3544 Oct 22 23:47 random.mod
-rwxr-xr-x 1 root root   3008 Oct 22 23:47 rdmsr.mod
-rwxr-xr-x 1 root root   2640 Oct 22 23:47 read.mod
-rwxr-xr-x 1 root root   1520 Oct 22 23:47 reboot.mod
-rwxr-xr-x 1 root root  77120 Oct 22 23:47 regexp.mod
-rwxr-xr-x 1 root root  13496 Oct 22 23:47 reiserfs.mod
-rwxr-xr-x 1 root root  25992 Oct 22 23:47 relocator.mod
-rwxr-xr-x 1 root root   5512 Oct 22 23:47 romfs.mod
-rwxr-xr-x 1 root root   6944 Oct 22 23:47 scsi.mod
-rwxr-xr-x 1 root root   4792 Oct 22 23:47 search_fs_file.mod
-rwxr-xr-x 1 root root   4856 Oct 22 23:47 search_fs_uuid.mod
-rwxr-xr-x 1 root root   4816 Oct 22 23:47 search_label.mod
-rwxr-xr-x 1 root root   5464 Oct 22 23:47 search.mod
-rwxr-xr-x 1 root root  17600 Oct 22 23:47 serial.mod
-rwxr-xr-x 1 root root    912 Oct 22 23:47 setjmp.mod
-rwxr-xr-x 1 root root   2520 Oct 22 23:47 setjmp_test.mod
-rwxr-xr-x 1 root root   8160 Oct 22 23:47 setpci.mod
-rwxr-xr-x 1 root root   7696 Oct 22 23:47 sfs.mod
-rwxr-xr-x 1 root root   3072 Oct 22 23:47 shift_test.mod
-rwxr-xr-x 1 root root   8144 Oct 22 23:47 signature_test.mod
-rwxr-xr-x 1 root root   3272 Oct 22 23:47 sleep.mod
-rwxr-xr-x 1 root root   3000 Oct 22 23:47 sleep_test.mod
-rwxr-xr-x 1 root root   8328 Oct 22 23:47 smbios.mod
-rwxr-xr-x 1 root root   2968 Oct 22 23:47 spkmodem.mod
-rwxr-xr-x 1 root root   9864 Oct 22 23:47 squash4.mod
-rwxr-xr-x 1 root root   3160 Oct 22 23:47 strtoull_test.mod
-rwxr-xr-x 1 root root  29256 Oct 22 23:47 syslinuxcfg.mod
-rwxr-xr-x 1 root root   4768 Oct 22 23:47 tar.mod
-rwxr-xr-x 1 root root    162 Oct 22 23:47 terminal.lst
-rwxr-xr-x 1 root root   6536 Oct 22 23:47 terminal.mod
-rwxr-xr-x 1 root root  19016 Oct 22 23:47 terminfo.mod
-rwxr-xr-x 1 root root   1952 Oct 22 23:47 test_blockarg.mod
-rwxr-xr-x 1 root root   3744 Oct 22 23:47 testload.mod
-rwxr-xr-x 1 root root   7360 Oct 22 23:47 test.mod
-rwxr-xr-x 1 root root   3416 Oct 22 23:47 testspeed.mod
-rwxr-xr-x 1 root root   7672 Oct 22 23:47 tftp.mod
-rwxr-xr-x 1 root root   6304 Oct 22 23:47 tga.mod
-rwxr-xr-x 1 root root   2272 Oct 22 23:47 time.mod
-rwxr-xr-x 1 root root   8112 Oct 22 23:47 tpm.mod
-rwxr-xr-x 1 root root   1936 Oct 22 23:47 trig.mod
-rwxr-xr-x 1 root root   3568 Oct 22 23:47 tr.mod
-rwxr-xr-x 1 root root   1792 Oct 22 23:47 true.mod
-rwxr-xr-x 1 root root  12392 Oct 22 23:47 udf.mod
-rwxr-xr-x 1 root root   7848 Oct 22 23:47 ufs1_be.mod
-rwxr-xr-x 1 root root   7688 Oct 22 23:47 ufs1.mod
-rwxr-xr-x 1 root root   7688 Oct 22 23:47 ufs2.mod
-rwxr-xr-x 1 root root   9784 Oct 22 23:47 uhci.mod
-rwxr-xr-x 1 root root   5680 Oct 22 23:47 usb_keyboard.mod
-rwxr-xr-x 1 root root  17816 Oct 22 23:47 usb.mod
-rwxr-xr-x 1 root root  11304 Oct 22 23:47 usbms.mod
-rwxr-xr-x 1 root root   2768 Oct 22 23:47 usbserial_common.mod
-rwxr-xr-x 1 root root   3328 Oct 22 23:47 usbserial_ftdi.mod
-rwxr-xr-x 1 root root   3656 Oct 22 23:47 usbserial_pl2303.mod
-rwxr-xr-x 1 root root   2240 Oct 22 23:47 usbserial_usbdebug.mod
-rwxr-xr-x 1 root root   5504 Oct 22 23:47 usbtest.mod
-rwxr-xr-x 1 root root   8288 Oct 22 23:47 video_bochs.mod
-rwxr-xr-x 1 root root   8872 Oct 22 23:47 video_cirrus.mod
-rwxr-xr-x 1 root root   9920 Oct 22 23:47 video_colors.mod
-rwxr-xr-x 1 root root  28040 Oct 22 23:47 video_fb.mod
-rwxr-xr-x 1 root root   5208 Oct 22 23:47 videoinfo.mod
-rwxr-xr-x 1 root root     41 Oct 22 23:47 video.lst
-rwxr-xr-x 1 root root   8664 Oct 22 23:47 video.mod
-rwxr-xr-x 1 root root   3584 Oct 22 23:47 videotest_checksum.mod
-rwxr-xr-x 1 root root   5304 Oct 22 23:47 videotest.mod
-rwxr-xr-x 1 root root   2328 Oct 22 23:47 wrmsr.mod
-rwxr-xr-x 1 root root  10856 Oct 22 23:47 xfs.mod
-rwxr-xr-x 1 root root  41464 Oct 22 23:47 xnu.mod
-rwxr-xr-x 1 root root   3184 Oct 22 23:47 xnu_uuid.mod
-rwxr-xr-x 1 root root   3024 Oct 22 23:47 xnu_uuid_test.mod
-rwxr-xr-x 1 root root  19376 Oct 22 23:47 xzio.mod
-rwxr-xr-x 1 root root   8272 Oct 22 23:47 zfscrypt.mod
-rwxr-xr-x 1 root root  10392 Oct 22 23:47 zfsinfo.mod
-rwxr-xr-x 1 root root  56256 Oct 22 23:47 zfs.mod
-rwxr-xr-x 1 root root  78592 Oct 22 23:47 zstd.mod

'/boot/System Volume Information':
total 0

Yeah, `mkinitcpio -P` worked now but now what? wouldn't that get unmounted on shutdown? How can I keep it at the place? This is my first time with UEFI, is this how it is, in UEFI?


Experiment at-least.

Offline

#10 2023-10-24 13:21:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,447

Re: [Solved] specified kernel image does not exist: '/boot/vmlinuz-linux

You need to put the UUID corresponding to /dev/nvme0n1p7 to your /etc/fstab so that it gets remounted on /boot when you boot : https://wiki.archlinux.org/title/Fstab

This is only tangentially related to UEFI. You can have an ESP that houses just the bootloader, nothing else and then you don't need to mount that to /boot. In your case it's both, the location of the bootloader and the location of the kernel images.

Last edited by V1del (2023-10-24 13:23:03)

Offline

#11 2023-10-24 15:06:54

amixra
Member
Registered: 2022-01-24
Posts: 125

Re: [Solved] specified kernel image does not exist: '/boot/vmlinuz-linux

oh yes, I had missed this part https://wiki.archlinux.org/title/Instal … uide#Fstab quite consciously wondering what's the importance of it. Now is that supposed to be done manually? genfstab isn't available in arch packages repository


Experiment at-least.

Offline

#12 2023-10-24 15:10:46

seth
Member
Registered: 2012-09-03
Posts: 60,000

Re: [Solved] specified kernel image does not exist: '/boot/vmlinuz-linux

Yes it is: https://archlinux.org/packages/extra/an … l-scripts/
But the normal approch is to write the fstab as you need it - genfstab is just a convenient way to build it from the current mounts.
If the current mounts are off, so will be your fstab.

systemd has also some pseudo-intelligent way to mount partitions based on their labels, obviously that approach has its limits.

Add the boot partition, make sure that it's below the entry for the root partition as the order matters.

Online

#13 2023-10-24 15:12:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,447

Re: [Solved] specified kernel image does not exist: '/boot/vmlinuz-linux

It's a single line, I'd personally do it manually. If you want to opt for genfstab you can do that from the ISO after having mounted everything logically correctly under /mnt, or from the actual system by installing the https://archlinux.org/packages/extra/an … l-scripts/ package.

FFFF5...

Last edited by V1del (2023-10-24 15:14:06)

Offline

#14 2023-10-24 16:33:27

amixra
Member
Registered: 2022-01-24
Posts: 125

Re: [Solved] specified kernel image does not exist: '/boot/vmlinuz-linux

I just wanted to pick up a tool so that I can be sure of it. Like it generated lots of options compared to what I would have put, probably boring 'defaults'. Sharing for confirmation if that's how the `/etc/fstab` should look like

  GNU nano 7.2                                                                              /etc/fstab                                                                                        
# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p9
UUID=a0b50b57-1349-4ab3-9d53-49a4af182a65       /               ext4            rw,relatime     0 1

# /dev/nvme0n1p7
UUID=3EF7-B99B          /boot           vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro   0 2

# /dev/nvme0n1p8
UUID=da9e9501-4235-4123-995c-27a235070d8b       none            swap            defaults        0 0

Last edited by amixra (2023-10-24 16:39:09)


Experiment at-least.

Offline

Board footer

Powered by FluxBB