Latest tinkering:
Here’s the full story on my graphics driver (though I don’t think this is relevant):
azed@linux-qnar:~> inxi -Gxx
Graphics: Device-1: Intel HD Graphics 530 driver: i915 v: kernel bus ID: 00:02.0
chip ID: 8086:1912
Display: x11 server: X.org 1.20.2 driver: intel unloaded: fbdev,modesetting,vesa
compositor: kwin_x11 resolution: <xdpyinfo missing>
OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2) v: 4.5 Mesa 18.1.7
compat-v: 3.0 direct render: Yes
azed@linux-qnar:~>
Yesterday:
Cold start → no probs
Re-booting with ext USB mounted → grunged desktop
The ext USB contains a 400GB NTFS partition (“Trucs”), some swap and and 65GB GB of ext4 given over to Ubuntu “Bionic” (25GB for /, and 40GB for /Home)
In the grunged desktop, I have terminal access. Tried this:
mount
.
.
.
sudo umount /run/media/azed/Bionic
sudo umount /run/media/azed/BionicHome
sudo umount /run/media/azed/Trucs
After last command, desktop snapped into place, albeit with some “wrong”/missing icons in the top panel, as previously
l**og out and in **-> things are back to normal
Tried updating grub:
azed@linux-qnar:~> sudo grub2-mkconfig -o /boot/grub2/grub.cfg
[sudo] password for root:
Generating grub configuration file ...
Found theme: /boot/grub2/themes/openSUSE/theme.txt
Found linux image: /boot/vmlinuz-4.18.15-1-default
Found initrd image: /boot/initrd-4.18.15-1-default
Found linux image: /boot/vmlinuz-4.18.13-1-default
Found initrd image: /boot/initrd-4.18.13-1-default
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
Found Ubuntu 18.04.1 LTS (18.04) on /dev/sda6
done
azed@linux-qnar:~>
Ah-ha!
azed@linux-qnar:~> ls -l /var/lib/os-prober
ls: cannot access '/var/lib/os-prober/mount': Permission denied
total 4
-rw-r--r-- 1 root root 9 Nov 1 09:38 labels
d????????? ? ? ? ? ? mount
azed@linux-qnar:~>
Wtf!
Re-booting without the WD500 attached:
System came back fine (as expected):
azed@linux-qnar:~> ls -l /var/lib/os-prober
total 4
-rw-r--r-- 1 root root 9 Nov 1 09:38 labels
drwxr-xr-x 1 root root 0 Nov 1 09:38 mount
That looks OK. Re-attached ext usb drive
azed@linux-qnar:~> sudo grub2-mkconfig -o /boot/grub2/grub.cfg
[sudo] password for root:
Generating grub configuration file ...
Found theme: /boot/grub2/themes/openSUSE/theme.txt
Found linux image: /boot/vmlinuz-4.18.15-1-default
Found initrd image: /boot/initrd-4.18.15-1-default
Found linux image: /boot/vmlinuz-4.18.13-1-default
Found initrd image: /boot/initrd-4.18.13-1-default
Found Ubuntu 16.04.5 LTS (16.04) on /dev/nvme0n1p4
Found Ubuntu 18.04.1 LTS (18.04) on /dev/sda6
done
azed@linux-qnar:~>
Everything appears hunky-dory
Rebooted
No 16.04 on OS boot menu!
Desktop again grunged
mount
.
.
.
sudo umount /run/media/azed/Trucs
ungrunges it (except for icons not loading in top-panel etc)
Detach drive, logout and in → everything ok
So the Trucs-volume seems to be inhibiting in some way the loading of the T’weed sys. Here’s the o/p of “mount” in the grunged-sys:
azed@linux-qnar:~> mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=4016396k,nr_inodes=1004099,mode=755)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
/dev/nvme0n1p7 on / type btrfs (rw,relatime,ssd,space_cache,subvolid=259,subvol=/@/.snapshots/1/snapshot)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15548)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
/dev/nvme0n1p7 on /.snapshots type btrfs (rw,relatime,ssd,space_cache,subvolid=258,subvol=/@/.snapshots)
/dev/nvme0n1p7 on /usr/local type btrfs (rw,relatime,ssd,space_cache,subvolid=265,subvol=/@/usr/local)
/dev/nvme0n1p7 on /var/cache type btrfs (rw,relatime,ssd,space_cache,subvolid=266,subvol=/@/var/cache)
/dev/nvme0n1p7 on /var/lib/named type btrfs (rw,relatime,ssd,space_cache,subvolid=273,subvol=/@/var/lib/named)
/dev/nvme0n1p7 on /boot/grub2/x86_64-efi type btrfs (rw,relatime,ssd,space_cache,subvolid=261,subvol=/@/boot/grub2/x86_64-efi)
/dev/nvme0n1p7 on /var/spool type btrfs (rw,relatime,ssd,space_cache,subvolid=277,subvol=/@/var/spool)
/dev/nvme0n1p7 on /var/lib/mysql type btrfs (rw,relatime,ssd,space_cache,subvolid=272,subvol=/@/var/lib/mysql)
/dev/nvme0n1p7 on /var/log type btrfs (rw,relatime,ssd,space_cache,subvolid=275,subvol=/@/var/log)
/dev/nvme0n1p7 on /var/lib/pgsql type btrfs (rw,relatime,ssd,space_cache,subvolid=274,subvol=/@/var/lib/pgsql)
/dev/nvme0n1p7 on /var/opt type btrfs (rw,relatime,ssd,space_cache,subvolid=276,subvol=/@/var/opt)
/dev/nvme0n1p7 on /opt type btrfs (rw,relatime,ssd,space_cache,subvolid=262,subvol=/@/opt)
/dev/nvme0n1p7 on /var/crash type btrfs (rw,relatime,ssd,space_cache,subvolid=267,subvol=/@/var/crash)
/dev/nvme0n1p7 on /var/lib/mariadb type btrfs (rw,relatime,ssd,space_cache,subvolid=271,subvol=/@/var/lib/mariadb)
/dev/nvme0n1p7 on /srv type btrfs (rw,relatime,ssd,space_cache,subvolid=263,subvol=/@/srv)
/dev/nvme0n1p7 on /var/lib/machines type btrfs (rw,relatime,ssd,space_cache,subvolid=269,subvol=/@/var/lib/machines)
/dev/nvme0n1p7 on /tmp type btrfs (rw,relatime,ssd,space_cache,subvolid=264,subvol=/@/tmp)
/dev/nvme0n1p7 on /boot/grub2/i386-pc type btrfs (rw,relatime,ssd,space_cache,subvolid=260,subvol=/@/boot/grub2/i386-pc)
/dev/nvme0n1p7 on /var/lib/mailman type btrfs (rw,relatime,ssd,space_cache,subvolid=270,subvol=/@/var/lib/mailman)
/dev/nvme0n1p7 on /var/lib/libvirt/images type btrfs (rw,relatime,ssd,space_cache,subvolid=268,subvol=/@/var/lib/libvirt/images)
/dev/nvme0n1p7 on /var/tmp type btrfs (rw,relatime,ssd,space_cache,subvolid=278,subvol=/@/var/tmp)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/nvme0n1p2 on /mnt/WinC type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,x-gvfs-show)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) <---
/dev/nvme0n1p8 on /home type xfs (rw,relatime,attr2,inode64,noquota)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=805052k,mode=700,uid=1000,gid=100)
/dev/sda7 on /run/media/azed/BionicHome type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2)
/dev/sda6 on /run/media/azed/Bionic type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2)
/dev/sda1 on /run/media/azed/Trucs type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2) <------------------
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
/dev/fuse on /run/user/1000/doc type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
grub2-mount on /var/lib/os-prober/mount type fuse.grub2-mount (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
azed@linux-qnar:~>
“<----” = my addition
A Question to close:
Where does Tumbleweed keep its log of what happened at boot / its general log of system behaviour?