kth
29 January 2022 06:34
1
I am new.
I have searched the forum and cannot find an answer that works.
When I turn on computer, Manjaro fails to start.
I think the problem is from an update that did not complete last week. I update weekly.
I tried this [solution] from Aragorn in May21
that’s because the initramfs
is only generated at the end of the update procedure, and only then is GRUB updated as well. Okay, boot up from the Manjaro CD/USB ─ any recent one will do; it doesn’t have to be the latest ─ in live mode, and then open up a terminal window. In this terminal, issue the following commands…
* *sudo su -* *manjaro-chroot -a* *
Select your Manjaro installation. Then issue the following commands…
* *rm -f /var/lib/pacman/db.lck* *pacman -Syu* *
Let the update finish this time. At the end of the procedure, it will generate the new initramfs
and will add the updated kernel to the GRUB boot loader menu.
I have 8 updates which do not install for some reason, but they do not look critical as they were only released in last couple of days. Before that, the system was showing up to date.
When I list kernels, it shows 59 as current and 515 and 510 as installed.
Using terminal with live CD, I have tried to update to later kernel. But after reboot, nothing is changed. Still stuck on Linux 59.
I have updated initramfs.
I have updated grub.
I have spent many hours reading forum posts and trying to fix. But have completely failed.
I would really like to see a suggestion.
Did you chroot the installed system or you just did that on live media?
From what I read, when in the chroot
you didn’t remove kernel 5.9
, which you should have, I think.
Boot into thee live ISO environment, open a browser on this page, open a terminal, enter a chroot
environment, and provide the output for:
mhwd-kernel --listinstalled
P.S.:
When providing terminal output, paste the text and wrap it in three backticks (```). Like this:
```
pasted text
```
This just causes it to be rendered like this:
Eros
eu lorem amet
gravida placerat
scelerisque interdum
aliquam fusce
sed ipsum
phasellus dolor bibendum.
Instead of like this:
Eros eu lorem amet gravida placerat scelerisque interdum aliquam fusce sed ipsum phasellus dolor bibendum.
Thereby improving legibility and making it easier for those trying to provide assistance.
kth
29 January 2022 08:20
5
Thanks for lookin at this.
The following kernels are installed in your system:
* linux510
* linux510-rt
* linux515-rt
kth:
* linux515-rt
Any specific reason for using the Real Time kernel?
It seems you might have some kernel modules/headers/something from kernel 5.9
left over. Please provide the output for:
sudo ls /boot
kth
29 January 2022 08:43
7
I use real time kernel because my hobby is music.
here is the boot
initramfs-5.7-x86_64-fallback.img linux510-x86_64.kver
initramfs-5.7-x86_64.img linux510-x86_64.kver.old
initramfs-5.9-rt-x86_64-fallback.img memtest86+
initramfs-5.9-rt-x86_64.img vmlinuz-5.7-x86_64
intel-ucode.img vmlinuz-5.9-rt-x86_64
linux-510-rt-x86_64.kver
Makes sense then. Cool.
I think , since they’re not listed as installed, you can safely remove the files for kernel 5.7
and 5.9` . BUT , lets rather make backups of them first.
Backup them first:
mv /boot/initramfs-5.7-x86_64-fallback.img /root/kernelbackups/
mv /boot/initramfs-5.7-x86_64.img /root/kernelbackups/
mv /boot/initramfs-5.7-x86_64-fallback.img /root/kernelbackups/
mv /boot/initramfs-5.7-x86_64.img /root/kernelbackups/
mv vmlinuz-5.7-x86_64 /root/kernelbackups/
mv vmlinuz-5.9-rt-x86_64 /root/kernelbackups/
(This will also remove them from /boot
.
Followed by a reboot and seeing if it works. Report back, either way.
kth
29 January 2022 09:51
9
If anyone is following this for help, remember to create directory before attempting to move. Took me a couple of attempts before I figured that out.
kth
29 January 2022 09:52
10
Boot now looks like.
grub linux-510-rt-x86_64.kver linux510-x86_64.kver memtest86+
intel-ucode.img linux-515-rt-x86_64.kver linux510-x86_64.kver.old
Did it work? If so, please provide the output for:
sudo inxi --admin --verbosity=7 --filter --no-host --width
And:
mhwd-kernel --listinstalled
kth
29 January 2022 12:25
12
computer boots straight to memory test.
I have tried to upgrade grub, but I have not found anyway past it.
12System:
12Kernel 5.3.7-2-MANJARO x86_64 12bits 64 12compiler gcc 12v 9.2.0
12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1
misobasedir=manjaro misolabel=MJRO1812 quiet systemd.show_status=1
apparmor=1 security=apparmor
12Console N/A 12Distro Manjaro Linux 12base Arch Linux
12Machine:
12Type Desktop 12Mobo Acer 12model Aspire Z5771 12v 1.04 12serial <filter>
12BIOS American Megatrends 12v P01-A0 12date 08/26/2011
12Battery:
12Message No system battery data found. Is one present?
12Memory:
12RAM 12total 7.68 GiB 12used 1.65 GiB (21.4%)
12Array-1 12capacity 32 GiB 12slots 2 12EC None 12max-module-size 16 GiB 12note est.
12Device-1 SODIMM1 12size 4 GiB 12speed 1333 MT/s 12type DDR3 12detail synchronous
12bus-width 64 bits 12total 64 bits 12manufacturer Nanya 12part-no NT4GC64B8HB0NS-CG
12serial <filter>
12Device-2 SODIMM2 12size 4 GiB 12speed 1333 MT/s 12type DDR3 12detail synchronous
12bus-width 64 bits 12total 64 bits 12manufacturer Nanya 12part-no NT4GC64B8HB0NS-CG
12serial <filter>
12CPU:
12Info 12model Intel Core i7-2600S 12bits 64 12type MT MCP 12arch Sandy Bridge
12family 6 12model-id 0x2A (42) 12stepping 7 12microcode 0x2F
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 1610 12high 1677 12min/max 1600/3800 12base/boost 2800/2800
12scaling 12driver intel_pstate 12governor powersave 12volts 1.2 V 12ext-clock 100 MHz
12cores 121 1597 122 1596 123 1677 124 1628 125 1596 126 1596 127 1600 128 1597
12bogomips 44717
12Flags acpi aperfmperf apic arat arch_perfmon avx bts clflush cmov
constant_tsc cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept est
flexpriority flush_l1d fpu fxsr ht ibpb ibrs ida lahf_lm lm mca mce
md_clear mmx monitor msr mtrr nonstop_tsc nopl nx pae pat pbe pcid
pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pti pts rdtscp rep_good
sep smx ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow
tsc tsc_deadline_timer vme vmx vnmi vpid x2apic xsave xsaveopt xtopology
xtpr
12Vulnerabilities
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 Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
12Graphics:
12Device-1 Intel 2nd Generation Core Processor Family Integrated Graphics
12vendor Acer Incorporated ALI 12driver i915 12v kernel 12bus-ID 00:02.0
12chip-ID 8086:0102 12class-ID 0300
12Device-2 NVIDIA GF119 [GeForce GT 520]
12vendor PC Partner Limited / Sapphire 12driver nouveau 12v kernel 12bus-ID 01:00.0
12chip-ID 10de:1040 12class-ID 0300
12Device-3 Chicony 1.3M WebCam 12type USB 12driver uvcvideo 12bus-ID 1-1.3:5
12chip-ID 04f2:b2c2 12class-ID 0e02 12serial <filter>
12Display 12server X.org 1.21.1.3 12compositor xfwm4 12driver 12loaded nouveau
12note n/a (using device driver) 12tty 80x40
12Message Unable to show advanced data. Required tool glxinfo missing.
12Audio:
12Device-1 Intel 6 Series/C200 Series Family High Definition Audio
12vendor Acer Incorporated ALI 12driver snd_hda_intel 12v kernel 12bus-ID 00:1b.0
12chip-ID 8086:1c20 12class-ID 0403
12Device-2 NVIDIA GF119 HDMI Audio 12vendor PC Partner Limited / Sapphire
12driver snd_hda_intel 12v kernel 12bus-ID 01:00.1 12chip-ID 10de:0e08 12class-ID 0403
12Sound Server-1 ALSA 12v k5.3.7-2-MANJARO 12running yes
12Sound Server-2 sndio 12v N/A 12running no
12Sound Server-3 JACK 12v 1.9.20 12running no
12Sound Server-4 PulseAudio 12v 15.0 12running yes
12Sound Server-5 PipeWire 12v 0.3.43 12running no
12Network:
12Device-1 Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
12vendor Acer Incorporated ALI 12driver r8169 12v kernel 12port d000 12bus-ID 03:00.0
12chip-ID 10ec:8168 12class-ID 0200
12IF enp3s0 12state up 12speed 1000 Mbps 12duplex full 12mac <filter>
12IP v4 <filter> 12type dynamic noprefixroute 12scope global 12broadcast <filter>
12IP v6 <filter> 12type noprefixroute 12scope link
12Device-2 Ralink RT3090 Wireless 802.11n 1T/1R PCIe 12vendor Lite-On
12driver rt2800pci 12v 2.3.0 12bus-ID 06:00.0 12chip-ID 1814:3090 12class-ID 0280
12IF wlp6s0 12state down 12mac <filter>
12WAN IP <filter>
12Bluetooth:
12Device-1 USI Bluetooth Module BCM92070 12type USB 12driver btusb 12v 0.8
12bus-ID 1-1.4:6 12chip-ID 10ab:0816 12class-ID fe01 12serial <filter>
12Report rfkill 12ID hci0 12rfk-id 1 12state down 12bt-service N/A 12rfk-block
12hardware no 12software yes 12address see --recommends
12Logical:
12Message No logical block device data found.
12RAID:
12Message No RAID data found.
12Drives:
12Local Storage 12total 223.57 GiB 12used 94.33 GiB (42.2%)
12SMART Message Required tool smartctl not installed. Check --recommends
12ID-1 /dev/sda 12maj-min 8:0 12vendor SanDisk 12model SDSSDA240G 12size 223.57 GiB
12block-size 12physical 512 B 12logical 512 B 12speed 3.0 Gb/s 12type SSD
12serial <filter> 12rev 80RL
12Optical-1 /dev/sr0 12vendor Slimtype 12model BD E DS6E2SH 12rev CA12
12dev-links cdrom
12Features 12speed 62 12multisession yes 12audio yes 12dvd yes
12rw cd-r,cd-rw,dvd-r,dvd-ram 12state running
12Partition:
12ID-1 / 12raw-size 223.57 GiB 12size 219.06 GiB (97.98%) 12used 94.33 GiB (43.1%)
12fs ext4 12block-size 4096 B 12dev /dev/sda1 12maj-min 8:1 12label N/A
12uuid 3ba74a18-8c53-4d82-a442-c637e0fe3589
12Swap:
12Alert No swap data was found.
12Unmounted:
12Message No unmounted partitions found.
12USB:
12Hub-1 1-0:1 12info Full speed or root hub 12ports 2 12rev 2.0 12speed 480 Mb/s
12chip-ID 1d6b:0002 12class-ID 0900
12Hub-2 1-1:2 12info Intel Integrated Rate Matching Hub 12ports 4 12rev 2.0
12speed 480 Mb/s 12chip-ID 8087:0024 12class-ID 0900
12Device-1 1-1.1:3 12info AVerMedia A373 12type <vendor specific> 12driver N/A
12interfaces 1 12rev 2.0 12speed 480 Mb/s 12power 500mA 12chip-ID 07ca:a373
12class-ID 0000 12serial <filter>
12Device-2 1-1.2:4 12info IdeaCom IDC 6673 12type HID
12driver hid-multitouch,usbhid 12interfaces 1 12rev 1.1 12speed 12 Mb/s 12power 100mA
12chip-ID 1cb6:6673 12class-ID 0300
12Device-3 1-1.3:5 12info Chicony 1.3M WebCam 12type Video 12driver uvcvideo
12interfaces 2 12rev 2.0 12speed 480 Mb/s 12power 500mA 12chip-ID 04f2:b2c2
12class-ID 0e02 12serial <filter>
12Device-4 1-1.4:6 12info USI Bluetooth Module BCM92070 12type Bluetooth
12driver btusb 12interfaces 4 12rev 2.0 12speed 12 Mb/s 12chip-ID 10ab:0816
12class-ID fe01 12serial <filter>
12Hub-3 2-0:1 12info Hi-speed hub with single TT 12ports 2 12rev 2.0
12speed 480 Mb/s 12chip-ID 1d6b:0002 12class-ID 0900
12Hub-4 3-0:1 12info Full speed or root hub 12ports 2 12rev 2.0 12speed 480 Mb/s
12chip-ID 1d6b:0002 12class-ID 0900
12Hub-5 3-1:2 12info Intel Integrated Rate Matching Hub 12ports 6 12rev 2.0
12speed 480 Mb/s 12chip-ID 8087:0024 12class-ID 0900
12Device-1 3-1.3:3 12info Logitech Keyboard K120 12type Keyboard,HID
12driver hid-generic,usbhid 12interfaces 2 12rev 1.1 12speed 1.5 Mb/s 12power 90mA
12chip-ID 046d:c31c 12class-ID 0300
12Device-2 3-1.4:4 12info Logitech M90/M100 Optical Mouse 12type Mouse
12driver hid-generic,usbhid 12interfaces 1 12rev 2.0 12speed 1.5 Mb/s 12power 98mA
12chip-ID 046d:c05a 12class-ID 0301
12Hub-6 4-0:1 12info Super-speed hub 12ports 2 12rev 3.0 12speed 5 Gb/s
12chip-ID 1d6b:0003 12class-ID 0900
12Sensors:
12System Temperatures 12cpu 50.0 C 12mobo N/A 12gpu nouveau 12temp 52.0 C
12Fan Speeds (RPM) N/A
12Info:
12Processes 234 12Uptime 1h 14m 12wakeups 0 12Init systemd 12v 250 12tool systemctl
12Compilers 12gcc 11.1.0 12clang 13.0.0 12Packages 12pacman 1457 12lib 456 12flatpak 0
12Client Unknown Client: systemd 12inxi 3.3.12```
kth
29 January 2022 12:27
13
* linux510
* linux510-rt
* linux515-rt```
5.3
is EOL. Switch to a supported to 5.15-rt
as that is already installed (Press Esc during boot to get into grub menu and boot with 5.15-rt
)
Double check your running kernel is not 5.3
then remove it:
uname -r #to check kernel version
sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu
sudo mhwd-kernel -r linux53
kth
30 January 2022 03:15
16
Instead 5.3 seems to have started, but it seems to not be installed ?
andreas85 - you are correct. 5.3 seems to start, but is not in installed list.
In grub, no kernels show.
update-grub does not find any kernels - but I know those kernels are in manjaro as i see them in boot folder
kth
30 January 2022 03:19
17
Is 53 running from live CD?
The following kernels are installed in your system:
* linux510
* linux510-rt
* linux515-rt```
kth
30 January 2022 03:33
18
sudo update-grub && sudo mkinitcpio -P
, detect no kernels.
This is what I am trying to solve now
Can you actually boot into grub? Sometimes you have to hold shift while booting. If you can boot into grub/advanced options what can you select
kth
30 January 2022 15:00
20
Yes. Grub menu opens after start. Memory Test is the only choice.
Update Grub does not detect any kernels, even though they are installed.
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.
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
I have not been able to work out why the kernels are not recognised.
I tried this
Installing for i386-pc platform.
grub-install: error: install device isn't specified.
When I run mkinitcpio -P, it goes searching for a bunch of older kernels for some reason.
-> -k /boot/vmlinuz-5.7-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.7-x86_64.img
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.7-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux57.preset: 'fallback'
-> -k /boot/vmlinuz-5.7-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.7-x86_64-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.7-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux59-rt.preset: 'default'
-> -k /boot/vmlinuz-5.9-rt-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.9-rt-x86_64.img
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.9-rt-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux59-rt.preset: 'fallback'
-> -k /boot/vmlinuz-5.9-rt-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.9-rt-x86_64-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.9-rt-x86_64'