Page 1 of 12

Bullseye build script

Posted: Sun Jan 10, 2021 1:12 pm
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 105 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 7912 times
2021-09-26_12-37-51.gif
2021-09-26_12-37-51.gif (277.3 KiB) Viewed 7913 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 7917 times

To show more options,run:

Code: Select all

./mklive-bullseye -help

More Screenshots

Fred


Re: Bullseye build script

Posted: Sun Jan 10, 2021 1:31 pm
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


Re: Bullseye build script

Posted: Sun Jan 10, 2021 2:17 pm
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:


Re: Bullseye build script

Posted: Sun Jan 10, 2021 2:34 pm
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


Re: Bullseye build script

Posted: Sun Jan 10, 2021 7:22 pm
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?


Re: Bullseye build script

Posted: Mon Jan 11, 2021 11:58 am
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


Re: Bullseye build script

Posted: Mon Jan 11, 2021 1:42 pm
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.


Re: Bullseye build script

Posted: Mon Jan 11, 2021 3:12 pm
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 .


Re: Bullseye build script

Posted: Tue Jan 12, 2021 11:05 am
by gosh

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


Re: Bullseye build script

Posted: Tue Jan 12, 2021 1:29 pm
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


Re: Bullseye build script

Posted: Tue Jan 12, 2021 2:37 pm
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.


Re: Bullseye build script

Posted: Tue Jan 12, 2021 5:14 pm
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


Re: Bullseye build script

Posted: Tue Jan 12, 2021 6:46 pm
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.


Re: Bullseye build script

Posted: Tue Jan 12, 2021 7:24 pm
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


Re: Bullseye build script

Posted: Tue Jan 12, 2021 7:30 pm
by gosh

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


Re: Bullseye build script

Posted: Tue Jan 12, 2021 8:05 pm
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


Re: Bullseye build script

Posted: Tue Jan 12, 2021 8:18 pm
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.


Re: Bullseye build script

Posted: Tue Jan 12, 2021 8:24 pm
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


Re: Bullseye build script

Posted: Wed Jan 13, 2021 1:22 am
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?


Re: Bullseye build script

Posted: Wed Jan 13, 2021 1:54 pm
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 1959 times

Re: Bullseye build script

Posted: Wed Jan 13, 2021 2:32 pm
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


Re: Bullseye build script

Posted: Wed Jan 13, 2021 5:18 pm
by Kennel Dweller

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


Re: Bullseye build script

Posted: Thu Jan 14, 2021 12:38 am
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
}


Re: Bullseye build script

Posted: Thu Jan 14, 2021 10:57 am
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


Re: Bullseye build script

Posted: Thu Jan 14, 2021 1:02 pm
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?


Re: Bullseye build script

Posted: Thu Jan 14, 2021 6:08 pm
by Duprate

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


Re: Bullseye build script

Posted: Thu Jan 14, 2021 8:50 pm
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).


Re: Bullseye build script

Posted: Thu Jan 14, 2021 9:07 pm
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?


Re: Bullseye build script

Posted: Thu Jan 14, 2021 9:53 pm
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!


Re: Bullseye build script

Posted: Fri Jan 15, 2021 12:57 pm
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