Bookworm Build script

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

Moderator: fredx181

Post Reply
User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 955 times
Contact:

Bookworm Build script

Post by fredx181 »

Update 2023-06-16 new attached mklive-bookworm script below, added choice for to create a "no-merged-usr" filesystem, see: viewtopic.php?p=91725#p91725

mklive-bookworm.gz
Remove fake .gz and make executable
(72.15 KiB) Downloaded 620 times

Update 2023-05-06 new attached mklive-bookworm script below, small change, see: viewtopic.php?p=88406#p88406
Update 2023-03-15 new attached mklive-bookworm script, some fixes, see: viewtopic.php?p=84286#p84286
Update 2022-11-04 new attached mklive-bookworm script, some fixes, see: viewtopic.php?p=71476#p71476
Update 2022-10-26 new attached mklive-bookworm script, creates a "usr-merged" system now, see more info here; viewtopic.php?p=70577#p70577
EDIT 2022-10-26 Test ISO updated, accordingly (with usr-merged) see download link below.

Update 2022-10-11 new attached mklive-bookworm script, changes similar as mklive-sid, see viewtopic.php?p=69247#p69247
EDIT 2022-07-28 Test ISO updated, see link below.
EDIT 2022-08-03 Build shared by @exton viewtopic.php?p=63525#p63525
----------------------------------------------------------------------------
Attached script above, mklive-bookworm, will build an ISO of a Debian 12 (bookworm) live system similar to 'DebianDog' (Remove fake .gz and make executable).

(for building on any Debian(dog) based host OS).

Run the build on a Linux filesystem (ext2 ext3 ext4) NOT on FAT or NTFS , with at least 3GB free space
For example on /mnt/sda2 , e.g. cd /mnt/sda2; ./mklive-bookworm -gui (GUI) or cd /mnt/sda2; ./mklive-bookworm -cli (CLI)

Use the 'appimage' (dependencies included) for building from another host OS (e.g. from Puppy), info and download here:
https://debiandog.github.io/MakeLive/Re ... rmdog.html
EDIT 2023-05-06: Appimages maintained again after some time it had been not.

Bookworm hasn't reached Debian "stable" branch yet, but will be next year.
Until that time it's the 'testing' branch.
Gtk2 is still supported to some extend (basic), but will probably be deprecated completely at some point of time.
In the future, some (GTK3) replacements need to be found for e.g. pcmanfm, rox-filer and more...

Very similar as the Bullseye build script: Info and screenshots
Change is that the Gui (using yad) supports GTK3 now.
Major changes compared to earlier build scripts (mklive-stretch, mklive-buster):
- use of 'overlay' instead of 'aufs'
- option to run with systemd as init system (default is elogind, that will provide the legacy 'initscripts')
- option to set locale/language
- keep or remove man and doc files
- option to generate 'initrd.img' (for live-boot, default is porteus-boot)
- option to create UEFI ISO.
- Sfs-load 'on the fly' is using a completely different method (by creating symlinks)
- The newest available kernel (currently v5.15) will be installed by the build script.
(and a .squashfs will be created in the 'live' folder, e.g. k-5.15.0-3-amd64.squashfs)

EDIT 2022-10-26 ISO updated, now with kernel 5.19 and contains lots of firmware (newest) and a "usr-merged" system.
Test ISO Openbox+tint2 no-systemd 64-bit UEFI 2022-10-26 (with merged-usr) Size: 601M / md5
Login details: password root = root , password puppy = puppy

Openbox with tint2 panels:
Image
Pcmanfm providing the Desktop + Lxpanel:
Image

User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 955 times
Contact:

Re: Bookworm Build script (testing)

Post by fredx181 »

*** Changes and Fixes ***

2022-07-24: Two major problems fixed, see viewtopic.php?p=62665#p62665

2022-10-26: Changed to "usr-merged" system see: viewtopic.php?p=70577#p70577

2023-05-06: Appimages maintained again and small fix for uid of user 'puppy' : viewtopic.php?p=88406#p88406

backi
Posts: 586
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 71 times
Been thanked: 64 times

Re: Bookworm Build script (testing)

Post by backi »

solved

Last edited by backi on Tue Feb 01, 2022 6:54 pm, edited 4 times in total.
User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 955 times
Contact:

Re: Bookworm Build script (testing)

Post by fredx181 »

Hey backi ! thanks.

Looks like you don't have an internet connection, is that right ? In that case it's not just a synaptic problem I guess.
Did you build it or use the test ISO ?

backi
Posts: 586
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 71 times
Been thanked: 64 times

Re: Bookworm Build script (testing)

Post by backi »

solved

Last edited by backi on Tue Feb 01, 2022 6:54 pm, edited 4 times in total.
User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 955 times
Contact:

Re: Bookworm Build script (testing)

Post by fredx181 »

backi wrote: Sat Jan 29, 2022 4:30 pm

Hi Fred !
I did a Build........Internet Connection is working fine.
I am going to install the Test-Iso also.......and will report.

Ok, that's strange, internet is working and synaptic gives errors, I can't reproduce that. edit: apt update too gives errors ?
What build type you did ? (and/or something special you installed/configured ?)

backi
Posts: 586
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 71 times
Been thanked: 64 times

Re: Bookworm Build script (testing)

Post by backi »

Solved

Last edited by backi on Tue Feb 01, 2022 7:00 pm, edited 4 times in total.
backi
Posts: 586
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 71 times
Been thanked: 64 times

Re: Bookworm Build script (testing)

Post by backi »

solved!

Last edited by backi on Tue Feb 01, 2022 1:43 pm, edited 2 times in total.
User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 955 times
Contact:

Re: Bookworm Build script (testing)

Post by fredx181 »

going to try again new Install......maybe i did something wrong......no need to hurry/panic.

backi wrote:

apt update too gives error...
...

Is that after trying again ?
and are you sure internet works by e.g. opening this forum with e.g. firefox ?

EDIT:

Debian Dog Full--Openbox with Pcmfm---lxpanel--or JWm

In the meantime I tested new build this way, synaptic 'Reload' and apt update works fine, so no idea what can be wrong at your end.

backi
Posts: 586
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 71 times
Been thanked: 64 times

Re: Bookworm Build script (testing)

Post by backi »

solved!

Last edited by backi on Tue Feb 01, 2022 1:43 pm, edited 2 times in total.
User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 955 times
Contact:

Re: Bookworm Build script (testing)

Post by fredx181 »

backi wrote: Sat Jan 29, 2022 7:51 pm

Tried same again.........
Internet Connection works........Problem persists....Synaptic not "reloading".

I did the Build with Fossa-Dog64........may this be the Culprit?

Since it works for you .....i think better let`s forget about it.

Test Iso is working fine

Weird, I'm curious if anyone else trying this has the same problem.
Tnanks anyway backi !

backi
Posts: 586
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 71 times
Been thanked: 64 times

Re: Bookworm Build script (testing)

Post by backi »

solved

Last edited by backi on Tue Feb 01, 2022 6:53 pm, edited 5 times in total.
User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 955 times
Contact:

Re: Bookworm Build script (testing)

Post by fredx181 »

backi wrote: Sat Jan 29, 2022 9:09 pm

Hi Fred !

I would like to delete my "Bug" Report(s)....or is it anyhow "useful"?...cause it is causing more Confusion than being helpful....(too much Text/Blabber).
Would this be O.K. ? ...

Your choice but I'd say keep it (or shorten it), it's about what you experienced and can be useful IMO.

backi
Posts: 586
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 71 times
Been thanked: 64 times

Re: Bookworm Build script (testing)

Post by backi »

solved!

Last edited by backi on Tue Feb 01, 2022 6:55 pm, edited 4 times in total.
User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 955 times
Contact:

Re: Bookworm Build script (testing)

Post by fredx181 »

backi wrote:

I did the Build with Fossa-Dog64........may this be the Culprit?

Very unlikely, anyway I tested building with appimage ./mklive-bookworm64 -gui (this time chose "ChromeDog") from Fossa-Dog and got no problems.
- Did the build on a ext4 formatted partition.
- Booted the built OS with fresh save (Synaptic and apt-get works OK).

Anything special you configured that could possibly be the cause of the problem you have ?

backi
Posts: 586
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 71 times
Been thanked: 64 times

Re: Bookworm Build script (testing)

Post by backi »

Hi Fred!
Did send you a private Mail.

backi
Posts: 586
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 71 times
Been thanked: 64 times

Re: Bookworm Build script (testing)

Post by backi »

SOLVED!

When using AppImage Build Script (./mklive-bookworm64 Build -gui)
.........despite working Internet Connection .......Synaptic Packet Manager seemed not (re)loading in Obdog (DebianDog Full,openbox with Pcmanfm,lxpanel or Jwm,with Firefox ----Nr.6)........at first Sight.

But now it does.
I wonder why .

In Case anybody else encounters such Kind of Bug/Problem..........please report.

Many Thanks in Advance!

User avatar
stemsee
Posts: 656
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 0
Has thanked: 160 times
Been thanked: 104 times
Contact:

Re: Bookworm Build script (testing)

Post by stemsee »

I tried this out today. I ran it on fossadog. It went so smoothly, with no errors, but there was no kernel or kernel modules. After frugally installing I added my own kernel and modules. The kernel booted but nothing else did! I tried the systemd and xfce variant. I'm on a chromebook, on which fossadog runs very well with the same kernel.

stemsee

User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 955 times
Contact:

Re: Bookworm Build script (testing)

Post by fredx181 »

Hi stemsee,

It went so smoothly, with no errors, but there was no kernel or kernel modules.

Apparently the (separate) kernel .squashfs wasn't created at build stage, no idea why, maybe you can try again.
(recommended to use the Debian kernel)
I tested also on Fossadog and no such problem, but can't test on a Chromebook... (not sure if it has anything to do with that)

keniv
Posts: 623
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 92 times
Been thanked: 64 times

Re: Bookworm Build script (testing)

Post by keniv »

@fredx181

Attached script, mklive-bookworm, will build an ISO of a Debian 12 (bookworm) live system similar to 'DebianDog'

Hi Fred,
I don't have the confidence or the knowledge to try building an iso from your script but I have downloaded your test iso DebLive_bookworm-tint2-amd64-UEFI.iso largely because I have Busterdog installed which I like. DebLive_bookworm-tint2-amd64-UEFI.iso is installed, up and running and I'm posting from it now.

Bookworm hasn't reached Debian "stable" branch yet, but will be next year.
Until that time it's the 'testing' branch.

Can I ask does the above mean I should expect a lot of things not to work, a bit like an alpha release, or does it mean something different?

Regards,

Ken.

backi
Posts: 586
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 71 times
Been thanked: 64 times

Re: Bookworm Build script (testing)

Post by backi »

@keniv wrote:

Can I ask does the above mean I should expect a lot of things not to work, a bit like an alpha release, or does it mean something different?

I use it on a daily Base.
Works flawless for me......not encountered any Problem so far.

Regards!

keniv
Posts: 623
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 92 times
Been thanked: 64 times

Re: Bookworm Build script (testing)

Post by keniv »

@backi
Thanks for that. Have not been using it for long but I haven't found anything wrong with it either. It seems much like Busterdog so far. I suppose I shouldn't be surprised by that.

Regards,

Ken.

User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 955 times
Contact:

Re: Bookworm Build script (testing)

Post by fredx181 »

@keniv

Can I ask does the above mean I should expect a lot of things not to work, a bit like an alpha release, or does it mean something different?

More like a beta release, I'd say, some programs may need improvement, but in practice it's fine from what I experienced.
Debian brings out a 'stable' release every 2 years, in that time all software needs to be thoroughly tested (in the 'testing' branch, now 'bookworm') before it will be marked as 'stable'.

keniv
Posts: 623
Joined: Mon Jul 13, 2020 2:18 pm
Location: Scotland
Has thanked: 92 times
Been thanked: 64 times

Re: Bookworm Build script (testing)

Post by keniv »

@fredx181
Thanks for expanding the explanation. I've used it a little bit more over this afternoon and everything I've tried seems to be working.

Regards,

Ken.

icake
Posts: 410
Joined: Mon Jul 27, 2020 8:07 am
Been thanked: 42 times

English live cd iso and Chinese language packs for Bookworm Build script

Post by icake »

A. Live CD:
Based on the script mklive-bookworm released on Feb 01, 2022, I have created these 9 debiandog bookworm live cd isoes:

64 bit system:
chromedog desktop: DL64_bookworm-chromedog.20220201.iso
obdog desktop: DL64_bookworm-obdog.20220201.iso
mate desktop: DL64_bookworm-mate.20220201.iso
tint2 desktop: DL64_bookworm-tint2.20220201.iso
xfce4 desktop: DL64_bookworm-xfce4.20220201.iso

32 bit system:
obdog desktop: DL32_bookworm-obdog.20220201.iso
mate desktop: DL32_bookworm-mate.20220201.iso
tint2 desktop: DL32_bookworm-tint2.20220201.iso
xfce4 desktop: DL32_bookworm-xfce4.20220201.iso

B. Half-Chinese language packs
For these live CD isoes, I have created 4 Half-Chinese debs:

64 bit:
fcitx Chinese input platform: fcitx64_4.2.9-en-zh-bionic-121.6.1.deb (18 mb)
ibus Chinese input platform: ibus64_1.5.25-en-zh-bionic-121.6.1.pet (33 mb)
scim Chinese input platform: scim64_1.4.18-en-zh-bionic-121.6.1.pet (9 mb)
yong Chinese input platform: yong64_2.5.0-en-zh-bionic-121.6.1.pet (8 mb)

32 bit:
fcitx Chinese input platform: fcitx32_4.2.9-en-zh-bionic-120.6.0.deb (18 mb)
ibus Chinese input platform: ibus32_1.5.25-en-zh-bionic-120.6.0.pet (33 mb)
scim Chinese input platform: scim32_1.4.18-en-zh-bionic-120.6.0.pet (9 mb)
yong Chinese input platform: yong32_2.5.0-en-zh-bionic-120.6.0.pet (8 mb)

C. Chinese language packs
2 Chinese language debs were also created for 7 of these 9 isoes:

64 bit Simplified Chinese:
chromedog desktop: DL64_bookworm_chromedog_20220201-zhcn-121.6.1.deb (3 mb)
obdog desktop: DL64_bookworm_obdog_20220201-zhcn-121.6.1.deb (3 mb)
tint2 desktop: DL64_bookworm_tint2_20220201-zhcn-121.6.1.deb (3 mb)
xfce4 desktop: DL64_bookworm_xfce4_20220201-zhcn-121.6.1.deb (3 mb)

64 bit Traditional Chinese:
chromedog desktop: DL64_bookworm_chromedog_20220201-zhhk-121.6.1.deb (2 mb)
obdog desktop: DL64_bookworm_obdog_20220201-zhhk-121.6.1.deb (2 mb)
tint2 desktop: DL64_bookworm_tint2_20220201-zhhk-121.6.1.deb (2 mb)
xfce4 desktop: : DL64_bookworm_xfce4_20220201-zhcn-121.6.1.deb (3 mb)

32 bit Simplified Chinese:
obdog desktop: DL32_bookworm_obdog_20220201-zhcn-121.6.1.deb (2 mb)
tint2 desktop: DL32_bookworm_tint2_20220201-zhcn-121.6.1.deb (2 mb)
xfce4 desktop: DL32_bookworm_xfce4_20220201-zhcn-121.6.1.deb (2 mb)

32 bit Traditional Chinese:
obdog desktop: DL32_bookworm_obdog_20220201-zhhk-121.6.1.deb (2 mb)
tint2 desktop: DL32_bookworm_tint2_20220201-zhhk-121.6.1.deb (2 mb)
xfce4 desktop: DL32_bookworm_xfce4_20220201-zhhk-121.6.1.deb (2 mb)

To use:
(i) any half-Chinese language deb will enable you to display and input Chinese in these isoes. Please use the 121.6.1 debs for 64 bit systems and 120.6.0 debs for 32 bit systems.

(ii) the name+version corresponding Chinese language pets will give you Simplified Chinese (zhcn deb) or Traditional Chinese (zhhk deb) menus, icon labels, tooltips for these live cd isoes. Please note that all Chinese language debs rely on a suitable half-Chinese language deb already installed to the system to provide Chinese input platform and Chinese fonts. Otherwise the system cannot input Chinese and display Chinese (shown as squares).

More information about these debs can be found in a pdf user guide written in English, Traditional Chinese and Simplified Chinese.

All the above files (including the scipt mklive-bookworm, English live cd isoes, half-Chinese and Chinese debs and pdf user guide) can be downloaded from here:
https://sourceforge.net/projects/icakec ... e_bookworm

darry19662018
Posts: 453
Joined: Sat Dec 14, 2019 12:24 am
Has thanked: 54 times
Been thanked: 65 times

Re: Bookworm Build script (testing)

Post by darry19662018 »

https://github.com/DebianDog/MakeLive/r ... 4-UEFI.iso

Used this iso above. Compaq cq61 - this thing boots quickly which is amazing as it has a 5 series kernel. Thanks Fred.

icake
Posts: 410
Joined: Mon Jul 27, 2020 8:07 am
Been thanked: 42 times

Bookworm Build script with built-in Chinese input platform

Post by icake »

Further to my posting about the creation of half-Chinese and Chinese debs for the Linux script mklive-bookworm on Feb 28, 2022, I have created 24 live cds with built-in Chinese input platform based on the DebLive Bookworm obdog desktop live cd.

A. 8 English live cds with Chinese input platforms: (uploaded here: https://sourceforge.net/projects/icakec ... ve_CD_eng/)
64 bit:
fcitx input platform: DLBw64_obdog_fcitx_eng_20220201.iso
ibus input platform: DLBw64_obdog_ibus_eng_20220201.iso
scim input platform: DLBw64_obdog_scim_eng_20220201.iso
yong input platform: DLBw64_obdog_yong_eng_20220201.iso

32 bit:
fcitx input platform: DLBw32_obdog_fcitx_eng_20220201.iso
ibus input platform: DLBw32_obdog_ibus_eng_20220201.iso
scim input platform: DLBw32_obdog_scim_eng_20220201.iso
yong input platform: DLBw32_obdog_yong_eng_20220201.iso

B. 8 Simplified Chinese live cds with input platforms: (uploaded here: https://sourceforge.net/projects/icakec ... d_Chinese/)
64 bit:
fcitx input platform: DLBw64_obdog_fcitx_zhcn_20220201.iso
ibus input platform: DLBw64_obdog_ibus_zhcn_20220201.iso
scim input platform: DLBw64_obdog_scim_zhcn_20220201.iso
yong input platform: DLBw64_obdog_yong_zhcn_20220201.iso

32 bit:
fcitx input platform: DLBw32_obdog_fcitx_zhcn_20220201.iso
ibus input platform: DLBw32_obdog_ibus_zhcn_20220201.iso
scim input platform: DLBw32_obdog_scim_zhcn_20220201.iso
yong input platform: DLBw32_obdog_yong_zhcn_20220201.iso

C. 8 Traditional Chinese live cds with input platforms: (uploaded here: https://sourceforge.net/projects/icakec ... l_Chinese/)
64 bit:
fcitx input platform: DLBw64_obdog_fcitx_zhhk_20220201.iso
ibus input platform: DLBw64_obdog_ibus_zhhk_20220201.iso
scim input platform: DLBw64_obdog_scim_zhhk_20220201.iso
yong input platform: DLBw64_obdog_yong_zhhk_20220201.iso

32 bit:
fcitx input platform: DLBw32_obdog_fcitx_zhhk_20220201.iso
ibus input platform: DLBw32_obdog_ibus_zhhk_20220201.iso
scim input platform: DLBw32_obdog_scim_zhhk_20220201.iso
yong input platform: DLBw32_obdog_yong_zhhk_20220201.iso

User avatar
fredx181
Posts: 2489
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 261 times
Been thanked: 955 times
Contact:

Re: Bookworm Build script with built-in Chinese input platform

Post by fredx181 »

Hi @icake ,

Further to my posting about the creation of half-Chinese and Chinese debs for the Linux script mklive-bookworm on Feb 28, 2022, I have created 24 live cds with built-in Chinese input platform based on the DebLive Bookworm obdog desktop live cd.

Wow ! You put a lot of effort in creating all these ISO's with chinese translation.

Just to report, some ISO'S contain files with a '.' (dot) at the end: (e.g. readme files and weeinst) where it shouldn't.

2022-03-07-155956_498x263_scrot.png
2022-03-07-155956_498x263_scrot.png (32.99 KiB) Viewed 23429 times

Also "vmlinuz1." :

2022-03-07-160306_419x201_scrot.png
2022-03-07-160306_419x201_scrot.png (22.04 KiB) Viewed 23429 times

The latter I didn't notice at first and booting failed, renamed to vmlinuz1 and booted fine to Desktop chinese, obviously I can't read chinese, but looks like you did a great job.

icake
Posts: 410
Joined: Mon Jul 27, 2020 8:07 am
Been thanked: 42 times

Bookworm Build script (testing) - Chinese language support

Post by icake »

Just to report, some ISO'S contain files with a '.' (dot) at the end: (e.g. readme files and weeinst) where it shouldn't.

fredx181, thanks for pointing this out. Although all 24 live cds booted successfully in my pre-release tests, I have created a new set of 24 live cd files with no dot at the end of the file names. The old live cds have been removed from my public sharing folders and new ones uploaded.

May I use this opportunity to thank you for creating the mklive-bookworm script. The DebianDog Bookworm live cds created by the mklive-bookworm script is one of the most user friendly linux live cd system as far as Chinese language support is concern. That is why I have selected it out of more than 1,000 linux systems I have worked on so far to create 24 live cds with Chinese language support. I look forward to see more excellent releases from you.
icake

dancytron
Posts: 648
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 401 times
Been thanked: 186 times

Re: Bookworm Build script (testing)

Post by dancytron »

I've started experimenting with this.

Has anyone tried to set up a systemd/pulse audio/whatever else is the new mainstream (not wayland, I don't want to go there) version yet?

I think that might be my little project...

Post Reply

Return to “DebianDogs”