Though, this issue appears with very less frequency.
The doubt in my mind is how boot process starts without the presence of bootloader in sda1.
I am not able to perform journalctl -xb as this issue do not boots the system up and when I get the correct boot order, everything starts from recovering journal. I am also not able to reproduce again on my will on the system.
How should I proceed ?
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=a4f552a4-21c8-4da3-932a-f72d289bfde6 / ext4 defaults,noatime 0 1
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
UUID=46994f1c-f1a8-4687-a5af-6ebe09e30798 /mnt/sda1 nofail ext4 defaults,noatime 0 2
UUID=77d462a0-1576-4eed-b18d-bbafea04c24a /mnt/sda2 ext4 defaults,noatime 0 2
UUID=9c09fd9d-f36b-42b6-9ca5-bfeb6219d0e5 /mnt/sda5 ext4 defaults,noatime 0 2
UUID=23c7fa5a-28fb-49e3-854a-638bfec7844c /mnt/sda6 ext4 defaults,noatime 0 2
The system won’t boot up if the process went to booting from /sda1. I need to perform Kresimir’s tip magic SysReq key many times in order to get correct boot drive, though chances of happening from this method is very low.
I am only left with force poweroff in order to get the correct boot drive.
The doubt is that I cannot confirm whether your suggestion had fixed issue or not, as this do not happen frequently, rather it happens once in 60-70 boots, or more.
sudo pacman -S lm_sensors
sudo sensors-detect ( in uppercase option used by Default )
sensors
sudo pacman -S powertop
sudo powertop ( tab to navigate in each frame)
[deweshk@HomeDesktop:~]─[08:53:37 PM IST]
╰─>$ sudo sensors-detect
# sensors-detect version 3.6.0+git
# System: LENOVO Lenovo H320 10044 [Lenovo]
# Kernel: 5.18.13-arch1-1 x86_64
# Processor: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz (6/37/2)
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): YES
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD Family 10h thermal sensors... No
AMD Family 11h thermal sensors... No
AMD Family 12h and 14h thermal sensors... No
AMD Family 15h thermal sensors... No
AMD Family 16h thermal sensors... No
AMD Family 17h thermal sensors... No
AMD Family 15h power sensors... No
AMD Family 16h power sensors... No
Hygon Family 18h thermal sensors... No
AMD Family 19h thermal sensors... No
Intel digital thermal sensor... Success!
(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No
Intel 5500/5520/X58 thermal sensor... No
VIA C7 thermal sensor... No
VIA Nano thermal sensor... No
flag :
┬─[deweshk@HomeDesktop:~]─[08:56:24 PM IST]
╰─>$ sudo parted -l
[sudo] password for deweshk:
Model: ATA WDC WD5000AZRX-0 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 106MB 105GB 105GB primary ext4 boot
2 105GB 237GB 132GB primary ext4
3 237GB 500GB 263GB extended lba
5 237GB 368GB 132GB logical ext4
6 368GB 500GB 132GB logical ext4
Model: ATA OSC SSD 120GB (scsi)
Disk /dev/sdb: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 120GB 120GB primary ext4 boot
Model: Unknown (unknown)
Disk /dev/zram1: 285MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 285MB 285MB ext2
Model: Unknown (unknown)
Disk /dev/zram0: 950MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 950MB 950MB linux-swap(v1)