Bookworm Build script

a very small Live CD shaped to look and act like Puppy Linux.

Moderator: fredx181

sin4ez
Posts: 1
Joined: Wed Jan 10, 2024 3:02 pm

Re: Bookworm Build script

Post by sin4ez »

20240111_113932.jpg
20240111_113932.jpg (128.49 KiB) Viewed 758 times

Unfortunately, file manager doesn't work properly.
It can't mount a ventoy partition from that subj was runned.

It's not mounted!

User avatar
fredx181
Posts: 2561
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 274 times
Been thanked: 993 times
Contact:

Re: Bookworm Build script

Post by fredx181 »

Problem installing wine32:i386 on Bullseye was reported by @Luluc here: viewtopic.php?t=10789
Same problem was on Bookworm too, but should be fixed (just now added i386 libelogind0 and libelogind-compat packages to custom repo)
To install wine32 on Bookworm amd64:

Code: Select all

dpkg --add-architecture i386
apt update
apt install wine wine32
dancytron
Posts: 653
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 422 times
Been thanked: 190 times

Re: Bookworm Build script

Post by dancytron »

I was able to build scrcpy (application for using computer as a thin client for your android device) using the same instructions as puppy, except I edited out the "sudo" in the script before I tried it.

Seems to work fine.

viewtopic.php?p=113651#p113651

https://github.com/Genymobile/scrcpy

2024-03-16-125406_800x_scrot.png
2024-03-16-125406_800x_scrot.png (408.96 KiB) Viewed 441 times
Null_ID
Posts: 27
Joined: Wed Dec 02, 2020 12:41 am
Has thanked: 9 times
Been thanked: 9 times

Re: Bookworm Build script

Post by Null_ID »

Which package has wi-fi firmware (the more the merrier)? I attempted to run this build script on a Thinkpad T420 running MX Linux 21.3, and the build process itself went smoothly. It came out with a functional enough system that booted to desktop. But there was no wi-fi firmware for these:

Code: Select all

[   10.204186] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[   10.235917] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-6000g2a-6.ucode (-2)
[   10.235953] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-6000g2a-6.ucode (-2)
[   10.235956] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000g2a-6.ucode failed with error -2
[   10.235984] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-6000g2a-5.ucode (-2)
[   10.236005] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-6000g2a-5.ucode (-2)
[   10.236007] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000g2a-5.ucode failed with error -2
[   10.236010] iwlwifi 0000:03:00.0: minimum version required: iwlwifi-6000g2a-5
[   10.236013] iwlwifi 0000:03:00.0: maximum version supported: iwlwifi-6000g2a-6

and I'm not sure what to pass to the script to get them installed. (If it's important, I did a pretty minimal build to begin with, the 1st option that I was offered when asked about the desktop environment.)

Another question, if you don't mind me asking, does the kernel offered with the builds this script puts out support the ExFat file system, and are the Samsung ExFat-utils available in the repo?

dcung
Posts: 363
Joined: Fri Sep 25, 2020 4:31 am
Has thanked: 38 times
Been thanked: 51 times

Re: Bookworm Build script

Post by dcung »

Null_ID wrote: Tue Apr 23, 2024 2:42 am

... Thinkpad T420 running MX Linux 21.3, ... But there was no wi-fi firmware for these:

Check out if your MX Linux 21.3 have those files in /lib/firmware, if so, you maybe able to copy and use those.

Null_ID wrote: Tue Apr 23, 2024 2:42 am

.. does the kernel offered with the builds this script puts out support the ExFat file system, and are the Samsung ExFat-utils available in the repo?

I bought Samsung SSD that came ExFat pre-formatted. I had to install ExFat support after the build to access it. Unless Fred has changed/added since, ExFat support need to be added after your build. It's available from Debian repo.
Not sure about Samsung ExFat-utils, I didn't use it.

Edit - Update/Correction @Null_ID :
Having read @fredx181 reply below, i.e. new kernel support ExFat OOTB now.
viewtopic.php?p=117826#p117826

I tested with my fresh DOGS build (made on 24/4/2024).
I didn't have to do anything now. My ExFat SSD was accessible OOTB.
I checked, turned out I bought the SSD in May 2022 - I was using build made before that time.

Last edited by dcung on Wed Apr 24, 2024 11:01 pm, edited 2 times in total.
User avatar
fredx181
Posts: 2561
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 274 times
Been thanked: 993 times
Contact:

Re: Bookworm Build script

Post by fredx181 »

Null_ID wrote:

But there was no wi-fi firmware for these

The package you'd probably need is "firmware-iwlwifi"
When making a build with mklive, add it to the packages list to be installed.
Or, what I often do is to download the .deb from another OS first (that has network connection) , save it somewhere and then (without having network connection if I'm depending on wifi only) I'm able to install that firmware deb package on the build that is missing it.
Download bookworm "firmware-iwlwifi" deb package here: https://packages.debian.org/bookworm/al ... i/download

Null_ID
Posts: 27
Joined: Wed Dec 02, 2020 12:41 am
Has thanked: 9 times
Been thanked: 9 times

Re: Bookworm Build script

Post by Null_ID »

fredx181 wrote: Tue Apr 23, 2024 6:00 pm

Or, what I often do is to download the .deb from another OS first (that has network connection) , save it somewhere and then (without having network connection if I'm depending on wifi only) I'm able to install that firmware deb package on the build that is missing it.
Download bookworm "firmware-iwlwifi" deb package here: https://packages.debian.org/bookworm/al ... i/download

Thanks, that .DEB-package you suggested did the trick, and I have Wi-fi now.

I rolled up a new build to add a few things that I missed the last time, and it's a very smooth system now. Thanks again for your efforts. This was my first time doing this via a build script system like this, but it's pretty intuitive once you get the hang of it. I love how much this allows me to customize.

dcung wrote: Tue Apr 23, 2024 4:57 pm

I bought Samsung SSD that came ExFat pre-formatted. I had to install ExFat support after the build to access it. Unless Fred has changed/added since, ExFat support need to be added after your build. It's available from Debian repo.
Not sure about Samsung ExFat-utils, I didn't use it.

All right, thanks for sharing.

Clarity
Posts: 3273
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1349 times
Been thanked: 438 times

Re: Bookworm Build script

Post by Clarity »

I have a new SSD on order arriving by the weekend.

ALL of my recent USBs and my 2 SSDs came preformatted for exFAT. Now appears to be an manufacturer's industry standard.

Since I am planning an upcoming BKWDog64, is there something at build time needed so that it is incorporated in the completion of the distro where I can reduce/manipulate partition size of exFAT without destroying the partition? Formats, as well.

Curious

User avatar
fredx181
Posts: 2561
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 274 times
Been thanked: 993 times
Contact:

Re: Bookworm Build script

Post by fredx181 »

Clarity wrote: Wed Apr 24, 2024 5:21 pm

I have a new SSD on order arriving by the weekend.

ALL of my recent USBs and my 2 SSDs came preformatted for exFAT. Now appears to be an manufacturer's industry standard.

Since I am planning an upcoming BKWDog64, is there something at build time needed so that it is incorporated in the completion of the distro where I can reduce/manipulate partition size of exFAT without destroying the partition? Formats, as well.

Curious

Not sure, anyway, the exfat kernel module will be loaded booting a new build, but to manipulate/format exfat partition, it is probably required to add exfatprogs and/or exfat-fuse to the install list.
edit: just saying: building on exfat cannot work, needs to be on a Linux formatted partition e.g. ext3/4

Post Reply

Return to “DebianDogs”