Crowd Supply - Novena Laptop - Debian
Hardware info on main page.
It runs Debian, currently 11.6 Bullseye was: 10.13 Buster (was: 8.11) (was:8.9) (was:8.7) Jessie.
screen: Ctrl-a k kill session,
sudo screen -ls
sudo screen -r
sudo screen -f /dev/ttymxc3 115200
Archives : 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022,
Links
github.com/novena-next/docs, upgrade instructions,
Work log and history
2023-09-23: sda3 - apt - upgrade
tingo@kg-novena:~$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: android-libbacktrace android-libf2fs-utils android-libutils bsdmainutils bubblewrap cpp-8 enchant geoip-database gnome-desktop3-data gtk2-engines-xfce hwdata imagemagick-6-common libapt-inst2.0 libapt-pkg5.0 libasan5 libbind9-161 libbison-dev libboost-iostreams1.67.0 libboost-system1.67.0 libcdio18 libcgi-fast-perl libcgi-pm-perl libclang-common-7-dev libclang1-7 libclass-accessor-perl libcodec2-0.8.1 libcroco3 libcupsfilters1 libcupsimage2 libcwidget3v5 libdc1394-22 libdns-export1104 libdns1104 libdns1110 libdouble-conversion1 libdrm-etnaviv1 libdvdread4 libegl1-mesa libenchant1c2a libept1.5.0 libevent-core-2.1-6 libevent-pthreads-2.1-6 libf2fs-format4 libf2fs5 libfcgi-bin libfcgi-perl libfcgi0ldbl libfluidsynth1 libgeoip1 libgnome-desktop-3-19 libgssdp-1.0-3 libgupnp-1.0-4 libharfbuzz-icu0 libheif1 libhogweed4 libicu63 libilmbase23 libindicator3-7 libio-string-perl libip4tc0 libip6tc0 libiptc0 libisc-export1100 libisc1100 libisc1105 libisccc161 libisccfg163 libisl19 libjavascriptcoregtk-4.0-18 libjim0.77 libjte1 libkyotocabinet16v5 liblinear3 libllvm7 liblqr-1-0 liblwres161 libmagickcore-6.q16-6 libmagickwand-6.q16-6 libmanette-0.2-0 libmpdec2 libmysofa0 libnettle6 libnftables0 libopenexr23 libpango-perl libparse-debianchangelog-perl libperl5.28 libpgm-5.2-0 libpipewire-0.3-0 libpipewire-0.3-modules libpoppler82 libprocps7 libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3.7 libpython3.7-minimal libpython3.7-stdlib libqt5opengl5 libsane libsnmp30 libspa-0.2-modules libunique-1.0-0 libusbmuxd4 libvpx5 libwebkit2gtk-4.0-37 libwebpdemux2 libwnck-common libwnck22 libwpe-1.0-1 libwpebackend-fdo-1.0-1 libx264-155 libx265-165 libxcb-util0 libxdot4 libxkbregistry0 llvm-7 llvm-7-dev llvm-7-runtime orage-data perl-modules-5.28 pipewire pipewire-bin python-pkg-resources python-six python2 python2-minimal python2.7 python2.7-minimal python3.7-minimal xdg-dbus-proxy xdg-desktop-portal xdg-desktop-portal-gtk xfce4-notes zenity zenity-common Use 'sudo apt autoremove' to remove them. The following packages have been kept back: guile-2.2-libs libobjc4 The following packages will be upgraded: at-spi2-core avahi-daemon avahi-dnsconfd base-files bind9-host bind9-libs curl debian-archive-keyring emacs emacs-bin-common emacs-common emacs-el emacs-gtk ffmpeg file firefox-esr ghostscript gir1.2-gtk-3.0 git git-email git-man gnutls-bin grep gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x gtk-update-icon-cache imagemagick-6-common isc-dhcp-client isc-dhcp-common libaom0 libapr1 libaprutil1 libatspi2.0-0 libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core7 libavahi-glib1 libavcodec58 libavdevice58 libavfilter7 libavformat58 libavresample4 libavutil56 libc-bin libc-dev-bin libc-devtools libc-l10n libc6 libc6-dbg libc6-dev libcupsfilters1 libcurl3-gnutls libcurl4 libde265-0 libflac8 libgnutls-dane0 libgnutls-openssl27 libgnutls30 libgs9 libgs9-common libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgtk-3-0 libgtk-3-bin libgtk-3-common libjavascriptcoregtk-4.0-18 libjson-c5 libmagic-mgc libmagic1 libmagickcore-6.q16-6 libmagickwand-6.q16-6 libmariadb3 libncurses-dev libncurses5 libncurses5-dev libncurses6 libncursesw5 libncursesw6 libnss-systemd libnss3 libpam-systemd libpostproc55 librsvg2-2 librsvg2-common libsox-fmt-alsa libsox-fmt-base libsox3 libssh-gcrypt-4 libssl1.1 libswresample3 libswscale5 libsystemd0 libtiff5 libtinfo-dev libtinfo5 libtinfo6 libudev1 libunbound8 libwebkit2gtk-4.0-37 libwebp6 libwebpdemux2 libwebpmux3 libx11-6 libx11-data libx11-xcb1 libxapian30 libxml2 libxpm4 linux-libc-dev locales mariadb-common ncurses-base ncurses-bin ncurses-term openssl sox sudo systemd systemd-sysv traceroute tzdata udev usb.ids xserver-common xserver-xorg-core xserver-xorg-legacy 132 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Need to get 215 MB of archives. After this operation, 7,220 kB of additional disk space will be used. [..] Processing triggers for libc-bin (2.31-13+deb11u6) ...
2023-02-12: sda3 - yes, that worked. Now it boots normally.
tingo@kg-novena:~$ cat /etc/debian_version 11.6 tingo@kg-novena:~$ uname -a Linux kg-novena.kg4.no 4.4.0-00156-gc9ba6e8 #12 SMP PREEMPT Fri Feb 19 14:32:59 SGT 2016 armv7l GNU/Linux
block info
tingo@kg-novena:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 232.9G 0 disk ├─sda1 8:1 0 32M 0 part ├─sda2 8:2 0 32M 0 part └─sda3 8:3 0 232.8G 0 part / mmcblk0 179:0 0 3.7G 0 disk ├─mmcblk0p1 179:1 0 32M 0 part /boot ├─mmcblk0p2 179:2 0 32M 0 part [SWAP] └─mmcblk0p3 179:3 0 3.6G 0 part
good.
2023-02-12: sda3 - my Novena doesn't boot fully anymore. I should check the microSD card and the SSD. OK, a recovery boot works. Recovery is everything from microSD card:
tingo@kg-novena:~$ cat /etc/debian_version jessie/sid tingo@kg-novena:~$ uname -a Linux kg-novena 3.17.0-rc5-00238-gfb115dd #350 SMP PREEMPT Fri Dec 12 18:08:43 SGT 2014 armv7l GNU/Linux
block info
tingo@kg-novena:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 232.9G 0 disk |-sda1 8:1 0 32M 0 part |-sda2 8:2 0 32M 0 part `-sda3 8:3 0 232.8G 0 part mmcblk0 179:0 0 3.7G 0 disk |-mmcblk0p1 179:1 0 32M 0 part /boot |-mmcblk0p2 179:2 0 32M 0 part [SWAP] `-mmcblk0p3 179:3 0 3.6G 0 part /
check out sda
tingo@kg-novena:~$ sudo parted /dev/sda print Model: ATA Samsung SSD 840 (scsi) Disk /dev/sda: 250GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 34.6MB 33.6MB primary fat16 2 34.6MB 68.2MB 33.6MB primary linux-swap(v1) 3 68.2MB 250GB 250GB primary ext4
check partitions - sda1
tingo@kg-novena:~$ sudo fsck.vfat -y /dev/sda1 fsck.fat 3.0.26 (2014-03-07) /dev/sda1: 6 files, 3725/16343 clusters
sda3
tingo@kg-novena:~$ sudo fsck.ext4 -y /dev/sda3 e2fsck 1.42.12 (29-Aug-2014) /dev/sda3: recovering journal Superblock last mount time (Sun Jun 3 18:34:13 1956, now = Sun Feb 12 20:31:09 2023) is in the future. Fix? yes 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/sda3: 138139/14963616 files (0.4% non-contiguous), 2601661/61033006 blocks
then reboot.
2023-01-14: sda3 - reboot, Debian 11.6 is in
tingo@kg-novena:~$ cat /etc/debian_version 11.6
kernel is still 4.4
tingo@kg-novena:~$ uname -a Linux kg-novena.kg4.no 4.4.0-00156-gc9ba6e8 #12 SMP PREEMPT Fri Feb 19 14:32:59 SGT 2016 armv7l GNU/Linux
2023-01-14: sda3 - upgrade to bullseye (Debian 11):
tingo@kg-novena:~/work/docs/upgrade_scripts$ sudo ./upgrade_4_bullseye.sh [..] Processing triggers for dbus (1.12.24-0+deb11u1) ... Processing triggers for initramfs-tools (0.140) ... Processing triggers for libgdk-pixbuf-2.0-0:armhf (2.42.2+dfsg-1+deb11u1) ...
2023-01-14: sda3 - reboot, Debian version and kernel are unchanged.
2023-01-14: sda3 - apt - upgrade
tingo@kg-novena:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: emacs emacs-bin-common emacs-common emacs-el emacs-gtk firefox-esr git git-email git-man iceweasel krb5-locales libde265-0 libgif7 libgssapi-krb5-2 libjavascriptcoregtk-4.0-18 libk5crypto3 libkrb5-3 libkrb5support0 libksba8 libopenexr23 libtasn1-6 libwebkit2gtk-4.0-37 linux-libc-dev xserver-common xserver-xorg-core xserver-xorg-legacy 26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 125 MB of archives. After this operation, 125 kB of additional disk space will be used. [..] Processing triggers for desktop-file-utils (0.23-4) ...