sudo update-grub
Generating grub configuration file ...
Found theme: /boot/grub/themes/EndeavourOS/theme.txt
Found linux image: /boot/vmlinuz-linux-clear-bin.cmdline
Found initrd image: /boot/amd-ucode.img
Found linux image: /boot/vmlinuz-linux-clear-bin
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-clear-bin.img
Found fallback initrd image(s) in /boot: initramfs-linux-clear-bin-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
EndeavourOS dos not have an update-grub
command?
its just a script for the default grub command thats all nothing else. wether or not i use the script or the default the outcome is the same. please donāt get hung up on it
Packages (2) mtools-4.0.26-1 os-prober-1.77-2
Total Installed Size: 0.43 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring [----------------------------------------------] 100%
(2/2) checking package integrity [----------------------------------------------] 100%
(2/2) loading package files [----------------------------------------------] 100%
(2/2) checking for file conflicts [----------------------------------------------] 100%
:: Processing package changes...
(1/2) reinstalling mtools [----------------------------------------------] 100%
(2/2) reinstalling os-prober [----------------------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Fix 'grub' and 'os-prober' after upgrading either of them.
===> INFO: grub-tools / grub-fix-initrd-generation:
===> INFO: /usr/lib/linux-boot-probes/mounted/40grub2 changed. See file /var/log/grub-fix-initrd-generation.log.
Generating grub configuration file ...
Found theme: /boot/grub/themes/EndeavourOS/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: initramfs-linux-zen-fallback.img
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot: initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux-lqx
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lqx.img
Found fallback initrd image(s) in /boot: initramfs-linux-lqx-fallback.img
Found linux image: /boot/vmlinuz-linux-clear-bin.cmdline
Found initrd image: /boot/amd-ucode.img
Found linux image: /boot/vmlinuz-linux-clear-bin
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-clear-bin.img
Found fallback initrd image(s) in /boot: initramfs-linux-clear-bin-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
done
(3/3) Updating the info directory file...
picky nonsense
sudo grub-mkconfig -o /boot/grub/grub.cfg
[sudo] password for lizzias:
Generating grub configuration file ...
Found theme: /boot/grub/themes/EndeavourOS/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: initramfs-linux-zen-fallback.img
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot: initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux-lqx
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lqx.img
Found fallback initrd image(s) in /boot: initramfs-linux-lqx-fallback.img
Found linux image: /boot/vmlinuz-linux-clear-bin.cmdline
Found initrd image: /boot/amd-ucode.img
Found linux image: /boot/vmlinuz-linux-clear-bin
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-clear-bin.img
Found fallback initrd image(s) in /boot: initramfs-linux-clear-bin-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy
done
Should the script be called with sudo
? Perhaps sudo
is already being, or should be, called from within the script?
@BONK Itās in the AUR:
aur/update-grub 0.0.1-7 (+81 1.45)
Simple wrapper around grub-mkconfig
Hmm. Maybe shutdown, boot into live, chroot
and fix?
Looks like something has that directory locked.
Do you have any terminals, file managers or editors looking there?
one terminal is open and one web browser to come here to get help. i have never seen this before
@dalto in 17 years of using linux i have NEVER seen this error
One question - were you browsing in a drive that ābelongsā to another system? If it was unexpectedly mounted at the timeā¦
Just wonderingā¦
sudo lslocks | grep -i var
Canāt test, but wonāt hurt.
no. i was only updating endeavour
sudo lslocks | grep -i var
[lizzias@endeavoured Desktop]$ sudo update-grub
Generating grub configuration file ā¦
Found theme: /boot/grub/themes/EndeavourOS/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: initramfs-linux-zen-fallback.img
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot: initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux-lqx
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lqx.img
Found fallback initrd image(s) in /boot: initramfs-linux-lqx-fallback.img
Found linux image: /boot/vmlinuz-linux-clear-bin.cmdline
Found initrd image: /boot/amd-ucode.img
Found linux image: /boot/vmlinuz-linux-clear-bin
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-clear-bin.img
Found fallback initrd image(s) in /boot: initramfs-linux-clear-bin-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
rmdir: failed to remove ā/var/lib/os-prober/mountā: Device or resource busy
rmdir: failed to remove ā/var/lib/os-prober/mountā: Device or resource busy
rmdir: failed to remove ā/var/lib/os-prober/mountā: Device or resource busy
rmdir: failed to remove ā/var/lib/os-prober/mountā: Device or resource busy
rmdir: failed to remove ā/var/lib/os-prober/mountā: Device or resource busy
rmdir: failed to remove ā/var/lib/os-prober/mountā: Device or resource busy
rmdir: failed to remove ā/var/lib/os-prober/mountā: Device or resource busy
rmdir: failed to remove ā/var/lib/os-prober/mountā: Device or resource busy
rmdir: failed to remove ā/var/lib/os-prober/mountā: Device or resource busy
rmdir: failed to remove ā/var/lib/os-prober/mountā: Device or resource busy
done
Donāt know what you have done there, but it should look like:`
smbd-notifyd 3962 POSIX 20B WRITE 0 0 0 /var/cache/samba/msg.lock/3962
cleanupd 3963 POSIX 20B WRITE 0 0 0 /var/cache/samba/msg.lock/3963
smbd 3923 POSIX 444K READ 0 4 4 /var/cache/samba/gencache.tdb
smbd 3923 POSIX 8.7K READ 0 4 4 /var/cache/samba/smbXsrv_open_global.tdb
lpqd 3969 POSIX 21B WRITE 0 0 0 /var/cache/samba/msg.lock/3969
smbd 3923 POSIX 12K READ 0 4 4 /var/cache/samba/names.tdb
smbd 3923 POSIX 8.7K READ 0 4 4 /var/cache/samba/smbprofile.tdb
smbd 3923 POSIX 21B WRITE 0 0 0 /var/cache/samba/msg.lock/3923
smbd 3923 POSIX 24K READ 0 4 4 /var/cache/samba/smbXsrv_version_global.tdb
smbd 3923 POSIX 8.7K READ 0 4 4 /var/cache/samba/smbXsrv_client_global.tdb
smbd 3923 POSIX 8.7K READ 0 4 4 /var/cache/samba/smbXsrv_session_global.tdb
smbd 3923 POSIX 8.7K READ 0 4 4 /var/cache/samba/smbXsrv_tcon_global.tdb
nmbd 3280 POSIX 12K READ 0 4 4 /var/cache/samba/names.tdb
nmbd 3280 POSIX 20B WRITE 0 0 0 /var/cache/samba/msg.lock/3280
smbd 3923 POSIX 20K READ 0 4 4 /var/cache/samba/printer_list.tdb
smbd 3923 POSIX 431.3K READ 0 4 4 /var/cache/samba/brlock.tdb
smbd 3923 POSIX 431.3K READ 0 4 4 /var/cache/samba/locking.tdb
smbd 3923 POSIX 8.7K READ 0 4 4 /var/cache/samba/leases.tdb
found it:
sudo umount /var/lib/os-prober/mount
[lizzias@endeavoured Desktop]$ sudo lslocks | grep -i var
[sudo] password for lizzias:
[lizzias@endeavoured Desktop]$
sudo update-grub
Generating grub configuration file ...
Found theme: /boot/grub/themes/EndeavourOS/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: initramfs-linux-zen-fallback.img
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot: initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux-lqx
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lqx.img
Found fallback initrd image(s) in /boot: initramfs-linux-lqx-fallback.img
Found linux image: /boot/vmlinuz-linux-clear-bin.cmdline
Found initrd image: /boot/amd-ucode.img
Found linux image: /boot/vmlinuz-linux-clear-bin
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-clear-bin.img
Found fallback initrd image(s) in /boot: initramfs-linux-clear-bin-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
now it just hangs there
ps aux | grep os-prober
Is it stuck in memory?
its finally moving⦠taking a loooog time but it started moving
ty all for your help!
[lizzias@endeavoured Desktop]$ sudo update-grub
Generating grub configuration file ā¦
Found theme: /boot/grub/themes/EndeavourOS/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: initramfs-linux-zen-fallback.img
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot: initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux-lqx
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lqx.img
Found fallback initrd image(s) in /boot: initramfs-linux-lqx-fallback.img
Found linux image: /boot/vmlinuz-linux-clear-bin.cmdline
Found initrd image: /boot/amd-ucode.img
Found linux image: /boot/vmlinuz-linux-clear-bin
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-clear-bin.img
Found fallback initrd image(s) in /boot: initramfs-linux-clear-bin-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
Found Obarun Linux on /dev/nvme0n1p11
Found Artix Linux (rolling) on /dev/nvme0n1p3
Found Arch Linux (rolling) on /dev/nvme0n1p6
Found Windows 10 on /dev/sdb1
done
I think the had his paw on the keyboard!
If I remember correctly / am not mistaken the āspeedā could have something to do with lsb-release
pkg. Check if you got it installed on your other Arch (-based) systems.
yah obarun didnt have it installed. does now!