Hello,
I’ve updated today my manjaro KDE install (btrfs) and os-prober took 3:20 minutes to complete. Before today it took only few seconds. I have 2 more disks in my PC, one with a second manjaro install and the other with Windows 10. Is that normal?
TIA
It can take time depending on how many disks, partitions or subvolumes you have. Note that the os-prober will mount every partition or subvolume and search for boot files.
I run this:
time sudo update-grub &>/dev/null
Result:
sudo update-grub &> /dev/null 2.20s user 1.26s system 39% cpu 8.718 total
So it took ~9sec.
9 sec is OK.
Here is the output of lsblk
:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 4K 1 loop /var/lib/snapd/snap/bare/5
loop1 7:1 0 72.8M 1 loop /var/lib/snapd/snap/core22/310
loop2 7:2 0 70.4M 1 loop /var/lib/snapd/snap/core22/275
loop3 7:3 0 164.8M 1 loop /var/lib/snapd/snap/gnome-3-28-1804/161
loop4 7:4 0 55.6M 1 loop /var/lib/snapd/snap/core18/2632
loop5 7:5 0 81.3M 1 loop /var/lib/snapd/snap/gtk-common-themes/1534
loop6 7:6 0 55.6M 1 loop /var/lib/snapd/snap/core18/2620
loop7 7:7 0 114.9M 1 loop /var/lib/snapd/snap/core/14056
loop8 7:8 0 116.7M 1 loop /var/lib/snapd/snap/core/14399
loop9 7:9 0 63.2M 1 loop /var/lib/snapd/snap/core20/1634
loop10 7:10 0 91.7M 1 loop /var/lib/snapd/snap/gtk-common-themes/1535
loop11 7:11 0 63.2M 1 loop /var/lib/snapd/snap/core20/1695
loop12 7:12 0 11.9M 1 loop /var/lib/snapd/snap/nmap/2721
loop13 7:13 0 11.9M 1 loop /var/lib/snapd/snap/nmap/2864
loop14 7:14 0 17.8M 1 loop /var/lib/snapd/snap/pdftk/9
loop15 7:15 0 49.6M 1 loop /var/lib/snapd/snap/snapd/17883
loop16 7:16 0 49.6M 1 loop /var/lib/snapd/snap/snapd/17576
sda 8:0 0 465.8G 0 disk
└─sda1 8:1 0 250G 0 part
sdb 8:16 0 465.8G 0 disk
├─sdb1 8:17 0 8M 0 part
├─sdb2 8:18 0 128G 0 part /var/log
│ /var/cache
│ /home
│ /
├─sdb3 8:19 0 24G 0 part [SWAP]
└─sdb4 8:20 0 80G 0 part
sr0 11:0 1 1024M 0 rom
nvme0n1 259:0 0 953.9G 0 disk
├─nvme0n1p1 259:1 0 8M 0 part
├─nvme0n1p2 259:2 0 64G 0 part
├─nvme0n1p3 259:3 0 64G 0 part
├─nvme0n1p4 259:4 0 84G 0 part /mnt/data
├─nvme0n1p5 259:5 0 64G 0 part
└─nvme0n1p6 259:6 0 24G 0 part
Does this justify 3+ minutes?
Also, just noticed that I have another install of arch.
TIA
No idea I just explained why it takes so long.
megavot is right. I have Manjaro, Garuda, Arch, and Xero installed and in each of them OS-Prober takes a while. I assumed it was cause it was because of everything it has to look at in each OS.