Re: Immutable Bookworm
Posted: 2024-07-22 10:16
Why is the root mounted on an overlay file system?
The Debian Project User and Community Forums
https://plethora.debian.net/
Code: Select all
user@debian:~$ ls /run/live/overlay/
rw work
To create an immutable Sid, you must first create a Testing (now corresponding to Trixie) Live USB with persistence, upgrading it to Sid (plus other customizations to suit individual needs), then merging the persistence with the existing filesystem.squashfs file to create a new filesystem.squashfs file. This becomes a new immutable Sid.pwzhangzz wrote: 2024-08-10 10:33There is a way to create an immutable Sid that can be conveniently upgraded without resorting to a persistence partition.
Code: Select all
sudo rsync -av --ignore-errors --delete /run/live/overlay/rw/ /extra0/rw
Code: Select all
sudo rsync -av /extra0/rw/ /
In practice, we often exclude google chrome cache and config files from persistence:pwzhangzz wrote: 2024-08-21 15:45Code: Select all
sudo rsync -av --ignore-errors --delete /run/live/overlay/rw/ /extra0/rw
Code: Select all
sudo rsync -av /extra0/rw/ /
Code: Select all
sudo rsync -av --exclude=google-chrome/ --ignore-errors --delete /run/live/overlay/rw/ /extra0/rw
As I mentioned in this thread, we have a pro bono project to help retired professionals to more productively use their computers. Unlike Your Honorable ( ), our students are only interested in using their computers as an appliance and have zero appetite in doing--or allowing us to do--anything below the surface. Immutability is probably the only reason they are still willing to stick with Linux (Debian). Of course, the unfortunate fact that our live usb is nowhere near good (usable) enough bears the entire blame*. Debian is a great system.distro-nix wrote: 2024-09-16 00:32 After running Silverblue as a retiree in a home environment for the past 6 months
Code: Select all
source /boot/grub/config.cfg
timeout=10
# Live boot
menuentry "Debian Sid" {
linux /live/vmlinuz-6.10.11-amd64 boot=live components quiet splash noresume noeject
initrd /live/initrd.img-6.10.11-amd64
}
menuentry "Debian Sid from ISO" {
set iso_path="/debian-live-sid-2-amd64-gnome.iso"
search --no-floppy --label --set=iso_partition iso_usb
rmmod tpm
loopback loop ($iso_partition)$iso_path
linux (loop)/live/vmlinuz-6.10.11-amd64 boot=live components noresume noeject quiet splash findiso=$iso_path
initrd (loop)/live/initrd.img-6.10.11-amd64
}
menuentry "Debian Sid with Persistence" {
linux /live/vmlinuz-6.10.11-amd64 boot=live persistence persistence-label=persistence_13 components quiet splash noresume noeject
initrd /live/initrd.img-6.10.11-amd64
}
menuentry "Debian Sid from ISO with persistence" {
set iso_path="/debian-live-sid-2-amd64-gnome.iso"
search --no-floppy --label --set=iso_partition iso_usb
rmmod tpm
loopback loop ($iso_partition)$iso_path
linux (loop)/live/vmlinuz-6.10.11-amd64 boot=live persistence persistence-label=persistence_13b components noresume noeject quiet splash findiso=$iso_path
initrd (loop)/live/initrd.img-6.10.11-amd64
}
Code: Select all
user@debian:/media/user/iso$ ls --size *iso
3396532 debian-live-sid-2-amd64-gnome.iso
3499332 debian-live-testing-amd64-gnome.iso
Code: Select all
OS — Windows 11 Home in S Mode
DISPLAY — 15.6” FHD (1920 x 1080) 16:9 60Hz Nano Edge display, 45% NTSC color gamut and 250-nit standard brightness
PROCESSOR — Intel® Core™ i3-N305 Processor 1.8 GHz (6MB Cache, up to 3.8 GHz, 8 cores, 8 Threads)
GRAPHICS — Intel® UHD Graphics
MEMORY — 8GB DDR4 on board
STORAGE — 256GB UFS
WI-FI AND BLUETOOTH — Wi-Fi 5(802.11ac) (Dual band) 1*1 + Bluetooth 5.1 Wireless Card
AUDIO — Built-in speakers and array microphone
BATTERY — 42Wh battery
ADDITIONAL FEATURES — Ergo Sense chiclet keyboard with precision touchpad, 180° hinge, 720p HD camera with shutter
PORTS — 1x USB 3.2 Gen 1 Type C, 1x USB 3.2 Gen 1 Type A, 1x USB 2.0 Type A, 1x HDMI 1.4, 1x 3.5mm combo audio jack, 1x DC In
DIMENSIONS — 14.19" x 9.15" x 0.70" and 3.59 lbs
WHAT’S INCLUDED — 45W AC adapter, warranty, and manual
Inkscape v 1.4 was released today with appimage being the "preferred" format for Linux users:pwzhangzz wrote: 2024-10-05 16:33 I hired a couple of high school kids to try our immutable Sid (at that time corresponding to the future Bullseye), and they actually liked Debian better than Chromebooks.
nowadays, no kids will allow you to install Linux in their PC. No one is interested. The only way to get them to pay some attention is through a bootable usb that is fully self-explanatory and which can be put into productive use immediately (like 5 minutes). The live usb must also include a handful of exciting apps.pwzhangzz wrote: 2024-10-14 18:51As I mentioned previously, our immutable usb extensively uses appimages for major apps. Appimages such as those for LibreOffice, GIMP, Google Chrome, Krita, Inkscape, VLC, and various other video/audio editing apps are stored in an external partition which is mounted to the live iso during boot. This keeps the live iso small. but more importantly, they can be easily added and upgraded without going through the remasterization steps. Inkscape 1.4 is no exception:
#screenshot showing Inkscape-1.4#
Thanks for the plug. Will be great if you can teach us some of the tricks? How about (the great) Blender?
https://dokuwiki.librecad.org/doku.php/usage:manuals There is libreacad forum, where I grabbed that link. I can recmommend Johny Heikell's LibreCAD for Real Dummies.pwzhangzz wrote: 2024-12-09 16:44Thanks for the plug. Will be great if you can teach us some of the tricks? How about (the great) Blender?
Also, there was a thread about backing up cell phone data to Debian (can't find it). Anyone kind enough to share their experience about using GSConnect? Ditto scrcpy?
Twenty-some years ago, one of our interns started a Linux club in his school. The school administrators at that time were progressive enough to allow them to establish a Linux-based server for the school. His work was so impressive that he got a full scholarship from one of the elite east-coast universities. Many of us on this forum probably also started our Linux path when we were students. However, things have mutated. An immutable Debian as I described in this thread can be delivered as an "app" (by conventional definition an "app" should be portable and manageable in size). This is probably the only way to get (average) students willing to try Debian.pwzhangzz wrote: 2024-12-09 01:13most school kids nowadays are savvy enough not to install any unknown program into their computer. Anything goes wrong, even though totally unrelated, YOU will be held responsible!
@Cwf I understand your point of contention with my opinion and readily acknowledge that I'm way out of my league to have even opened up my big dumb mouth.CwF wrote: 2024-06-26 04:30No, we don't, not reallyfriendlysalmon88 wrote: 2024-06-26 02:52 we need to embrace solutions like Silver Blue and its competitors.