I accidentally interrupted update process and i was fixing it according to this post : https://forum.manjaro.org/t/error-file-boot-vmlinuz-5-10-x86-64-not-found/65862/2
and now it want to boot into grub it shows software keyboard (i have touchscreen) and after like 3 secs it reboots into startup menu where i have for choosing bios boot options etc.
I think it corrupted with this:
[manjaro-gnome /]# update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: mkdir /var/lock/dmraid
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text
brahma
20 September 2022 10:16
2
it didnt detected any kernels, so first from chroot rerun update:
pacman-mirrors --fasttrack 5 && pacman -Syyu
if there are no errors, post output from:
mhwd-kernel -li
So first of all here is output from inxi
[manjaro-gnome /]# inxi --admin --verbosity=7 --filter --no-host --width
12System:
12Kernel 5.10.105-1-MANJARO 12arch x86_64 12bits 64 12compiler gcc 12v 11.2.0
12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
misobasedir=manjaro misolabel=MANJARO_GNOMEM_2125 quiet
systemd.show_status=1 driver=free nouveau.modeset=1 i915.modeset=1
radeon.modeset=1
12Console N/A 12Distro Manjaro Linux 12base Arch Linux
12Machine:
12Type Convertible 12System HP 12product HP Spectre x360 Convertible 13-ae0xx
12v N/A 12serial <filter> 12Chassis 12type 31 12serial N/A
12Mobo HP 12model 83B9 12v 56.50 12serial <filter> 12UEFI AMI 12v F.36 12date 03/19/2022
(upower:34): UPower-WARNING **: 23:28:06.842: Cannot connect to upowerd: Could not connect: No such file or directory
12Battery:
12ID-1 BAT0 12charge 49.4 Wh (100.0%) 12condition 49.4/49.4 Wh (100.0%) 12volts 12.2
12min 11.6 12model HP Primary 12type Li-ion 12serial N/A 12status discharging
12Device-1 hid-0018:04F3:2593.0001-battery 12model ELAN2514:00 04F3:2593
12serial N/A 12charge N/A 12status N/A
12Memory:
12RAM 12total 15.39 GiB 12used 2.91 GiB (18.9%)
12Array-1 12capacity 16 GiB 12slots 2 12EC None 12max-module-size 8 GiB 12note est.
12Device-1 Bottom - on board 12type LPDDR3 12detail synchronous unbuffered
(unregistered) 12size 8 GiB 12speed 2133 MT/s 12volts 12curr 1.2 12min 1.25 12max 1.25
12width (bits) 12data 64 12total 64 12manufacturer Samsung 12part-no K4EBE304EB-EGCG
12serial N/A
12Device-2 Bottom - on board 12type LPDDR3 12detail synchronous unbuffered
(unregistered) 12size 8 GiB 12speed 2133 MT/s 12volts 12curr 1.2 12min 1.25 12max 1.25
12width (bits) 12data 64 12total 64 12manufacturer Samsung 12part-no K4EBE304EB-EGCG
12serial N/A
12CPU:
12Info 12model Intel Core i7-8550U 12socket BGA1356 (U3E1) 12note check 12bits 64
12type MT MCP 12arch Coffee Lake 12gen core 8 12level v3 12built 2017
12process Intel 14nm 12family 6 12model-id 0x8E (142) 12stepping 0xA (10)
12microcode 0xEC
12Topology 12cpus 1x 12cores 4 12tpc 2 12threads 8 12smt enabled 12cache 12L1 256 KiB
12desc d-4x32 KiB; i-4x32 KiB 12L2 1024 KiB 12desc 4x256 KiB 12L3 8 MiB 12desc 1x8 MiB
12Speed (MHz) 12avg 800 12min/max 400/4000 12base/boost 3600/8300 12scaling
12driver intel_pstate 12governor powersave 12volts 1.2 V 12ext-clock 100 MHz 12cores
121 800 122 800 123 800 124 800 125 800 126 800 127 800 128 800 12bogomips 32012
12Flags 3dnowprefetch abm acpi adx aes aperfmperf apic arat
arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp
rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
12Vulnerabilities
12Type itlb_multihit 12status KVM: VMX disabled
12Type l1tf 12mitigation PTE Inversion; VMX: conditional cache flushes, SMT
vulnerable
12Type mds 12mitigation Clear CPU buffers; SMT vulnerable
12Type meltdown 12mitigation PTI
12Type spec_store_bypass 12mitigation Speculative Store Bypass disabled via
prctl and seccomp
12Type spectre_v1 12mitigation usercopy/swapgs barriers and __user pointer
sanitization
12Type spectre_v2 12mitigation Retpolines, IBPB: conditional, IBRS_FW, STIBP:
conditional, RSB filling
12Type srbds 12mitigation Microcode
12Type tsx_async_abort 12status Not affected
12Graphics:
12Device-1 Intel UHD Graphics 620 12vendor Hewlett-Packard 12driver i915 12v kernel
12arch Gen-9.5 12process Intel 14nm 12built 2016-20 12ports 12active eDP-1 12empty DP-1,
DP-2, HDMI-A-1, HDMI-A-2 12bus-ID 00:02.0 12chip-ID 8086:5917 12class-ID 0300
12Device-2 Cheng Uei Precision Industry (Foxlink) HP Wide Vision FHD Camera
12type USB 12driver uvcvideo 12bus-ID 1-5:3 12chip-ID 05c8:0815 12class-ID 0e02
12serial <filter>
12Display 12server X.org 12v 1.21.1.4 12with Xwayland 12v 22.1.3
12compositor gnome-shell 12driver 12X 12loaded modesetting 12alternate fbdev,vesa
12gpu i915 12tty 80x40
12Monitor-1 eDP-1 12model ChiMei InnoLux 0x1376 12built 2015 12res 1920x1080
12dpi 166 12gamma 1.2 12size 293x165mm (11.54x6.5") 12diag 336mm (13.2") 12ratio 16:9
12modes 1920x1080
12Message GL data unavailable in console for root.
12Audio:
12Device-1 Intel Sunrise Point-LP HD Audio 12vendor Hewlett-Packard
12driver snd_hda_intel 12v kernel 12bus-ID 00:1f.3 12chip-ID 8086:9d71 12class-ID 0403
12Sound Server-1 ALSA 12v k5.10.105-1-MANJARO 12running yes
12Sound Server-2 JACK 12v 1.9.21 12running no
12Sound Server-3 PulseAudio 12v 16.1 12running yes
12Sound Server-4 PipeWire 12v 0.3.57 12running no
12Network:
12Device-1 Intel Wireless 8265 / 8275 12driver iwlwifi 12v kernel 12pcie 12gen 1
12speed 2.5 GT/s 12lanes 1 12bus-ID 02:00.0 12chip-ID 8086:24fd 12class-ID 0280
12IF wlp2s0 12state up 12mac <filter>
12IP v4 <filter> 12type dynamic noprefixroute 12scope global 12broadcast <filter>
12IP v6 <filter> 12type noprefixroute 12scope link
12WAN IP <filter>
12Bluetooth:
12Device-1 Intel Bluetooth wireless interface 12type USB 12driver btusb 12v 0.8
12bus-ID 1-7:4 12chip-ID 8087:0a2b 12class-ID e001
12Report rfkill 12ID hci0 12rfk-id 0 12state up 12address see --recommends
12Logical:
12Message No logical block device data found.
12RAID:
12Message No RAID data found.
12Drives:
12Local Storage 12total 983.34 GiB 12used 207.94 GiB (21.1%)
12ID-1 /dev/mmcblk0 12maj-min 179:0 12model 00000 12size 14.56 GiB 12block-size
12physical 512 B 12logical 512 B 12type SSD 12serial <filter>
12SMART Message Unknown smartctl error. Unable to generate data.
12ID-2 /dev/nvme0n1 12maj-min 259:0 12vendor Gigabyte 12model GP-GSM2NE3100TNTD
12size 953.87 GiB 12block-size 12physical 512 B 12logical 512 B 12speed 31.6 Gb/s
12lanes 4 12type SSD 12serial <filter> 12rev EDFME0.0 12temp 27.9 C
12SMART yes 12health PASSED 12on 8d 13h 12cycles 492 12read-units 1,751,961 [897 GB]
12written-units 2,356,793 [1.20 TB]
12ID-3 /dev/sda 12maj-min 8:0 12type USB 12vendor SanDisk 12model Cruzer Blade
12size 14.91 GiB 12block-size 12physical 512 B 12logical 512 B 12type N/A
12serial <filter> 12rev 1.00
12SMART Message Unknown USB bridge. Flash drive/Unsupported enclosure?
12Message No optical or floppy data found.
12Partition:
12ID-1 / 12raw-size 416.76 GiB 12size 409.15 GiB (98.17%) 12used 29.38 GiB (7.2%)
12fs ext4 12block-size 4096 B 12dev /dev/nvme0n1p6 12maj-min 259:6 12label N/A
12uuid 7f45e9ad-bede-495d-b91f-d648e4249ced
12ID-2 /boot/efi 12raw-size 100 MiB 12size 96 MiB (96.00%) 12used 35.9 MiB (37.4%)
12fs vfat 12block-size 512 B 12dev /dev/nvme0n1p2 12maj-min 259:2 12label N/A
12uuid 400C-5E42
12ID-3 /media/Windows 12raw-size 535.88 GiB 12size 535.88 GiB (100.00%)
12used 178.53 GiB (33.3%) 12fs fuseblk 12block-size 4096 B 12dev /dev/nvme0n1p4
12maj-min 259:4 12label N/A 12uuid 7E5C169D5C164FEF
12Swap:
12Alert No swap data was found.
12Unmounted:
12ID-1 /dev/nvme0n1p1 12maj-min 259:1 12size 529 MiB 12fs ntfs 12label Obnovení
12uuid 8ACE0B18CE0AFBE7
12ID-2 /dev/nvme0n1p3 12maj-min 259:3 12size 16 MiB 12fs N/A 12label N/A 12uuid N/A
12ID-3 /dev/nvme0n1p5 12maj-min 259:5 12size 617 MiB 12fs ntfs 12label N/A
12uuid 9830656C30655274
12ID-4 /dev/sda1 12maj-min 8:1 12size 2.65 GiB 12fs N/A 12label MANJARO_GNOMEM_2125
12uuid 2022-03-14-10-11-21-00
12ID-5 /dev/sda2 12maj-min 8:2 12size 4 MiB 12fs N/A 12label MISO_EFI 12uuid E872-300D
12USB:
12Hub-1 1-0:1 12info Hi-speed hub with single TT 12ports 12 12rev 2.0 12speed 480 Mb/s
12chip-ID 1d6b:0002 12class-ID 0900
12Device-1 1-1:2 12info SanDisk Cruzer Blade 12type Mass Storage
12driver usb-storage 12interfaces 1 12rev 2.0 12speed 480 Mb/s 12power 200mA
12chip-ID 0781:5567 12class-ID 0806 12serial <filter>
12Device-2 1-5:3 12info Cheng Uei Precision Industry (Foxlink) HP Wide Vision
FHD Camera 12type Video 12driver uvcvideo 12interfaces 4 12rev 2.0 12speed 480 Mb/s
12power 500mA 12chip-ID 05c8:0815 12class-ID 0e02 12serial <filter>
12Device-3 1-7:4 12info Intel Bluetooth wireless interface 12type Bluetooth
12driver btusb 12interfaces 2 12rev 2.0 12speed 12 Mb/s 12power 100mA
12chip-ID 8087:0a2b 12class-ID e001
12Hub-2 2-0:1 12info Super-speed hub 12ports 6 12rev 3.0 12speed 5 Gb/s
12chip-ID 1d6b:0003 12class-ID 0900
12Sensors:
12System Temperatures 12cpu 36.0 C 12pch 35.0 C 12mobo N/A
12Fan Speeds (RPM) N/A
12Info:
12Processes 250 12Uptime 9m 12wakeups 3 12Init systemd 12v 251 12default graphical
12tool systemctl 12Compilers 12gcc 12.2.0 12clang 14.0.6 12Packages 12pm pacman
12pkgs 1175 12libs 339 12tools gnome-software,pamac 12Client Unknown Client: systemd
12inxi 3.3.21
[manjaro-gnome /]#
and here is output from mhwd-kernel -li
[manjaro-gnome /]# mhwd-kernel -li
Currently running: 5.10.105-1-MANJARO (linux510)
The following kernels are installed in your system:
* linux510
brahma
21 September 2022 19:44
5
did you rerun the update?
reinstall the 5.10:
pacman -S linux510
and then install the 515:
pacman -S linux515
if there are no errors, post output from:
update-grub
to check if the kernels are detected
Here is output from pacman -S linux510
[manjaro-gnome /]# pacman -S linux510
warning: linux510-5.10.141-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) linux510-5.10.141-1
Total Installed Size: 80.01 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
:: Processing package changes...
(1/1) reinstalling linux510 [######################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'default'
-> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64.img
==> Starting build: 5.10.141-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.10-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'fallback'
-> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64-fallback.img -S autodetect
==> Starting build: 5.10.141-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qed
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.10-x86_64-fallback.img
==> Image generation successful
(4/4) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: mkdir /var/lock/dmraid
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
and here is form pacman -S linux515
[manjaro-gnome /]# pacman -S linux515
resolving dependencies...
looking for conflicting packages...
Packages (1) linux515-5.15.65-1
Total Download Size: 101.08 MiB
Total Installed Size: 105.57 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
linux515-5.15.65... 101.1 MiB 6.79 MiB/s 00:15 [######################] 100%
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
:: Processing package changes...
(1/1) installing linux515 [######################] 100%
Optional dependencies for linux515
wireless-regdb: to set the correct wireless channels of your country
[installed]
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
-> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img
==> Starting build: 5.15.65-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
-> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect
==> Starting build: 5.15.65-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qed
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64-fallback.img
==> Image generation successful
(4/4) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
I think it instlled just fine but I rather post the output from the commands
brahma
22 September 2022 12:15
7
looks ok, kernels are detected, you can try now if you can boot
Btw here is output from grub-update
[manjaro-gnome /]# update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: mkdir /var/lock/dmraid
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
After grub-update
it boots directly into Manjaro
Before it booted into grub and there was only Manjaro
brahma
22 September 2022 19:35
9
so you were not dual booting with win?
do you want to be the grub shown during boot?
Yes
I want to have dualboot from grub with manjaro and windows if I can say it like that
brahma
22 September 2022 20:01
11
ok, so open this file:
sudo nano /etc/default/grub
and edit this line to look like this:
GRUB_TIMEOUT_STYLE=menu
its the third line from top, then save the file with: ctrl+x
and update grub:
sudo update-grub
reboot and see if the grub menu is there
Nice now it works
Thanks!
And to sum up for other people, here is what I have done
chroot from live Manjaro
sudo su -
superuser mode
manjaro-chroot -a
automatically detect installed manjaro
in chroot from live Manjaro
pacman-mirrors --fasttrack 5 && pacman -Syyu
for returning update
pacman -S linux510
and pacman -S linux515
to reinstall Manjaro 5.10 and install 5.15
update-grub
to update config from grub
and finally, I can go back to installed Manjaro and fix the grub menu
from installed Manjaro
edit file sudo nano /etc/default/grub
and edit line to GRUB_TIMEOUT_STYLE=menu
Everything done
If there is something inaccurate, please correct me
1 Like
system
Closed
25 September 2022 11:55
13
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.