Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Thread Retired] Look forward to Debian 12 "Bookworm"!

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Message
Author
pwzhangzz
Posts: 420
Joined: 2020-11-11 17:42
Has thanked: 9 times
Been thanked: 26 times

Re: Look forward to Debian 12 "Bookworm"!

#121 Post by pwzhangzz »

I have been running the persistent bookworm liveusb (the "Emerald-themed and liveusb-focused OS"? :D ) for about a week now. Very smooth.
Screenshot from 2023-04-19 08-52-11.png
(Note that I have mounted the /var/log, '$HOME/.config/google-chrome, and '$HOME/.cache/google-chrome to the ram. Although today's ssd usb has improved a lot, I still don't trust writing/erasing too many times to it. These folders/files are the biggest offenders.)

The live usb system can be upgraded just like any installed system, the only exception being the initrd.img file which must be upgraded manually. Don't know whether this is a feature or an oversight but either way, one extra step is (unnecessarily?) required?
export kernel_ver='6.1.0-8-amd64'
sudo mkinitramfs -v -o /boot/initrd.img-${kernel_ver} ${kernel_ver}
Last edited by pwzhangzz on 2023-09-29 09:28, edited 2 times in total.

pwzhangzz
Posts: 420
Joined: 2020-11-11 17:42
Has thanked: 9 times
Been thanked: 26 times

Re: Look forward to Debian 12 "Bookworm"!

#122 Post by pwzhangzz »

pwzhangzz wrote: 2023-04-11 07:25with Debian's unique "persistence" features. If necessary, we can merge (via overlay) the original squashfs with the accumulated changes (via persistence) to form a new filesystem.squashfs then burn the whole thing into a new iso. This process has the advantage in that it is 100% pure Debian. This is exciting! The age of Debian 12 has finally arrived.
I am using the following example code to illustrate this overlay-based remasterizing process which is actually pretty simple:
mkdir liveusb overlay

sudo mount -o loop,ro /media/ryzen/EFI/live/filesystem.squashfs liveusb

sudo mount -t overlay overlay -o lowerdir=liveusb,upperdir=/media/ryzen/persistence/rw,workdir=/media/ryzen/persistence/work overlay/

sudo mksquashfs overlay newfilesystem.squashfs -no-xattrs -comp xz
Then I can use isomaster to create a new hybrid iso (typically I won't). My gnome remix weighs in at 2.7GB, vs 3.7GB for the official one. This new iso of course can be made into a new persistent liveusb.

User avatar
donald
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 1041
Joined: 2021-03-30 20:08
Has thanked: 185 times
Been thanked: 240 times

Re: Look forward to Debian 12 "Bookworm"!

#123 Post by donald »

Typo perfectionish.


"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank

mazda1
Posts: 47
Joined: 2023-04-09 21:29
Has thanked: 5 times

Re: Look forward to Debian 12 "Bookworm"!

#124 Post by mazda1 »

pwzhangzz wrote: 2021-08-16 16:43 Does anyone know when the Debian Testing repos will be flooded with Bookworm packages? (just posting a comment not expecting any answer)

My most sincere thanks to the Debian developers for bestowing us with such a great distro in Bullseye and really Look Forward To dual-booting b/t Bullseye and Bookworm!
if you don't mind my asking : what is the point of dual-booting two Debian distributions ?

pwzhangzz
Posts: 420
Joined: 2020-11-11 17:42
Has thanked: 9 times
Been thanked: 26 times

Re: Look forward to Debian 12 "Bookworm"!

#125 Post by pwzhangzz »

mazda1 wrote: 2023-04-28 05:40if you don't mind me asking : what is the point of dual-booting two Debian distributions ?
It's difficult to try to reduce the entire thread into a few simple sentences. :D However, bookworm was considered "unstable" in the form of "sid" before the latter "forked" into "testing", which is now officially anointed as "bookworm". Confusing? Yes, but this is what made Debian stands head and shoulders above everyone else. As I mentioned repeatedly in this thread, we are using "bookworm" as our bread-making work OS, it is logical to implement a dual boot between the stable version of Debian and the "unstable" version. Actually, also as I reported in this thread, each of our machines has 5 bootable partitions: 2 for Debian 11 and 3 for Debian 12. Since all of them share the same data and appimages (via soft links established during boot), each partition requires no more than 15GB of space. However, because hard disk (SSD or NVMe) is now (less than) a dime a GB, we gave them 30GB each. Very generous.

Most Linux users have to wait until the official release comes out before they will even consider (playfully) trying it. This is a very bad habit and has been the main reason dragging Linux desktops from wide acceptance. :mrgreen: :mrgreen: :mrgreen:

User avatar
el_koraco
Posts: 242
Joined: 2011-10-20 11:49
Has thanked: 3 times
Been thanked: 8 times

Re: Look forward to Debian 12 "Bookworm"!

#126 Post by el_koraco »

Bookworm is ridiculously good. The Gnome desktop is as fast as XFCE is on other distros.

pwzhangzz
Posts: 420
Joined: 2020-11-11 17:42
Has thanked: 9 times
Been thanked: 26 times

Re: Look forward to Debian 12 "Bookworm"!

#127 Post by pwzhangzz »

I have not tried other Linux distros for a while, but on all my machines, desktops and laptops included, Bookworm (with extensions-augmented gnome) runs faster, snappier and more responsive than the "built-in" Win 11 that's for sure. I have been constantly suspending and waking up my machines. Super smooth. Funny, this has been my low-tech way of evaluating an operating system. Low tech, but super prescient. :D

Don't want to say too much to jinx it. But I love Bookworm. I love the Emerald theme. Thanks a whole lot!

pwzhangzz
Posts: 420
Joined: 2020-11-11 17:42
Has thanked: 9 times
Been thanked: 26 times

Re: Look forward to Debian 12 "Bookworm"!

#128 Post by pwzhangzz »

Since bkworm RC1 came out, I have been getting this nagging error message when doing an apt upgrade (I installed bkworm from liveUSB):
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return c
ode 1
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned
error exit status 1
Errors were encountered while processing:
linux-image-6.1.0-9-amd64
linux-image-amd64
linux-image-6.1.0-7-amd64
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Previously I have been using bkworm upgraded from bullseye (& still do in some partitions--without any problem). This problem was observed in both installed systems and in (persistent) liveUSBs. Upgrade the kernel did not solve this problem. Because this did not appear to affect my use of bkworm, I did not pay much attention. I am confident that Debian developers will timely solve it. The culprit seemed to be caused by the 6.1.0-7 kernel package, which, furhtermore, cannot be apt-removed even after an upgrade.

Beginning RC4, which moved to the 6.1.0-9 kernel in the iso, these error messages no longer appeared. Results from apt-upgrade are now clean as a whistle.

pizza-rat
Posts: 91
Joined: 2023-05-16 21:38
Has thanked: 39 times
Been thanked: 21 times

Re: Look forward to Debian 12 "Bookworm"!

#129 Post by pizza-rat »

Upgraded to Bookworm today, it feels solid. I got tripped up at first though because I didn't know I also needed to add "non-free-firmware" to my sources for the nvidia driver. Thought it was all in non-free still.

User avatar
kent_dorfman766
Posts: 529
Joined: 2022-12-16 06:34
Location: socialist states of america
Has thanked: 56 times
Been thanked: 69 times

Re: Look forward to Debian 12 "Bookworm"!

#130 Post by kent_dorfman766 »

installed bookworm on an SMP E5440 Xeon server I have last night.

First impressions:
- installation went OK, only installed lxqt desktop, but the desktop config service is going runaway on me an spawning children "frequently"
- noted that hddtemp package has been removed, but no notice was made in the release notes. pulling the drive temps from smartctl is "indirect"
- RC installation seems to have selected mainline bookworm repos by default. no need to remove "testing" in sources.list
- Primary reason for testing upgrade was to see if the newer mesa and amdgpu code yielded improvements while not cramming wayland down my throat. No joy. glmark2 value increases are negligible. still 1/3 performance of comparable nvidia card.

pwzhangzz
Posts: 420
Joined: 2020-11-11 17:42
Has thanked: 9 times
Been thanked: 26 times

Re: Look forward to Debian 12 "Bookworm"!

#131 Post by pwzhangzz »

The key reason we "had" to upgrade from Bullseye was that one of its key utility tools that we use everyday was unstable, rendering essentially the whole distro unusable (so much for the label "stable", but "stable" was exactly the reason Bullseye was unstable for us). Of course, we could compile from the source and I did that on my own machine. But for company-wide deployment, using self-compiled tools can cause a lot of headaches. Maybe easy for some smart sysadms, but not us. :(

Another reason we have been enjoying upgrading to sid/bkworm is gnome 4.x. This was a watershed moment. 4.x is not only better (much better than pre-4), but more importantly, gnome now has a clear direction. And many gnome extension developers are running their apps like a business. If you are not using gnome, or if you don't need to input Chinese characters, I guess there is no overwhelming incentive to upgrade from pre-bkworm, unless you are willing to contribute BACK to Debian development. To me, that's equally important.

User avatar
kent_dorfman766
Posts: 529
Joined: 2022-12-16 06:34
Location: socialist states of america
Has thanked: 56 times
Been thanked: 69 times

Re: Look forward to Debian 12 "Bookworm"!

#132 Post by kent_dorfman766 »

pwzhangzz wrote: 2023-06-01 16:18 The key reason we "had" to upgrade from Bullseye was that one of its key utility tools that we use everyday was unstable, rendering essentially the whole distro unusable (so much for the label "stable", but "stable" was exactly the reason Bullseye was unstable for us). Of course, we could compile from the source and I did that on my own machine. But for company-wide deployment, using self-compiled tools can cause a lot of headaches. Maybe easy for some smart sysadms, but not us. :(

Another reason we have been enjoying upgrading to sid/bkworm is gnome 4.x. This was a watershed moment. 4.x is not only better (much better than pre-4), but more importantly, gnome now has a clear direction. And many gnome extension developers are running their apps like a business. If you are not using gnome, or if you don't need to input Chinese characters, I guess there is no overwhelming incentive to upgrade from pre-bkworm, unless you are willing to contribute BACK to Debian development. To me, that's equally important.
But you don't mention which "key utility tool" was unstable. I'd expect that as long as debian has been around the "key utilities" should be pretty bombproof unless you are using them in weird unforeseen ways. Please do tell. :D

gnome4? no thanks...too much bad history with gnome and gtk. Their whole "dumb down the experience" direction and attempt to "window-ize" linux runs counter to my research interests. :(

pwzhangzz
Posts: 420
Joined: 2020-11-11 17:42
Has thanked: 9 times
Been thanked: 26 times

Re: Look forward to Debian 12 "Bookworm"!

#133 Post by pwzhangzz »

Just like we will never install Linux on any unbeknownst third party's PC, we would also never do a direct distro upgrade of a working Debian machine.

Instead, we would create a new partition (30GB) and copy the currently running (working) partition to this new partition with a simple rsync command such as follows:
sudo rsync -a --progress --exclude-from=/extra/rsync.create.txt / /media/rsync/Debian12
where /extra is our data partition and /media/rsync/Debian12 is the mount point of the new/target partition. An example of the exclude file (rsync.create.txt) is shown below:
/proc/*
/sys/*
/dev/*
/mnt/*/*
/media/*
/extra/*
/vbox/*
/tmp/*
/run/*
/lost+found/*
/home/*/.cache/google-chrome/*
/var/log/journal/*
After the copying is complete, we have to edit the /etc/fstab and the /boot/grub/grub.cfg files to reflect the new UUID, then chroot into the new partition and run update-grub there. Finally, exit chroot, unmount the new partition, and run update-grub again on the currently running machine.

After rebooting to the new partition, do the usual Bullseye-to-Bkworm upgrade there. Since disk space is cheap, I would keep Bullseye partition for at least a while (for us, almost forever even though we never use it now). Or you can continue to use Bullseye, but occasionally boot into bkworm and give yourself an opportunity to make some fuss about it. :mrgreen:

User avatar
donald
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 1041
Joined: 2021-03-30 20:08
Has thanked: 185 times
Been thanked: 240 times

Re: Look forward to Debian 12 "Bookworm"!

#134 Post by donald »

Typo perfectionish.


"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank

User avatar
donald
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 1041
Joined: 2021-03-30 20:08
Has thanked: 185 times
Been thanked: 240 times

Re: Look forward to Debian 12 "Bookworm"!

#135 Post by donald »

Typo perfectionish.


"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank

Post Reply