bb - ASRock BeeBox-S 7100U - Debian - 2020 archive
back to main Debian page for this machine.
2020 archive.
2020-11-04: sdb5 - connecting my USB Blaster (clone?) to my Debian machine:
tingo@kg-bsbox:~$ lsusb -d 09fb:6001 Bus 001 Device 083: ID 09fb:6001 Altera Blaster
create a udev rules file:
tingo@kg-bsbox:~$ cat /etc/udev/rules.d/97-usbblaster.rules # UsbBlaster - rules to let users in 'dialout' group access the device SUBSYSTEMS=="usb", ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6001", GROUP="dialout"
ok
2020-10-29: sdb5 - apt - install CudaText from a .deb package
tingo@kg-bsbox:~$ sudo apt install ~/dl/linux/debian/cudatext_1.116.0.0-1_gtk2_amd64.deb Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'cudatext' instead of '/home/tingo/dl/linux/debian/cudatext_1.116.0.0-1_gtk2_amd64.deb' The following NEW packages will be installed: cudatext 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/4,132 kB of archives. After this operation, 15.4 MB of additional disk space will be used. Get:1 /zs/tingo/dl/linux/debian/cudatext_1.116.0.0-1_gtk2_amd64.deb cudatext amd64 1.116.0.0-1 [4,132 kB] Selecting previously unselected package cudatext. (Reading database ... 211800 files and directories currently installed.) Preparing to unpack .../cudatext_1.116.0.0-1_gtk2_amd64.deb ... Unpacking cudatext (1.116.0.0-1) ... Setting up cudatext (1.116.0.0-1) ... Processing triggers for mime-support (3.62) ... Processing triggers for desktop-file-utils (0.23-4) ...
ok.
2020-10-23: sdb5 - apt - install autpoint (needed for build of urjtag)
tingo@kg-bsbox:~$ sudo apt install autopoint Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: autopoint 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 434 kB of archives. After this operation, 466 kB of additional disk space will be used. [..] Setting up autopoint (0.19.8.1-9) ... Processing triggers for man-db (2.8.5-2) ...
ok. and install libftdi1-dev
tingo@kg-bsbox:~$ sudo apt install libftdi1-dev Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libftdi1-2 libftdi1-doc The following NEW packages will be installed: libftdi1-2 libftdi1-dev libftdi1-doc 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 291 kB of archives. After this operation, 3,142 kB of additional disk space will be used. [..] Setting up libftdi1-dev (1.4-1+b2) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.28-10) ...
ok
2020-10-07: sdb5 - apt - install cc65
tingo@kg-bsbox:~$ sudo apt install cc65 Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: cc65-doc The following NEW packages will be installed: cc65 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 2,109 kB of archives. After this operation, 30.4 MB of additional disk space will be used. [..] Unpacking cc65 (2.17-1) ... Setting up cc65 (2.17-1) ...
ok
2020-10-06: sdb5 - reboot, Debian 10.6 is in.
tingo@kg-bsbox:~$ cat /etc/debian_version 10.6
kernel
tingo@kg-bsbox:~$ uname -a Linux kg-bsbox 4.19.0-11-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64 GNU/Linux
ok
2020-10-06: sdb5 - using gparted, I deleted sdb6, then expanded sdb5 to fill the space. Here is what parted thinks after
tingo@kg-bsbox:~$ sudo parted /dev/sdb print Model: ATA WDC WDS240G1G0B- (scsi) Disk /dev/sdb: 240GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 2 1049kB 211MB 210MB fat16 EFI System Partition boot, esp 3 211MB 1285MB 1074MB ext4 4 1285MB 53.7GB 52.4GB lvm 5 53.7GB 107GB 53.7GB ext4 7 107GB 108GB 210MB fat16 boot, esp 8 108GB 158GB 50.3GB freebsd-ufs 9 158GB 161GB 2684MB 1 161GB 194GB 33.6GB linux-swap(v1)
now I only need to resize the filesystem on sdb5
tingo@kg-bsbox:~$ df -h / Filesystem Size Used Avail Use% Mounted on /dev/sdb5 50G 16G 32G 34% /
or not.
tingo@kg-bsbox:~$ sudo e2fsck -n /dev/sdb5 e2fsck 1.44.5 (15-Dec-2018) Warning! /dev/sdb5 is mounted. Warning: skipping journal recovery because doing a read-only filesystem check. /dev/sdb5: clean, 295352/3264000 files, 4364765/13107200 blocks
fsck thinks it is ok.
2020-10-06: sdb5 - partitions
tingo@kg-bsbox:~$ sudo parted /dev/sdb print Model: ATA WDC WDS240G1G0B- (scsi) Disk /dev/sdb: 240GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 2 1049kB 211MB 210MB fat16 EFI System Partition boot, esp 3 211MB 1285MB 1074MB ext4 4 1285MB 53.7GB 52.4GB lvm 5 53.7GB 73.3GB 19.6GB ext4 6 73.3GB 107GB 34.0GB linux-swap(v1) 7 107GB 108GB 210MB fat16 boot, esp 8 108GB 158GB 50.3GB freebsd-ufs 9 158GB 161GB 2684MB 1 161GB 194GB 33.6GB linux-swap(v1)
test if changing swap from sdb6 to sdb1 works
tingo@kg-bsbox:~$ sudo swapoff /dev/sdb6 tingo@kg-bsbox:~$ sudo swapon /dev/sdb1 tingo@kg-bsbox:~$ /sbin/swapon --show NAME TYPE SIZE USED PRIO /dev/sdb1 partition 31.3G 0B -3 /dev/dm-0 partition 5G 0B -2
yes, it did. Fix in /etc/fstab. sdb1 is
tingo@kg-bsbox:~$ sudo blkid /dev/sdb1 /dev/sdb1: UUID="780fb2bd-d72f-4819-9cf9-5affa6f724da" TYPE="swap" PARTUUID="2484bc76-b8bc-4d2f-9ada-17471994ab50"
after fix, /etc/fstab looks like this
# / was on /dev/sdb5 during installation UUID=e1fcedd4-07d5-4eca-9e14-ca886f24de72 / ext4 errors=remount-ro 0 1 /dev/mapper/fedora_kg--bsbox-swap none swap sw 0 0 # /boot/efi UUID=BD17-5EA8 /boot/efi vfat umask=0077 0 1 # swap was on /dev/sdb6 during installation #UUID=6fc0b850-1ddb-40cb-b072-6a8af9d4c46f none swap sw 0 0 # swap on /dev/sdb1 UUID=780fb2bd-d72f-4819-9cf9-5affa6f724da none swap sw 0 0 # storage drive /dev/sda1 /zs ext2 rw 0 0
ok
2020-10-06: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following NEW packages will be installed: linux-image-4.19.0-11-amd64 The following packages will be upgraded: base-files firefox-esr kicad kicad-demos kicad-doc-en kicad-footprints kicad-libraries kicad-packages3d kicad-symbols kicad-templates libclang1-7 libcommons-compress-java libgssdp-1.0-3 libgupnp-1.0-4 libllvm7 libllvm7:i386 libpq5 libqt4-dbus libqt4-declarative libqt4-designer libqt4-dev libqt4-dev-bin libqt4-help libqt4-network libqt4-opengl libqt4-opengl-dev libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-mysql libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqt5concurrent5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5 libqt5opengl5-dev libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5widgets5 libqt5xml5 libqtcore4 libqtdbus4 libqtgui4 libx11-6 libx11-6:i386 libx11-data libx11-dev libx11-doc libx11-xcb-dev libx11-xcb1 libx11-xcb1:i386 libzmq5 linux-image-amd64 linux-libc-dev qdbus qt4-linguist-tools qt4-qmake qt5-default qt5-gtk-platformtheme qt5-qmake qt5-qmake-bin qtbase5-dev qtbase5-dev-tools qtcore4-l10n xserver-common xserver-xorg-core xserver-xorg-legacy 75 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 615 MB of archives. After this operation, 414 MB of additional disk space will be used. [..] Unpacking kicad-packages3d (5.1.7-1~bpo10+1) over (5.1.6-1~bpo10+1) ... dpkg: error processing archive /tmp/apt-dpkg-install-Lk1Bba/11-kicad-packages3d_5.1.7-1~bpo10+1_all.deb (--unpack): cannot copy extracted data for './usr/share/kicad/modules/packages3d/Connector_PinHeader_2.00mm.3dshapes/PinHeader_1x32_P2.00mm_Vertical_SMD_Pin1Left.step' to '/usr/share/kicad/modules/packages3d/Connector_PinHeader_2.00mm.3dshapes/PinHeader_1x32_P2.00mm_Vertical_SMD_Pin1Left.step.dpkg-new': failed to write (No space left on device) dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) [..] Errors were encountered while processing: /tmp/apt-dpkg-install-Lk1Bba/11-kicad-packages3d_5.1.7-1~bpo10+1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
ok, fix that
tingo@kg-bsbox:~$ sudo apt remove kicad-packages3d [..] Processing triggers for man-db (2.8.5-2) ...
install it again, but first, check space
tingo@kg-bsbox:~$ df -h / Filesystem Size Used Avail Use% Mounted on /dev/sdb5 18G 12G 5.5G 68% /
install
tingo@kg-bsbox:~$ sudo apt install -t buster-backports kicad-packages3d [..] Unpacking kicad-packages3d (5.1.7-1~bpo10+1) ... Setting up kicad-packages3d (5.1.7-1~bpo10+1) ...
and check space again
tingo@kg-bsbox:~$ df -h / Filesystem Size Used Avail Use% Mounted on /dev/sdb5 18G 17G 244M 99% /
hmm, do I need to expand filesystem?
apt - autoremove
tingo@kg-bsbox:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: linux-image-4.19.0-9-amd64 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 269 MB disk space will be freed. [..] Removing linux-image-4.19.0-9-amd64 (4.19.118-2+deb10u1) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-4.19.0-9-amd64 /etc/kernel/postrm.d/zz-update-grub: Generating grub configuration file ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-4.19.0-11-amd64 Found initrd image: /boot/initrd.img-4.19.0-11-amd64 Found linux image: /boot/vmlinuz-4.19.0-10-amd64 Found initrd image: /boot/initrd.img-4.19.0-10-amd64 /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found unknown Linux distribution on /dev/sdb8 /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found Fedora 29 (Twenty Nine) on /dev/mapper/fedora_kg--bsbox-root Adding boot menu entry for EFI firmware configuration done
space check
tingo@kg-bsbox:~$ df -h / Filesystem Size Used Avail Use% Mounted on /dev/sdb5 18G 16G 1.2G 94% /
yes, probably need to expand
2020-10-06: sdb5 - add ulx3s udev rules
tingo@kg-bsbox:~$ more /etc/udev/rules.d/80-fpga-ulx3s.rules # /etc/udev/rules.d/80-fpga-ulx3s.rules # this is for usb-serial tty device SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", MODE="664", GROUP="dialout" # this is for fujprog libusb access ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", GROUP="dialout", MODE="666" ok. 2020-10-06: sdb5 - try to fix $HOME/bin detection in $HOME/.profile. Before # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi after # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin/" ] ; then PATH="$HOME/bin:$PATH" fi
not sure it's gonna work since ~/bin is a symbolic link.
2020-09-09: sdb5 - apt - install fritzing
tingo@kg-bsbox:~$ sudo apt install fritzing Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: fritzing-data fritzing-parts libgit2-27 libhttp-parser2.8 libmbedcrypto3 libmbedtls12 libmbedx509-0 The following NEW packages will be installed: fritzing fritzing-data fritzing-parts libgit2-27 libhttp-parser2.8 libmbedcrypto3 libmbedtls12 libmbedx509-0 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need to get 17.4 MB of archives. After this operation, 160 MB of additional disk space will be used. [..] Processing triggers for desktop-file-utils (0.23-4) ...
ok
2020-09-01: sdb5 - grub was upadted, so check bootorder
tingo@kg-bsbox:~$ efibootmgr BootCurrent: 0002 Timeout: 1 seconds BootOrder: 0002,0000,0001,0003,0007,0005,0006 Boot0000* rEFInd Boot0001* Fedora Boot0002* debian Boot0003* UEFI OS Boot0005* Hard Drive Boot0006* USB Boot0007* debian
number 7 is new, check verbose
tingo@kg-bsbox:~$ efibootmgr -v BootCurrent: 0002 Timeout: 1 seconds BootOrder: 0002,0000,0001,0003,0007,0005,0006 Boot0000* rEFInd HD(2,GPT,f6e01cc7-8787-418c-a04c-1ad29d3a0389,0x800,0x64000)/File(\EFI\REFIND\REFIND_X64.EFI) Boot0001* Fedora HD(2,GPT,f6e01cc7-8787-418c-a04c-1ad29d3a0389,0x800,0x64000)/File(\EFI\FEDORA\SHIM.EFI)..BO Boot0002* debian HD(2,GPT,f6e01cc7-8787-418c-a04c-1ad29d3a0389,0x800,0x64000)/File(\EFI\DEBIAN\SHIMX64.EFI) Boot0003* UEFI OS HD(7,GPT,6c720b32-06ca-11e8-b138-dcfe07e175a1,0xc800000,0x64000)/File(\EFI\BOOT\BOOTX64.EFI)..BO Boot0005* Hard Drive BBS(HD,,0x0)..GO..NO........o.C.T.1.0.0.0.M.X.5.0.0.S.S.D.1....................A...........................>..Gd-.;.A..MQ..L.8.1.4.3.1.E.D.4.E.D.2.C. . . . . . . . ........BO..NO........o.W.D.C. .W.D.S.2.4.0.G.1.G.0.B.-.0.0.R.C.3.0....................A...........................>..Gd-.;.A..MQ..L.7.1.7.3.5.0.0.8.5.1.0.1. . . . . . . . ........BO Boot0006* USB BBS(USB,,0x0)..GO..NO........a.G.e.n.e.r.i.c.-.S.D./.M.M.C. .1...0.0....................A................................Gd-.;.A..MQ..L.0.5.8.F.6.3.6.4.6.4.7.6........BO..NO........f.G.e.n.e.r.i.c.-.C.o.m.p.a.c.t. .F.l.a.s.h. .1...0.1....................A.....................................Gd-.;.A..MQ..L.0.5.8.F.6.3.6.4.6.4.7.6........BO..NO........f.G.e.n.e.r.i.c.-.S.M./.x.D.-.P.i.c.t.u.r.e. .1...0.2....................A.....................................Gd-.;.A..MQ..L.0.5.8.F.6.3.6.4.6.4.7.6........BO..NO........f.G.e.n.e.r.i.c.-.M.S./.M.S.-.P.r.o. .1...0.3....................A.....................................Gd-.;.A..MQ..L.0.5.8.F.6.3.6.4.6.4.7.6........BO Boot0007* debian HD(2,GPT,f6e01cc7-8787-418c-a04c-1ad29d3a0389,0x800,0x64000)/File(\EFI\DEBIAN\GRUBX64.EFI)..BO
and fix the boot order
tingo@kg-bsbox:~$ sudo efibootmgr -o 0,2,1,3,5,6,7 BootCurrent: 0002 Timeout: 1 seconds BootOrder: 0000,0002,0001,0003,0005,0006,0007 Boot0000* rEFInd Boot0001* Fedora Boot0002* debian Boot0003* UEFI OS Boot0005* Hard Drive Boot0006* USB Boot0007* debian
check
tingo@kg-bsbox:~$ efibootmgr BootCurrent: 0002 Timeout: 1 seconds BootOrder: 0000,0002,0001,0003,0005,0006,0007 Boot0000* rEFInd Boot0001* Fedora Boot0002* debian Boot0003* UEFI OS Boot0005* Hard Drive Boot0006* USB Boot0007* debian
ok
2020-09-01: sdb5 - reboot, Debian 10.5 is in
tingo@kg-bsbox:~$ cat /etc/debian_version 10.5
kernel
tingo@kg-bsbox:~$ uname -a Linux kg-bsbox 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux
ok
2020-09-01: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following NEW packages will be installed: linux-image-4.19.0-10-amd64 The following packages will be upgraded: base-files bind9-host dbus dbus-user-session dbus-x11 dnsutils firefox-esr ghostscript gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 glib-networking glib-networking-common glib-networking-services grub-common grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common libbind9-161 libdbus-1-3 libdbus-1-3:i386 libdns-export1104 libdns1104 libexif12 libexif12:i386 libexiv2-14 libgnutls30 libgnutls30:i386 libgs9 libgs9-common libinput-bin libinput10 libirs161 libisc-export1100 libisc1100 libisccc161 libisccfg163 libjavascriptcoregtk-4.0-18 libjson-c3 liblirc-client0 liblwres161 libmariadb3 libopenexr23 libperl5.28 libpython3.7 libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib libsnmp-base libsnmp30 libunwind8 libwebkit2gtk-4.0-37 libzipios++0v5 lightning linux-image-amd64 linux-libc-dev mariadb-common openjdk-11-jre openjdk-11-jre-headless perl perl-base perl-modules-5.28 python-pil python3-pil python3.7 python3.7-dev python3.7-minimal shim-helpers-amd64-signed shim-unsigned thunderbird 71 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 287 MB of archives. After this operation, 270 MB of additional disk space will be used. [..] Setting up linux-image-4.19.0-10-amd64 (4.19.132-1) ... I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.19.0-9-amd64 I: /initrd.img.old is now a symlink to boot/initrd.img-4.19.0-9-amd64 I: /vmlinuz is now a symlink to boot/vmlinuz-4.19.0-10-amd64 I: /initrd.img is now a symlink to boot/initrd.img-4.19.0-10-amd64 /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-4.19.0-10-amd64 /etc/kernel/postinst.d/zz-update-grub: Generating grub configuration file ... [..] /usr/bin/mandb: can't write to /var/cache/man/15886: No space left on device /usr/bin/mandb: can't create index cache /var/cache/man/15886: No space left on device Processing triggers for shim-signed:amd64 (1.33+15+1533136590.3beb971-7) ...
and
tingo@kg-bsbox:~$ df -h / Filesystem Size Used Avail Use% Mounted on /dev/sdb5 18G 17G 151M 100% / tingo@kg-bsbox:~$ sudo apt clean tingo@kg-bsbox:~$ df -h / Filesystem Size Used Avail Use% Mounted on /dev/sdb5 18G 16G 1.4G 93% /
better. Check
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following package was automatically installed and is no longer required: linux-image-4.19.0-8-amd64 Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
autoremove
tingo@kg-bsbox:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: linux-image-4.19.0-8-amd64 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 269 MB disk space will be freed. [..] Removing linux-image-4.19.0-8-amd64 (4.19.98-1+deb10u1) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-4.19.0-8-amd64 /etc/kernel/postrm.d/zz-update-grub: Generating grub configuration file ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-4.19.0-10-amd64 Found initrd image: /boot/initrd.img-4.19.0-10-amd64 Found linux image: /boot/vmlinuz-4.19.0-9-amd64 Found initrd image: /boot/initrd.img-4.19.0-9-amd64 [..] Found unknown Linux distribution on /dev/sdb8 [..] Found Fedora 29 (Twenty Nine) on /dev/mapper/fedora_kg--bsbox-root Adding boot menu entry for EFI firmware configuration done
ok
2020-07-23: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: chromium chromium-common chromium-sandbox gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 libavcodec58 libavcodec58:i386 libavfilter7 libavformat58 libavresample4 libavresample4:i386 libavutil56 libavutil56:i386 libjavascriptcoregtk-4.0-18 libnss3 libopenmpt-modplug1 libopenmpt0 libpostproc55 libswresample3 libswresample3:i386 libswscale5 libwebkit2gtk-4.0-37 lightning thunderbird 24 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 127 MB of archives. After this operation, 88.9 MB disk space will be freed. [..] Processing triggers for desktop-file-utils (0.23-4) ...
ok.
2020-07-02: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: chromium chromium-common chromium-sandbox firefox-esr imagemagick imagemagick-6-common imagemagick-6.q16 libimage-magick-perl libimage-magick-q16-perl libmagick++-6.q16-8 libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 112 MB of archives. After this operation, 92.8 MB of additional disk space will be used. [..] Processing triggers for man-db (2.8.5-2) ... Processing triggers for desktop-file-utils (0.23-4) ...
ok
2020-06-30: sdb5 - the fix-right script is bound to Super + R in Settings, Keyboard, Application Shortcuts. the script
tingo@kg-bsbox:~$ cat ~/bin/fix-right.sh #/bin/sh # fix-right.sh -- simple script that changes rotation of right display # left display is HDMI-1 # right display is DP-1 # both (should) have rotation 'left' MONITOR="DP-1" DIRECTION="left" /usr/bin/xrandr --output ${MONITOR} --rotate ${DIRECTION}
that's all.
2020-06-22: sdb5 - apt - autoremove
tingo@kg-bsbox:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: grub-pc-bin 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 2,990 kB disk space will be freed. [..] Removing grub-pc-bin (2.02+dfsg1-20) ...
ok
2020-06-22: sdb5 - yes - with grub-efi installed, anmd correct bootorder, everything works. Nice!
2020-06-22: sdb5 - check bootorder
tingo@kg-bsbox:~$ efibootmgr BootCurrent: 0000 Timeout: 1 seconds BootOrder: 0002,0000,0001,0003,0005,0006 Boot0000* rEFInd Boot0001* Fedora Boot0002* debian Boot0003* UEFI OS Boot0005* Hard Drive Boot0006* USB
fix it
tingo@kg-bsbox:~$ sudo efibootmgr -o 0,2,1,3,5,6 BootCurrent: 0000 Timeout: 1 seconds BootOrder: 0000,0002,0001,0003,0005,0006 Boot0000* rEFInd Boot0001* Fedora Boot0002* debian Boot0003* UEFI OS Boot0005* Hard Drive Boot0006* USB
check
tingo@kg-bsbox:~$ efibootmgr BootCurrent: 0000 Timeout: 1 seconds BootOrder: 0000,0002,0001,0003,0005,0006 Boot0000* rEFInd Boot0001* Fedora Boot0002* debian Boot0003* UEFI OS Boot0005* Hard Drive Boot0006* USB
ok
2020-06-22: sdb5 - apt - install grub-efi
tingo@kg-bsbox:~$ sudo apt install grub-efi Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: grub-pc-bin Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed mokutil shim-helpers-amd64-signed shim-signed shim-signed-common shim-unsigned Recommended packages: secureboot-db The following packages will be REMOVED: grub-pc The following NEW packages will be installed: grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed mokutil shim-helpers-amd64-signed shim-signed shim-signed-common shim-unsigned 0 upgraded, 9 newly installed, 1 to remove and 0 not upgraded. Need to get 2,524 kB of archives. After this operation, 20.7 MB of additional disk space will be used. [..] Installing for x86_64-efi platform. Installation finished. No error reported. No DKMS packages installed: not changing Secure Boot validation state. Setting up grub-efi-amd64-bin (2.02+dfsg1-20) ... Setting up shim-unsigned (15+1533136590.3beb971-7) ... Setting up grub-efi-amd64 (2.02+dfsg1-20) ... Installing for x86_64-efi platform. Installation finished. No error reported. Generating grub configuration file ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-4.19.0-9-amd64 Found initrd image: /boot/initrd.img-4.19.0-9-amd64 Found linux image: /boot/vmlinuz-4.19.0-8-amd64 Found initrd image: /boot/initrd.img-4.19.0-8-amd64 /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found unknown Linux distribution on /dev/sdb8 /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found Fedora 29 (Twenty Nine) on /dev/mapper/fedora_kg--bsbox-root Adding boot menu entry for EFI firmware configuration done Setting up shim-helpers-amd64-signed (1+15+1533136590.3beb971+7) ... Setting up grub-efi (2.02+dfsg1-20) ... Setting up shim-signed:amd64 (1.33+15+1533136590.3beb971-7) ... Processing triggers for man-db (2.8.5-2) ...
ok
2020-06-22: sdb5 - found a suggested fix here. Try it.
2020-06-22: sdb5 - didn't help, I still have to boot from the Fedora grub menu. If I try to boot from the Debian icon in refind, I get an error message from grub - it can't find the file /boot/grub/x86_64-efi/normal.mod. I wonder why it is looking for that?
2020-06-22: sdb5 - update grub
tingo@kg-bsbox:~$ sudo update-grub Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.19.0-9-amd64 Found initrd image: /boot/initrd.img-4.19.0-9-amd64 Found linux image: /boot/vmlinuz-4.19.0-8-amd64 Found initrd image: /boot/initrd.img-4.19.0-8-amd64 /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found unknown Linux distribution on /dev/sdb8 /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found Fedora 29 (Twenty Nine) on /dev/mapper/fedora_kg--bsbox-root Adding boot menu entry for EFI firmware configuration done
hmm, did it work?
2020-06-22: grub was broken, so I had to boot into Fedora, update grub there via sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
, then boot into
Debian via the Fedora grub menu. Oh well.
2020-06-22: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: libvlc-bin libvlc5 libvlccore9 lightning linux-image-4.19.0-9-amd64 linux-libc-dev thunderbird vlc vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output vlc-plugin-video-splitter vlc-plugin-visualization 19 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 105 MB of archives. After this operation, 65.5 kB of additional disk space will be used. [..] /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-4.19.0-9-amd64 /etc/kernel/postinst.d/zz-update-grub: Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.19.0-9-amd64 Found initrd image: /boot/initrd.img-4.19.0-9-amd64 Found linux image: /boot/vmlinuz-4.19.0-8-amd64 Found initrd image: /boot/initrd.img-4.19.0-8-amd64 /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found unknown Linux distribution on /dev/sdb8 Found Raspbian GNU/Linux 10 (buster) on /dev/sdc2 /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found Fedora 29 (Twenty Nine) on /dev/mapper/fedora_kg--bsbox-root Adding boot menu entry for EFI firmware configuration done [..] Processing triggers for desktop-file-utils (0.23-4) ... Processing triggers for libvlc-bin:amd64 (3.0.11-0+deb10u1) ...
ok
2020-06-22: sdb5 - from another machine, change to non graphical target:
tingo@kg-bsbox:~$ sudo systemctl isolate multi-user.target
find all processes hogging /zs (/dev/sda1)
tingo@kg-bsbox:~$ lsof /zs COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME at-spi-bu 936 tingo DEL REG 8,1 47221058 /zs/tingo/.config_debian/dconf/user gvfsd-met 1076 tingo mem REG 8,1 32768 47221223 /zs/tingo/.local_debian/share/gvfs-metadata/uuid-0093f240-c250-429b-a821-ba68c8e20b1b-92bb6d3f.log gvfsd-met 1076 tingo mem REG 8,1 136476 47221215 /zs/tingo/.local_debian/share/gvfs-metadata/uuid-0093f240-c250-429b-a821-ba68c8e20b1b gvfsd-met 1076 tingo 8r REG 8,1 136476 47221215 /zs/tingo/.local_debian/share/gvfs-metadata/uuid-0093f240-c250-429b-a821-ba68c8e20b1b gvfsd-met 1076 tingo 9u REG 8,1 32768 47221223 /zs/tingo/.local_debian/share/gvfs-metadata/uuid-0093f240-c250-429b-a821-ba68c8e20b1b-92bb6d3f.log pulseaudi 14080 tingo mem REG 8,1 28672 47220877 /zs/tingo/.config_debian/pulse/74e835609e3f42e196ad7dc60acd1edc-card-database.tdb pulseaudi 14080 tingo mem REG 8,1 12288 47220876 /zs/tingo/.config_debian/pulse/74e835609e3f42e196ad7dc60acd1edc-stream-volumes.tdb pulseaudi 14080 tingo mem REG 8,1 12288 47220875 /zs/tingo/.config_debian/pulse/74e835609e3f42e196ad7dc60acd1edc-device-volumes.tdb pulseaudi 14080 tingo 10u REG 8,1 12288 47220875 /zs/tingo/.config_debian/pulse/74e835609e3f42e196ad7dc60acd1edc-device-volumes.tdb pulseaudi 14080 tingo 11u REG 8,1 12288 47220876 /zs/tingo/.config_debian/pulse/74e835609e3f42e196ad7dc60acd1edc-stream-volumes.tdb pulseaudi 14080 tingo 12u REG 8,1 28672 47220877 /zs/tingo/.config_debian/pulse/74e835609e3f42e196ad7dc60acd1edc-card-database.tdb
kill them
tingo@kg-bsbox:~$ pkill pulseaudio tingo@kg-bsbox:~$ pkill at-spi-bus-laun tingo@kg-bsbox:~$ pkill gvfsd-trash tingo@kg-bsbox:~$ pkill gvfsd-metadata
check again
tingo@kg-bsbox:~$ lsof /zs
run fsck
tingo@kg-bsbox:~$ sudo e2fsck -y /dev/sda1 e2fsck 1.44.5 (15-Dec-2018) /dev/sda1: clean, 1389633/61054976 files, 111763527/244190208 blocks tingo@kg-bsbox:~$ sudo e2fsck -f -y /dev/sda1 e2fsck 1.44.5 (15-Dec-2018) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/sda1: 1389633/61054976 files (9.1% non-contiguous), 111763527/244190208 blocks
reboot, then try again
tingo@kg-bsbox:~$ systemctl get-default graphical.target
fsck
tingo@kg-bsbox:~$ sudo e2fsck -n /dev/sda1 e2fsck 1.44.5 (15-Dec-2018) Warning! /dev/sda1 is mounted. /dev/sda1 was not cleanly unmounted, check forced. Pass 1: Checking inodes, blocks, and sizes Deleted inode 47221203 has zero dtime. Fix? no Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Block bitmap differences: -(190693195--190693196) Fix? no Free blocks count wrong (132426681, counted=132426679). Fix? no Inode bitmap differences: -47221203 Fix? no Free inodes count wrong (59665343, counted=59665342). Fix? no /dev/sda1: ********** WARNING: Filesystem still has errors ********** /dev/sda1: 1389633/61054976 files (9.1% non-contiguous), 111763527/244190208 blocks
isn't that odd?
2020-06-09: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: ca-certificates firefox-esr libgnutls30 libgnutls30:i386 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 50.4 MB of archives. After this operation, 41.0 kB of additional disk space will be used. [..] Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. done.
ok
2020-06-05: sdb5 - apt - install syslinux
tingo@kg-bsbox:~$ sudo apt install syslinux Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: syslinux-common The following NEW packages will be installed: syslinux syslinux-common 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 1,440 kB of archives. After this operation, 3,928 kB of additional disk space will be used. [..] Setting up syslinux (3:6.04~git20190206.bf6db5b4+dfsg1-1) ... Processing triggers for man-db (2.8.5-2) ...
files
tingo@kg-bsbox:~$ dpkg-query -L syslinux /. /usr /usr/bin /usr/bin/syslinux /usr/lib /usr/lib/SYSLINUX /usr/lib/SYSLINUX/altmbr.bin /usr/lib/SYSLINUX/gptmbr.bin /usr/lib/SYSLINUX/mbr.bin /usr/share /usr/share/doc /usr/share/doc/syslinux /usr/share/doc/syslinux/README.txt.gz /usr/share/doc/syslinux/changelog.Debian.gz /usr/share/doc/syslinux/changelog.gz /usr/share/doc/syslinux/copyright /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/syslinux /usr/share/man /usr/share/man/man1 /usr/share/man/man1/syslinux.1.gz
ok
2020-06-03: sdb5 - install python3-hpilo
tingo@kg-bsbox:~$ sudo apt install python3-hpilo Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: python-hpilo-doc The following NEW packages will be installed: python3-hpilo 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 29.0 kB of archives. After this operation, 123 kB of additional disk space will be used. [..] Setting up python3-hpilo (4.3-1) ...
files
tingo@kg-bsbox:~$ dpkg-query -L python3-hpilo /. /usr /usr/lib /usr/lib/python3 /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages/hpilo.py /usr/lib/python3/dist-packages/hpilo_fw.py /usr/lib/python3/dist-packages/python_hpilo-4.3.egg-info /usr/share /usr/share/doc /usr/share/doc/python3-hpilo /usr/share/doc/python3-hpilo/changelog.Debian.gz /usr/share/doc/python3-hpilo/changelog.gz /usr/share/doc/python3-hpilo/copyright
hmm, no cli utility
2020-06-02: sdb5 - I used gparted to delete sdb1 (74 GB), now the drive looks like
tingo@kg-bsbox:~$ sudo parted /dev/sdb print Model: ATA WDC WDS240G1G0B- (scsi) Disk /dev/sdb: 240GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 2 1049kB 211MB 210MB fat16 EFI System Partition boot, esp 3 211MB 1285MB 1074MB ext4 4 1285MB 53.7GB 52.4GB lvm 5 53.7GB 73.3GB 19.6GB ext4 6 73.3GB 107GB 34.0GB linux-swap(v1) 7 107GB 108GB 210MB fat16 boot, esp 8 108GB 158GB 50.3GB freebsd-ufs 9 158GB 161GB 2684MB
and I have 74 GB at end. I used gparted to create a new 32GB partition (became sdb1) of type linux-swap, new result is
tingo@kg-bsbox:~$ sudo parted /dev/sdb print Model: ATA WDC WDS240G1G0B- (scsi) Disk /dev/sdb: 240GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 2 1049kB 211MB 210MB fat16 EFI System Partition boot, esp 3 211MB 1285MB 1074MB ext4 4 1285MB 53.7GB 52.4GB lvm 5 53.7GB 73.3GB 19.6GB ext4 6 73.3GB 107GB 34.0GB linux-swap(v1) 7 107GB 108GB 210MB fat16 boot, esp 8 108GB 158GB 50.3GB freebsd-ufs 9 158GB 161GB 2684MB 1 161GB 194GB 33.6GB linux-swap(v1)
ok, now I can move to a different swap partition
2020-06-02: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: libmicrodns0 linux-image-4.19.0-6-amd64 Use 'sudo apt autoremove' to remove them. The following packages will be upgraded: bind9-host kicad kicad-demos kicad-doc-en kicad-footprints kicad-libraries kicad-packages3d kicad-symbols kicad-templates libbind9-161 libdns-export1104 libdns1104 libisc-export1100 libisc1100 libisccc161 libisccfg163 liblwres161 17 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 424 MB of archives. After this operation, 196 MB of additional disk space will be used. [..] Unpacking kicad-packages3d (5.1.6-1~bpo10+1) over (5.1.5-1~bpo10+1) ... dpkg: error processing archive /tmp/apt-dpkg-install-UFNBVY/09-kicad-packages3d_5.1.6-1~bpo10+1_all.deb (--unpack): cannot copy extracted data for './usr/share/kicad/modules/packages3d/Connector_PinHeader_2.00mm.3dshapes/PinHeader_1x40_P2.00mm_Vertical.step' to '/usr/share/kicad/modules/packages3d/Connector_PinHeader_2.00mm.3dshapes/PinHeader_1x40_P2.00mm_Vertical.step.dpkg-new': failed to write (No space left on device) dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Preparing to unpack .../10-kicad-footprints_5.1.6-1~bpo10+1_all.deb ... Unpacking kicad-footprints (5.1.6-1~bpo10+1) over (5.1.5-1~bpo10+1) ... Preparing to unpack .../11-kicad_5.1.6+dfsg1-1~bpo10+1_amd64.deb ... Unpacking kicad (5.1.6+dfsg1-1~bpo10+1) over (5.1.5+dfsg1-2~bpo10+1) ... Preparing to unpack .../12-kicad-demos_5.1.6+dfsg1-1~bpo10+1_all.deb ... Unpacking kicad-demos (5.1.6+dfsg1-1~bpo10+1) over (5.1.5+dfsg1-2~bpo10+1) ... Preparing to unpack .../13-kicad-libraries_5.1.6+dfsg1-1~bpo10+1_all.deb ... Unpacking kicad-libraries (5.1.6+dfsg1-1~bpo10+1) over (5.1.5+dfsg1-2~bpo10+1) ... Preparing to unpack .../14-kicad-doc-en_5.1.6+dfsg1-1~bpo10+1_all.deb ... Unpacking kicad-doc-en (5.1.6+dfsg1-1~bpo10+1) over (5.1.5+dfsg1-2~bpo10+1) ... Preparing to unpack .../15-libisc-export1100_1%3a9.11.5.P4+dfsg-5.1+deb10u1_amd64.deb ... Unpacking libisc-export1100:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u1) over (1:9.11.5.P4+dfsg-5.1) ... Preparing to unpack .../16-libdns-export1104_1%3a9.11.5.P4+dfsg-5.1+deb10u1_amd64.deb ... Unpacking libdns-export1104 (1:9.11.5.P4+dfsg-5.1+deb10u1) over (1:9.11.5.P4+dfsg-5.1) ... Errors were encountered while processing: /tmp/apt-dpkg-install-UFNBVY/09-kicad-packages3d_5.1.6-1~bpo10+1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
ok, fix that last package, remove
tingo@kg-bsbox:~$ sudo apt remove kicad-packages3d Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libmicrodns0 linux-image-4.19.0-6-amd64 Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: kicad-packages3d 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 16 not fully installed or removed. After this operation, 5,241 MB disk space will be freed. [..] Processing triggers for desktop-file-utils (0.23-4) ...
and (re)install it
tingo@kg-bsbox:~$ sudo apt install -t buster-backports kicad-packages3d Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libmicrodns0 linux-image-4.19.0-6-amd64 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: kicad-packages3d 0 upgraded, 1 newly installed, 0 to remove and 128 not upgraded. Need to get 0 B/364 MB of archives. After this operation, 5,430 MB of additional disk space will be used. [..] Unpacking kicad-packages3d (5.1.6-1~bpo10+1) ... Setting up kicad-packages3d (5.1.6-1~bpo10+1) ...
ok, then autoremove
tingo@kg-bsbox:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libmicrodns0 linux-image-4.19.0-6-amd64 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. After this operation, 269 MB disk space will be freed. [..] update-initramfs: Deleting /boot/initrd.img-4.19.0-6-amd64 /etc/kernel/postrm.d/zz-update-grub: Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.19.0-9-amd64 Found initrd image: /boot/initrd.img-4.19.0-9-amd64 Found linux image: /boot/vmlinuz-4.19.0-8-amd64 Found initrd image: /boot/initrd.img-4.19.0-8-amd64 /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found unknown Linux distribution on /dev/sdb8 /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found Fedora 29 (Twenty Nine) on /dev/mapper/fedora_kg--bsbox-root Adding boot menu entry for EFI firmware configuration done Processing triggers for libc-bin (2.28-10) ...
ok
2020-05-16: sdb5 - reboot - Debian 10.4 is in:
tingo@kg-bsbox:~$ cat /etc/debian_version 10.4 kernel
tingo@kg-bsbox:~$ uname -a Linux kg-bsbox 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29) x86_64 GNU/Linux
ok 2020-05-16: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libmicrodns0
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
linux-image-4.19.0-9-amd64
The following packages will be upgraded:
apt apt-utils base-files cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon cups-ipp-utils
cups-ppdc cups-server-common distro-info-data firefox-esr fonts-opensymbol fuse gir1.2-javascriptcoregtk-4.0
gir1.2-pango-1.0 gir1.2-webkit2-4.0 iputils-ping libapt-inst2.0 libapt-pkg5.0 libcups2 libcups2:i386
libcupsimage2 libel-api-java libfuse2 libgraphicsmagick++-q16-12 libgraphicsmagick-q16-3
libjavascriptcoregtk-4.0-18 libjsp-api-java libldap-2.4-2 libldap-2.4-2:i386 libldap-common liblog4j1.2-java
libnss-systemd libpam-systemd libpango-1.0-0 libpango-1.0-0:i386 libpangocairo-1.0-0 libpangocairo-1.0-0:i386
libpangoft2-1.0-0 libpangoft2-1.0-0:i386 libpangoxft-1.0-0 libreoffice libreoffice-avmedia-backend-gstreamer
libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common
libreoffice-core libreoffice-draw libreoffice-gtk2 libreoffice-help-common libreoffice-help-en-us
libreoffice-impress libreoffice-java-common libreoffice-librelogo libreoffice-math libreoffice-nlpsolver
libreoffice-report-builder libreoffice-report-builder-bin libreoffice-script-provider-bsh
libreoffice-script-provider-js libreoffice-script-provider-python libreoffice-sdbc-firebird
libreoffice-sdbc-hsqldb libreoffice-sdbc-postgresql libreoffice-style-colibre libreoffice-style-tango
libreoffice-wiki-publisher libreoffice-writer libssh-gcrypt-4 libsystemd0 libsystemd0:i386 libtag1v5
libtag1v5-vanilla libtagc0 libudev1 libudev1:i386 libvlc-bin libvlc5 libvlccore9 libwebkit2gtk-4.0-37
libwebsocket-api-java lightning linux-image-4.19.0-8-amd64 linux-image-amd64 linux-libc-dev python3-uno
systemd systemd-sysv thunderbird tzdata udev uno-libs3 ure vlc vlc-bin vlc-data vlc-l10n vlc-plugin-base
vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
vlc-plugin-video-splitter vlc-plugin-visualization wpasupplicant xdg-utils
112 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 346 MB of archives.
After this operation, 274 MB of additional disk space will be used.
[..]
update-initramfs: Generating /boot/initrd.img-4.19.0-9-amd64
Processing triggers for libvlc-bin:amd64 (3.0.10-0+deb10u1) ...
ok 2020-04-25: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
chromium chromium-common chromium-sandbox firefox-esr gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 git
git-man libbluetooth3 libgnutls30 libgnutls30:i386 libicu63 libicu63:i386 libjavascriptcoregtk-4.0-18
libssl1.1 libssl1.1:i386 libwebkit2gtk-4.0-37 lightning openjdk-11-jre openjdk-11-jre-headless openssl
python3-renderpm python3-reportlab python3-reportlab-accel thunderbird
25 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 225 MB of archives.
After this operation, 312 kB of additional disk space will be used.
[..]
Processing triggers for desktop-file-utils (0.23-4) ...
ok. 2020-03-25: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
linux-image-4.19.0-5-amd64
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
chromium chromium-common chromium-sandbox gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0
libgraphicsmagick++-q16-12 libgraphicsmagick-q16-3 libjavascriptcoregtk-4.0-18 libwebkit2gtk-4.0-37 lightning
thunderbird
11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 110 MB of archives.
After this operation, 63.5 kB of additional disk space will be used.
[..]
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for desktop-file-utils (0.23-4) ...
autoremove
tingo@kg-bsbox:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-4.19.0-5-amd64
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 267 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 203795 files and directories currently installed.)
Removing linux-image-4.19.0-5-amd64 (4.19.37-5+deb10u2) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.19.0-5-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.19.0-8-amd64
Found initrd image: /boot/initrd.img-4.19.0-8-amd64
Found linux image: /boot/vmlinuz-4.19.0-6-amd64
Found initrd image: /boot/initrd.img-4.19.0-6-amd64
/dev/sdc: open failed: No medium found
/dev/sdd: open failed: No medium found
/dev/sde: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdc: open failed: No medium found
/dev/sdd: open failed: No medium found
/dev/sde: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdc: open failed: No medium found
/dev/sdd: open failed: No medium found
/dev/sde: open failed: No medium found
/dev/sdf: open failed: No medium found
Found unknown Linux distribution on /dev/sdb8
/dev/sdc: open failed: No medium found
/dev/sdd: open failed: No medium found
/dev/sde: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdc: open failed: No medium found
/dev/sdd: open failed: No medium found
/dev/sde: open failed: No medium found
/dev/sdf: open failed: No medium found
Found Fedora 29 (Twenty Nine) on /dev/mapper/fedora_kg--bsbox-root
Adding boot menu entry for EFI firmware configuration
done
ok 2020-02-12: sdb5 - reboot, then **Debian 10.3** is in:
tingo@kg-bsbox:~$ cat /etc/debian_version 10.3
new kernel
tingo@kg-bsbox:~$ uname -a Linux kg-bsbox 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
ok 2020-03-12: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-image-4.19.0-8-amd64
The following packages will be upgraded:
atril atril-common base-files chromium chromium-common chromium-sandbox cups cups-bsd cups-client cups-common
cups-core-drivers cups-daemon cups-ipp-utils cups-ppdc cups-server-common curl e2fslibs e2fsprogs
e2fsprogs-l10n evince evince-common fig2dev firefox-esr gir1.2-evince-3.0 gir1.2-javascriptcoregtk-4.0
gir1.2-webkit2-4.0 libatrildocument3 libatrilview3 libboost-atomic1.67.0 libboost-chrono1.67.0
libboost-date-time1.67.0 libboost-filesystem1.67.0 libboost-iostreams1.67.0 libboost-locale1.67.0
libboost-program-options1.67.0 libboost-python1.67.0 libboost-regex1.67.0 libboost-system1.67.0
libboost-thread1.67.0 libburn4 libcom-err2 libcom-err2:i386 libcomerr2 libcups2 libcups2:i386 libcupsimage2
libcurl3-gnutls libcurl4 libegl-mesa0 libegl1-mesa libevdocument3-4 libevview3-3 libexif12 libexif12:i386
libext2fs2 libgbm1 libgl1-mesa-dev libgl1-mesa-dri libgl1-mesa-dri:i386 libgl1-mesa-glx libglapi-mesa
libglapi-mesa:i386 libglx-mesa0 libglx-mesa0:i386 libgnutls30 libgnutls30:i386 libidn2-0 libidn2-0:i386
libimobiledevice6 libjavascriptcoregtk-4.0-18 libmariadb3 libmatroska6v5 libmysofa0 libnss-systemd
libopenjp2-7 libopenjp2-7:i386 libosmesa6 libosmesa6:i386 libpam-systemd libpq5 libpython3.7 libpython3.7-dev
libpython3.7-minimal libpython3.7-stdlib libqt5concurrent5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5
libqt5opengl5 libqt5opengl5-dev libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5widgets5
libqt5xml5 libss2 libsystemd0 libsystemd0:i386 libtimedate-perl libudev1 libudev1:i386 libwebkit2gtk-4.0-37
libxatracker2 lightning linux-image-amd64 linux-libc-dev mariadb-common mesa-common-dev mesa-va-drivers
mesa-va-drivers:i386 mesa-vdpau-drivers mesa-vdpau-drivers:i386 openssh-client openssh-server
openssh-sftp-server ppp python-pil python3-pil python3.7 python3.7-dev python3.7-minimal qt5-default
qt5-gtk-platformtheme qt5-qmake qt5-qmake-bin qtbase5-dev qtbase5-dev-tools sudo systemd systemd-sysv
thunderbird udev xtightvncviewer
135 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 329 MB of archives.
After this operation, 245 MB of additional disk space will be used.
[..]
Processing triggers for initramfs-tools (0.133+deb10u1) ...
update-initramfs: Generating /boot/initrd.img-4.19.0-8-amd64
ok. 2020-01-27: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
chromium chromium-common chromium-sandbox libtiff-tools libtiff5 libtiff5:i386 lightning openjdk-11-jre
openjdk-11-jre-headless python-apt-common python3-apt thunderbird
12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 137 MB of archives.
After this operation, 1,760 kB of additional disk space will be used.
[..]
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for desktop-file-utils (0.23-4) ...
ok. 2020-01-10: sdb5 - apt - upgrade firefox
tingo@kg-bsbox:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
firefox-esr
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 47.8 MB of archives.
After this operation, 158 kB of additional disk space will be used.
[..]
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for desktop-file-utils (0.23-4) ...
ok 2020-01-08: sdb5 - apt - install subversion
tingo@kg-bsbox:~$ sudo apt install subversion
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libapr1 libaprutil1 libserf-1-1 libsvn1 libutf8proc2
Suggested packages:
db5.3-util libapache2-mod-svn subversion-tools
The following NEW packages will be installed:
libapr1 libaprutil1 libserf-1-1 libsvn1 libutf8proc2 subversion
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,710 kB of archives.
After this operation, 10.3 MB of additional disk space will be used.
[..]
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for man-db (2.8.5-2) ...
ok. 2020-01-07: sdb5 - (caused by unplanned power outage) - I booted into FreeBSD and fsck'ed my /zs mount from there. Current disk info and more:
tingo@kg-bsbox:~$ date;/sbin/swapon --show;df -h;uptime Tue 07 Jan 2020 01:30:59 PM CET NAME TYPE SIZE USED PRIO /dev/sdb6 partition 31.7G 0B -2 /dev/dm-0 partition 5G 0B -3 Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 9.4M 3.2G 1% /run /dev/sdb5 18G 16G 1.4G 92% / tmpfs 16G 727M 15G 5% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/sda1 917G 380G 492G 44% /zs /dev/sdb2 200M 20M 181M 10% /boot/efi tmpfs 3.2G 12K 3.2G 1% /run/user/1000 13:30:59 up 38 min, 1 user, load average: 1.88, 1.82, 1.49
(fun fact: in FreeBSD drive sda1 is named ada0) 2020-01-06: sdb5 - apt - upgrade
tingo@kg-bsbox:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
liboce-foundation11 liboce-modeling11 liboce-ocaf-lite11 liboce-ocaf11 liboce-visualization11
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
firefox-esr git git-man kicad kicad-demos kicad-doc-en kicad-libraries libfreeimage3 libnss3 libsasl2-2
libsasl2-2:i386 libsasl2-modules libsasl2-modules:i386 libsasl2-modules-db libsasl2-modules-db:i386 libvpx5
libvpx5:i386 lightning thunderbird
19 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 152 MB of archives.
After this operation, 12.8 MB of additional disk space will be used.
[..]
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for shared-mime-info (1.10-1) ...
ok. autoremove
tingo@kg-bsbox:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
liboce-foundation11 liboce-modeling11 liboce-ocaf-lite11 liboce-ocaf11 liboce-visualization11
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 63.9 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 199470 files and directories currently installed.)
Removing liboce-ocaf11:amd64 (0.18.2-3) ...
Removing liboce-visualization11:amd64 (0.18.2-3) ...
Removing liboce-ocaf-lite11:amd64 (0.18.2-3) ...
Removing liboce-modeling11:amd64 (0.18.2-3) ...
Removing liboce-foundation11:amd64 (0.18.2-3) ...
Processing triggers for libc-bin (2.28-10) ...
```
ok