Bullseye build script

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

Moderator: fredx181

Post Reply
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Bullseye build script

Post by fredx181 »

*** Bullseye build script ***

Update 2023-06-04, new mklive-bullseye build script attached below : bugfix, see info here; viewtopic.php?p=90880#p90880

mklive-bullseye.gz
Updated 2023-06-04, bugfix
Remove fake .gz and make executable
(69.44 KiB) Downloaded 218 times

EDIT 2022-09-08 Bullseye ISO with kernel 5.18 from backports and firmware (squashfs) from Bookworm: DebLive_Bullseye-k-5.18_amd64.iso / md5
(for more modern computers)

EDIT 2021-09-26, changes for running GUI and CLI, re-attached mklive-bullseye below, see also Changes and Fixes (2021-09-26) and Here
Also appimages (64 and 32 bit) updated, see: https://debiandog.github.io/MakeLive/Re ... yedog.html

EDIT 2021-09-12, added option to run with systemd, re-attached mklive-bullseye below, see also Changes and Fixes (2021-09-12) and Here
EDIT 2021-07-22, added Mate Desktop to DE choices, re-attached mklive-bullseye below, see also Changes and Fixes (2021-07-22) and Here
EDIT 2021-07-05, some changes, re-attached mklive-bullseye below, see also Changes and Fixes (2021-07-05) and Here
EDIT 2021-05-23, some changes, re-attached mklive-bullseye below, see also Changes and Fixes (2021-05-23) and Here
EDIT 2021-02-19, some changes, re-attached mklive-bullseye below, see also Changes and Fixes (2021-02-19) and Here
EDIT 2021-02-13, some changes, re-attached mklive-bullseye below, see also Changes and Fixes (2021-02-13) and Here
EDIT 2021-01-29, some changes, re-attached mklive-bullseye below, see also Changes and Fixes and Here
EDIT 2021-01-23,
- New! Appimage with dependencies included, running it from Puppy should work now.
Info and download: https://debiandog.github.io/MakeLive/Re ... yedog.html
- Some small fixes, re-attached mklive-bullseye below, see also Changes and Fixes
EDIT 2021-01-18, some fixes, re-attached mklive-bullseye below, see also Changes and Fixes
EDIT 2021-01-12, added 7th Desktop choice "Tint2", includes "Desktop-manager" to choose between several openbox setups (default is tint2 panels). Screenshot
=======================================================================================
Attached script, mklive-bullseye, will build an ISO of a Debian 11 (bullseye) live system. [edited]
Bullseye hasn't reached Debian "stable" branch yet, but will be this year.
Can be considered as sort of a "playground", a preparation for next 'DebianDog Bullseye'.

Major changes compared to earlier build scripts (mklive-stretch, mklive-buster):
- Use of 'overlay' instead of 'aufs'
It is uncertain if Debian will still patch the kernels with aufs in the future.
(previously they did, making it possible to build aufs kernel module with dkms)
- Sfs-load 'on the fly' is now using a completely different method (by creating symlinks)
- The newest available kernel (currently v5.10) will be installed by the build script.
(and a .squashfs will be created in the 'live' folder, e.g. k-5.10.0-1-amd64.squashfs)

Recommended to run from a Debian based host system (to run from Puppy should be possible too, but needs to have debootstrap, "full" dpkg, xorriso (for creating ISO) installed).
EDIT: Or run the appimage (see above), it has dependencies included.

Run the build on a Linux filesystem (ext2 ext3 ext4) not on FAT or NTFS , with at least 3GB free space

Run with -gui, choice of Desktop Environments (GUI) and packages to install (required for the GUI is 'yad' installed):
./mklive-bullseye -gui (screenshots updated 2021-09-26)

2021-09-26_15-18-00.png
2021-09-26_15-18-00.png (132.25 KiB) Viewed 10971 times
2021-09-26_12-37-51.gif
2021-09-26_12-37-51.gif (277.3 KiB) Viewed 10972 times

Run with -cli, choice of Desktop Environments (CLI) then configure packages to install and select additional options:
./mklive-bullseye -cli (screenshot updated 2021-09-26)

2021-09-26_12-43-46.gif
2021-09-26_12-43-46.gif (180.99 KiB) Viewed 10976 times

To show more options,run:

Code: Select all

./mklive-bullseye -help

More Screenshots

Fred

User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Bullseye build script

Post by fredx181 »

*** Changes and Fixes ***

2021-01-12, added 7th Desktop choice "Tint2", includes "Desktop-manager" to choose between several openbox setups (default is tint2 panels). Screenshot
--------------------------------------------------------
2021-01-18,
- Fixed that when using copy2ram the partition containing save wasn't mounted. When no save in use, the "boot" partition is unmounted with copy2ram.
See backi's report here: viewtopic.php?p=15216#p15216
- And when network connection check says failed (it might happen sometimes while there IS in fact a network connection), the script doesn't exit, just a warning now.
More details here: viewtopic.php?p=15453#p15453
--------------------------------------------------------
2021-01-23,
- New! Appimages with dependencies included, running it from Puppy should work now.
Info and download: https://debiandog.github.io/MakeLive/Re ... yedog.html
- Added "mtools" to the package list config files.
(fixes a problem that gparted not showing complete info for FAT32)
- Fixed shutdown delay because of pcmanfm still being an active process.
--------------------------------------------------------
2021-01-29, Some (not major) changes:
- Added choice to include initrd.img or not
(initrd.img is for the "live-boot" option, the porteus-boot option (initrd1.xz) will be included anyway)
See also here: viewtopic.php?p=15978#p15978
- The choice for mksquashfs "gzip' or "xz" goes now for the kernel .squashfs too.
(so, for example, when chosen xz, the e.g. k-5.10.0-1-amd64.squashfs and 01-filesystem.squashfs will both be compressed with xz)
--------------------------------------------------------
2021-02-13, changes:
- Added options: "Keep locale files (and configure)" and "Keep man and doc files"
Variables in config files are KEEPLOCALES= and KEEPMANDOC= (set to TRUE or FALSE)
See also here: viewtopic.php?p=17539#p17539
--------------------------------------------------------
2021-02-19, changes:
- Added choice to build ISO with UEFI support or not
(added another prompt at the beginning of the build)
- The issue of swapping sda <> sdb should be fixed now
--------------------------------------------------------
2021-05-23, changes:
- Different method (from Tomas M, but modified) for creating initrd1.xz.
- Package upgrade-kernel updated to v1.5.0 (contains now the same method of creating initrd1.xz)
See also Here and Here , thanks @gumanzoy
--------------------------------------------------------
2021-07-05, change:
Keyboard-layout dialog is now using "whiptail" rather than "dialog".
This should avoid a build failure in some cases, when clicking with the mouse on the keyboard-layout dialog.
--------------------------------------------------------
2021-07-22, change: Added Mate Desktop to DE choices.
--------------------------------------------------------
2021-09-12, added option to run with systemd as init system, see viewtopic.php?p=36755#p36755
--------------------------------------------------------
2021-09-26, changes for running GUI and CLI, see viewtopic.php?p=37892#p37892
--------------------------------------------------------
2021-11-18, changes and fixes in the repo, see: viewtopic.php?p=41987#p41987

User avatar
Duprate
Posts: 309
Joined: Sat Aug 22, 2020 8:14 pm
Location: Southern Brazil
Has thanked: 163 times
Been thanked: 107 times

Re: Bullseye build script

Post by Duprate »

Good morning, Fred! Questions for clarification:
In "Chose Desktop Environment" the current standard in use is "4) DDog, Debian Full Openbox-Xfce-Jwm Version", correct?
Will the "mklive-bullseye" script create a new ISO?

Thanks! :thumbup2:

User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Bullseye build script

Post by fredx181 »

Hi Duprate,

In "Chose Desktop Environment" the current standard in use is "4) DDog, Debian Full Openbox-Xfce-Jwm Version", correct?

Not sure what you mean by "the current standard in use".
If you mean same Desktop Environment as in the Sid and Bullseye ISO, then not, 4) has Xfce4 components on top of Openbox and Thunar as file-manager.
Number 5) or 6) comes closer to the Sid and Bullseye ISO, pcmanfm as default file-manager (also providing the Desktop)

Will the "mklive-bullseye" script create a new ISO?

Yes.

Fred

User avatar
rcrsn51
Posts: 1390
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 357 times

Re: Bullseye build script

Post by rcrsn51 »

Hi Fred: I built a Bullseye Starter Kit ISO and it looks good. But I notice that the 01-filesystem.squashfs has increased in size by 50MB.

Is this to be expected?

User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Bullseye build script

Post by fredx181 »

Hi Bill, I would expect it be larger than Buster, but that much ... Can't explain yet.
I assume it's a fair comparison you make, e.g. same packages installed, same compression type ?
Can you tell me how you did it, or/and post your build_setup.conf ? So then I can investigate.

Fred

User avatar
rcrsn51
Posts: 1390
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 357 times

Re: Bullseye build script

Post by rcrsn51 »

I looked around and it's just a number of increases in various places.

The biggest jump was in the firmware packages: 35MB. I want to keep including firmware, so I guess that's inevitable.

The good news is that many packages like ffmpeg and mplayer have not changed (so far) between Buster and Bullseye. So any squashfs modules built under Buster have a good chance of working in Bullseye.

backi
Posts: 602
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 77 times
Been thanked: 70 times

Re: Bullseye build script

Post by backi »

Hi Fred !
Did install Bullseye......
Via AptToSfs i downloaded Enlightenment -E24 Squashfs Module (my favorite Desktop Environment) from the Repos and placed Enlightenment Module in opt Folder for activating it at Startup (as i do it usually).
Used 99 -firmware-stretch-live.squashfs Module ,put it into live folder to get my Internet working.

Those Heat-Problems ,much to my Surprise , which haunted me (on a Dell Precision M6600) and prevented me from using the "Buster"Series , seems gone now....that`s pretty cool.

So far as i can see everything is working fine .
Only one thing i observed so far .....when clicking with Thunar on a squashfs module for mounting it (showing its Content)....does not work.

O.K Fred ....will do further testing..and will give Feedback.
Thanks once more for all your hard Effort
Best Wishes .....stay healthy....and mentally fit ! :thumbup2:

P.S:

Recommended to run from a Debian based host system

Did create it from Fossa-Dog .

gosh
Posts: 20
Joined: Thu Aug 20, 2020 10:41 am
Has thanked: 2 times
Been thanked: 1 time

Re: Bullseye build script

Post by gosh »

Hello .
When i run that script ever time
the installation stops here .
My choice was number 2.
Thanks in advance.

Attachments
Screenshot_2021-01-12_12-57-23.png
Screenshot_2021-01-12_12-57-23.png (452.37 KiB) Viewed 14452 times
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Bullseye build script

Post by fredx181 »

gosh wrote: Tue Jan 12, 2021 11:05 am

Hello .
When i run that script ever time
the installation stops here .
My choice was number 2.
Thanks in advance.

Hi gosh, thanks, I found what was the problem, should be fixed now, can you try again and report back?

Fred

gosh
Posts: 20
Joined: Thu Aug 20, 2020 10:41 am
Has thanked: 2 times
Been thanked: 1 time

Re: Bullseye build script

Post by gosh »

Hello again.
Sorry to be late,had to do it twice .
First time probably was my internet.
Then all went well.
Thanks for all your work.
Now i am gonna play for couple of hours.

Attachments
Screenshot_2021-01-12_16-32-48.png
Screenshot_2021-01-12_16-32-48.png (471.36 KiB) Viewed 5135 times
User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Bullseye build script

Post by fredx181 »

gosh wrote: Tue Jan 12, 2021 2:37 pm

Hello again.
Sorry to be late,had to do it twice .
First time probably was my internet.
Then all went well.
Thanks for all your work.
Now i am gonna play for couple of hours.

Thanks gosh,
You're not late at all, in fact very quick! Good that it works for you now.
A note about this Xfce4 option, it's the most RAM consuming anyway compared to Openbox.
The (default) included in Xfce4 package list: network-manager-gnome (and gnome-keyring as dependency) makes it even heavier.
(network-manager-gnome may fix for some people to be be able to connect to WI-Fi properly, that's why I included as option)
Replacing it with e.g. peasywifi or frisbee makes the system using less RAM.

Fred

gosh
Posts: 20
Joined: Thu Aug 20, 2020 10:41 am
Has thanked: 2 times
Been thanked: 1 time

Re: Bullseye build script

Post by gosh »

:thumbup2:
That was a good advice.
My lappi is not so powerful
so could makes it runs faster ☺️.
What else except converting to LZ4 will be in help?
One last question.
I run my browsers from extracted folder,but
now i can't run neighter seamonkey nor palemoon
only Iron browser.
Probably i am doing something wrong,but with BusterDog never had this.

User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Bullseye build script

Post by fredx181 »

gosh wrote: Tue Jan 12, 2021 6:46 pm

....
I run my browsers from extracted folder,but
now i can't run neighter seamonkey nor palemoon
only Iron browser.
Probably i am doing something wrong,but with BusterDog never had this.

Mmm... don't know, I'm not much into that, any error message when running seamonkey or palemoon from terminal ?

Fred

gosh
Posts: 20
Joined: Thu Aug 20, 2020 10:41 am
Has thanked: 2 times
Been thanked: 1 time

Re: Bullseye build script

Post by gosh »

Nothing.
Just doesn't run at all.
Terminal doesn't display anything.

User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Bullseye build script

Post by fredx181 »

Updated mklive-bullseye 2021-01-12, added 7th Desktop choice "Tint2", includes "Desktop-manager" to choose between several openbox setups (default is tint2 panels). Screenshot

Re-attached on first post.

@gosh Sorry, I dont know then.

Fred

gosh
Posts: 20
Joined: Thu Aug 20, 2020 10:41 am
Has thanked: 2 times
Been thanked: 1 time

Re: Bullseye build script

Post by gosh »

:thumbup2:
Sorry for what.?
You are doing great job so people
like me can use that OS.
I will try them all,but in your personal opinion which version is the lightest ?
Mainly I am using only the browser.

User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Bullseye build script

Post by fredx181 »

Thanks gosh,

I will try them all,but in your personal opinion which version is the lightest ?

I think that's the Jwm minimal or the just added: openbox + tint2 combination.

Fred

TerryH
Posts: 638
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 158 times
Been thanked: 161 times

Re: Bullseye build script

Post by TerryH »

Hi Fred,

Another great contribution. Just built a Bullseye DDog, all running well. Thank you.

Just an observation. The flashplayerchoice package is still included. Are you planning on removing it from the package list?

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

User avatar
Kennel Dweller
Posts: 42
Joined: Sat Sep 12, 2020 10:29 am
Location: England
Has thanked: 7 times
Been thanked: 1 time

Re: Bullseye build script

Post by Kennel Dweller »

I'd like to try it out but computer says NO.

Screenshot_2021-01-13_13-47-42.png
Screenshot_2021-01-13_13-47-42.png (41.69 KiB) Viewed 5023 times
User avatar
rcrsn51
Posts: 1390
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 357 times

Re: Bullseye build script

Post by rcrsn51 »

Kennel Dweller wrote: Wed Jan 13, 2021 1:54 pm

I'd like to try it out but computer says NO.

Remove fake .gz and make executable

User avatar
Kennel Dweller
Posts: 42
Joined: Sat Sep 12, 2020 10:29 am
Location: England
Has thanked: 7 times
Been thanked: 1 time

Re: Bullseye build script

Post by Kennel Dweller »

Aha, yes, why didn't I think of that?
Many thanks.

User avatar
Duprate
Posts: 309
Joined: Sat Aug 22, 2020 8:14 pm
Location: Southern Brazil
Has thanked: 163 times
Been thanked: 107 times

Re: Bullseye build script

Post by Duprate »

Hi, Fred! :thumbup: I created a new filesystem.squashfs using your mklive-bullseye script 2021-01-12. With the last option added (tint2) it was the same as the "current standard in use", it was great! The boot was much faster.
However, after the entire boot process, the partition where DebianDog (sda3) is installed remains mounted. The default is all unmounted partitions. Security when using the browser. In a hurry, the user may forget to unmount the drive manually. After removing firefox-esr, filesystem.squashfs got 228Mb, very thin!
The grub.cfg menu:
menuentry "DebianDog Bullseye Overlay - Kernel 5.4.88 LTS" {
linux / DebianDog / live / vmlinuz noauto copy2ram from = / DebianDog
initrd /DebianDog/live/ucode.cpio / DebianDog / live / initrd
}

User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Bullseye build script

Post by fredx181 »

Hi Duprate, thanks for testing!

However, after the entire boot process, the partition where DebianDog (sda3) is installed remains mounted.

Yes, I think you mean with the use of copy2ram the boot partition should be unmounted.
There were reports about that in the past, thought that I had fixed it but the "debdogmountscripts" still contained older version of script: usr/local/bin/mountlink
New debdogmountscripts package with fix:
https://github.com/doglinux/bulldog/raw ... .6_all.deb
So when doing a new build v1.0.6 will be installed and it should be fixed.
For an existing build you can install above .deb and reboot with save, or:
Extract attached "mountlink-rootcopy.tar.gz" in live/rootcopy (so you get: live/rootcopy/usr/local/bin/mountlink) and reboot.

EDIT: For info, about rootcopy: It can be a nice convenient way to add stuff to the system, specially when running without save.
Note that it will override all (.squashfs modules, save).

Fred

Attachments
mountlink-rootcopy.tar.gz
Extract in live/rootcopy folder
(672 Bytes) Downloaded 155 times
backi
Posts: 602
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 77 times
Been thanked: 70 times

Re: Bullseye build script

Post by backi »

Hi you Guys !
I am looking for a Chance getting newest Smtube Version 20.6 and Smplayer 21.1 working on Bullseye-Dog.

Until now could not find any Packages or a Way to achieve my Goal.Also don`t know how to compile (no Experience).
Anybody any Ideas?

User avatar
Duprate
Posts: 309
Joined: Sat Aug 22, 2020 8:14 pm
Location: Southern Brazil
Has thanked: 163 times
Been thanked: 107 times

Re: Bullseye build script

Post by Duprate »

All the best to you, Fred! I repackaged the filesystem with the suggested changes. Now, it's perfect! :thumbup2:

trister
Posts: 103
Joined: Mon Sep 28, 2020 6:52 am
Has thanked: 27 times
Been thanked: 17 times

Re: Bullseye build script

Post by trister »

Hello fred.
Great job as always :)
I noticed that in Bullseye still exist the issues I described here :http://murga-linux.com/puppy/viewtopic. ... 79#1057779
(mount/creation of link of /mnt/home/ is done a few seconds after the Desktop opens -meaning that things are messed up if you try to do something in /mnt/home)
also It seems again to open 2 desktops (Ctrl+F7 , Ctrl +F1). I haven't triple check the second issue but I think it still exists.
The fixes you proposed in buster solved these issues in a great degree and they seem to work in bullseye too. (lnmounts.gz and openbox/slim autostart scripts).

backi
Posts: 602
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 77 times
Been thanked: 70 times

Re: Bullseye build script

Post by backi »

Hi Fred !
Since upgrade via Synaptic ..something`s foul........things no longer will be saved.
I am using Porteus Boot Option plus copy2ram in menu,lst as boot Parameters.
Does anybody else encountered this ?
When desktop is booted after Startup my SSD Boot Drive Partition (where Bullseye is (frugally) installed ) is not mounted at startup.
Can no longer save via save2flash.....
Anybody else?

User avatar
puddlemoon
Posts: 189
Joined: Sun Sep 06, 2020 9:26 pm
Location: In between
Has thanked: 89 times
Been thanked: 64 times

Re: Bullseye build script

Post by puddlemoon »

Hi
Thanks so much for this Fred!
Very cool project. Nice to have a way to learn too that can be easy or elaborate.

I built the xfce version with some extra firmware for raedon and usb wifi. All smooth...

I went add the 5.10 rt kernel but found the /usr/local/cr-initrd/ is not there. I borrowed the folder from sid and made a quick attempt but there were some errors and the resulting init files didn't boot. Not surprised but... (no harm to try;)
Is there adjustments that could be made to the sid mkintird/initramfs or I should just hang tight for the bullseye version? assuming you are planning to keep this feature going. :)

Really excited to keep experimenting with this script!

User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Bullseye build script

Post by fredx181 »

trister wrote: Thu Jan 14, 2021 8:50 pm

Hello fred.
Great job as always :)
I noticed that in Bullseye still exist the issues I described here :http://murga-linux.com/puppy/viewtopic. ... 79#1057779
(mount/creation of link of /mnt/home/ is done a few seconds after the Desktop opens -meaning that things are messed up if you try to do something in /mnt/home)

Hopefully I understand well waht your issue is.
The new "mountlink" script see here: viewtopic.php?p=15127#p15127 may be a solution because creating /mnt/home symlink is first, before mounting swap (earlier it was the other way around), worth a try (if you haven't done already).
Another way could be perhaps delaying the Desktop to appear, put e.g. a sleep 4 on top of the script ~./config/openbox/autostart (if you use openbox of course)

also It seems again to open 2 desktops (Ctrl+F7 , Ctrl +F1). I haven't triple check the second issue but I think it still exists.
...

i will look into that, thanks.

Fred

Post Reply

Return to “DebianDogs”