You are not logged in.
Hey, I've come to the Arch forums as my last resort, as I feel like I've checked everywhere else that I could think of. I'm having an issue where `os-prober` doesn't give any output when I run it, and I can't seem to figure out why. This particular Arch installation is brand new; just did it today. Here's some information:
inxi -Fxxxza --no-host
System:
Kernel: 5.15.12-arch1-1 x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-linux
root=UUID=75bd7860-47ec-410d-8c5d-ec431129b09b rw loglevel=3
Desktop: KDE Plasma 5.23.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Arch Linux
Machine:
Type: Laptop System: HP product: HP Pavilion Laptop 15-cs0xxx
v: Type1ProductConfigId serial: <superuser required> Chassis: type: 10
serial: <superuser required>
Mobo: HP model: 84BE v: 02.15 serial: <superuser required> UEFI: Insyde
v: F.23 date: 12/25/2020
Battery:
ID-1: BAT0 charge: 29.0 Wh (100.0%) condition: 29.0/29.0 Wh (100.0%)
volts: 12.9 min: 11.6 model: HP Primary type: Li-ion serial: N/A
status: Full
CPU:
Info: model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Coffee Lake
family: 6 model-id: 0x8E (142) stepping: 0xA (10) microcode: 0xE0
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 2575 high: 3926 min/max: 400/4000 scaling:
driver: intel_pstate governor: powersave cores: 1: 1745 2: 776 3: 801
4: 3774 5: 2977 6: 2935 7: 3667 8: 3926 bogomips: 32012
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Hewlett-Packard driver: i915
v: kernel bus-ID: 00:02.0 chip-ID: 8086:5917 class-ID: 0300
Device-2: Quanta HP Wide Vision HD Camera type: USB driver: uvcvideo
bus-ID: 1-3:2 chip-ID: 0408:5300 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org 1.21.1.3 compositor: kwin_x11 driver:
loaded: modesetting alternate: fbdev,intel,vesa display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142
size: 344x193mm (13.5x7.6") diag: 394mm (15.5")
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
chip-ID: 8086:9d71 class-ID: 0403
Sound Server-1: ALSA v: k5.15.12-arch1-1 running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.43 running: no
Network:
Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel bus-ID: 02:00.0
chip-ID: 8086:095a class-ID: 0280
IF: wlan0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus-ID: 03:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: down mac: <filter>
Bluetooth:
Device-1: N/A type: USB driver: btusb v: 0.8 bus-ID: 1-7:3
chip-ID: 8087:0a2a class-ID: e001
Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: disabled
rfk-block: hardware: no software: no address: see --recommends
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
v: 3.0 port: 4060 bus-ID: 00:17.0 chip-ID: 8086:282a rev: N/A
class-ID: 0104
Drives:
Local Storage: total: 931.51 GiB used: 10.6 GiB (1.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ04ABF100
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: 1C scheme: GPT
Partition:
ID-1: / raw-size: 51.48 GiB size: 50.37 GiB (97.85%) used: 10.6 GiB (21.1%)
fs: ext4 dev: /dev/sda6 maj-min: 8:6
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.45%)
used: 142 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 46.0 C pch: 38.5 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 201 Uptime: 16m wakeups: 4 Memory: 7.65 GiB
used: 1.77 GiB (23.2%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.1.0 Packages: pacman: 844 lib: 184 Shell: fish v: 3.3.1
default: Bash v: 5.1.12 running-in: yakuake inxi: 3.3.11
sudo parted -l
Model: ATA TOSHIBA MQ04ABF1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 274MB 273MB fat32 boot, hidden, legacy_boot, esp
2 274MB 214GB 214GB ext4 root
3 214GB 327GB 113GB ext4
5 327GB 394GB 67.3GB ext4
4 394GB 447GB 53.3GB ext4
6 447GB 503GB 55.3GB ext4
sudo fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA MQ04ABF1
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: 292A7C98-9DF5-4C73-BCDA-0F4F87A64955
Device Start End Sectors Size Type
/dev/sda1 2048 534527 532480 260M EFI System
/dev/sda2 534528 418160639 417626112 199.1G Linux filesystem
/dev/sda3 418162688 638150655 219987968 104.9G Linux filesystem
/dev/sda4 769689600 873867263 104177664 49.7G Linux filesystem
/dev/sda5 638152704 769689599 131536896 62.7G Linux filesystem
/dev/sda6 873867264 981833727 107966464 51.5G Linux filesystem
Partition table entries are not in disk order.
sudo efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,3000,2001,2002,2004
Boot0000* arch HD(1,GPT,d51f1dbf-0b72-7048-8820-b80d94626450,0x800,0x82000)/File(\EFI\arch\grubx64.efi)
Boot2001* EFI USB Device RC
Boot3000* Internal Hard Disk or Solid State Disk RC
Tell me if you need any more information, and thanks for any help.
Offline
Did you try to uncomment os-prober in grub, save and run it again?
Offline
Make sure the relevant partitions are mounted when os-prober is run so that it can find the kernel & initramfs images.
Probably off-topic but why do you have the legacy_boot "flag" applied to your ESP? Remove it with
# parted /dev/sda set 1 legacy_boot off
Offline
I tried removing the boot flag as you suggested, and that didn't fix the issue, even after rebooting. Not sure why that flag was enabled.
Mounting all of the relevant partitons and the running os-prober seem to have fixed the issue, but I've never had to do that before which is strange. Must've been somehow mounting stuff on its own. Thanks for your help.
Offline