Create Debian 9 (Stretch) minimal ISO similar to DebianDog

A home for all kinds of Puppy related projects
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

Update mklive-stretch

#451 Post by fredx181 »

*** Update mklive-stretch ***

Added choice of Desktop Environment, it's for GUI only, when run without specifying a config file:

Code: Select all

./mklive-stretch -gui
Image

It works by downloading a config file from here:
https://debiandog.github.io/MakeLive/configs
And before creating the ISO it will download corresponding module(s) from here:
https://debiandog.github.io/MakeLive/modules
and will be added to isodata/live folder

All will autologin and autostart X without need to install a login manager, e.g. slim
The DE-configuration, in most cases added as extra module zz_......squashfs, are mostly very simple, I might extend these a liitle more, basically it works now, which was my goal.

Download:
mklive-stretch script

Screenshots here:
https://debiandog.github.io/MakeLive/screenshots

@peebee
I added your LxDD concept as one of the options, tell me if you don't agree, or to make changes
And thanks! Adding .squashfs modules, like you did, seems to be a good way to add stuff.

Fred

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

Re: Update mklive-stretch

#452 Post by belham2 »

fredx181 wrote:*** Update mklive-stretch ***

Added choice of Desktop Environment, it's for GUI only, when run without specifying a config file:

Code: Select all

./mklive-stretch -gui
Image

It works by downloading a config file from here:
https://debiandog.github.io/MakeLive/configs
And before creating the ISO it will download corresponding module(s) from here:
https://debiandog.github.io/MakeLive/modules
and will be added to isodata/live folder

All will autologin and autostart X without need to install a login manager, e.g. slim
The DE-configuration, in most cases added as extra module zz_......squashfs, are mostly very simple, I might extend these a liitle more, basically it works now, which was my goal.

Download:
mklive-stretch script

Screenshots here:
https://debiandog.github.io/MakeLive/screenshots

@peebee
I added your LxDD concept as one of the options, tell me if you don't agree, or to make changes
And thanks! Adding .squashfs modules, like you did, seems to be a good way to add stuff.

Fred
Hi Fred,

Hey, the popup 'desktop environment' box is really nice!!

Was just wondering, could the following be added to the new popup de gui? Don't know if ya remember, but I did a long while back in the beginning: FVWM-Crystal. Really think people would like it (fvwm-crystal) if they would give it a chance. It's unique in how it uses left & right mouse-clicks, plus its DE customization is something, along with its wonderful ability to run "nested DEs" inside the fvwm-crystal DE that you're in (example: you can run 2, 3 or 4 nested DEs inside the one you are in, without having to logout-login crap & having only 1 DE at a time for use). It is something special. Is this possible, or not, since it seems things are moving to this downloading of modules too?? Anyway, here is the post about fvwm-crystal I did:

http://www.murga-linux.com/puppy/viewto ... &start=195


P.S. Also, is adding a "Budgie DE" build button/icon choice a possibility? I got it working/built too :wink:

User avatar
festus
Posts: 235
Joined: Wed 14 Jan 2015, 19:10

packages needed for ??

#453 Post by festus »

Hey, all

I'm preparing my list for a new run of the script and need some help with selecting them.

What additional packages need to be added, if any, not including a burning app like pburn, for: CD/DVD detection and to be able to burn and work with mp3/ogg, etc?

And, a working Battery-Monitor, that sits in the taskbar?

Also, is there any way to include " simple_network_setup" (sns)?

Thanks for any input,

festus

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#454 Post by fredx181 »

Belham wrote:Was just wondering, could the following be added to the new popup de gui? Don't know if ya remember, but I did a long while back in the beginning: FVWM-Crystal. Really think people would like it (fvwm-crystal) if they would give it a chance. It's unique in how it uses left & right mouse-clicks, plus its DE customization is something, along with its wonderful ability to run "nested DEs" inside the fvwm-crystal DE that you're in (example: you can run 2, 3 or 4 nested DEs inside the one you are in, without having to logout-login crap & having only 1 DE at a time for use). It is something special. Is this possible, or not, since it seems things are moving to this downloading of modules too?? Anyway, here is the post about fvwm-crystal I did:

http://www.murga-linux.com/puppy/viewto ... &start=195


P.S. Also, is adding a "Budgie DE" build button/icon choice a possibility? I got it working/built too Wink
Thanks. Yes, now almost anything is possible with the combination of custom .conf files and the adding of extra .squashfs modules. I will have look at fvwm-crystal in the next days, any know-how you can share, e.g. nice custom configuration ?
Or if you like to make .squashfs with your special configuration inside would be nice also.

Fred

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#455 Post by backi »

Hi Fred .......everyone !
Tested your new Makelive-Stretch-gui .
Choosed JWM Desktop very light on the Ram /System ....
Uses 61 Megb Ram idle ......
Makelive-Stretch-gui makes creating a minimal Debian 9 (Stretch) Iso so easy as drinking a cup of tea.
Thanks for all your (and of course anybody elses ) hard efforts .
Nice to see such a sophisticated Project growing more and more.

Just want to throw in a small proposal .....
Maybe you should include "ntfs-3g" into base Install script ......makes NTFS Partition writable by default .

Keep on rocking :)
Last edited by backi on Sat 26 Aug 2017, 17:25, edited 1 time in total.

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#456 Post by belham2 »

fredx181 wrote:
Thanks. Yes, now almost anything is possible with the combination of custom .conf files and the adding of extra .squashfs modules. I will have look at fvwm-crystal in the next days, any know-how you can share, e.g. nice custom configuration ?
Or if you like to make .squashfs with your special configuration inside would be nice also.

Fred
It figures I didn't save my configuration for a few of those builds I did in the beginning. I was saving eveything in a plain .txt file, but the fvwm-crystal I didn't because I didn't think it was ppssible the 1st attempt would be successful--and of course it was, lol :roll: . So...I'm still using it...I am sure I used your in-the-beginning default build specs all around (plus all of your scripts I like :wink: ). Then I just made sure to remove all the "lx-" references and also openbox. I think the only thing I added, if I recall correctly, was just "fvwm-crystal" and then the script built everything great. Of course, I still have the "Failure to Login" thing happen, where it falls back to the SLIM and then I hit "F1", and enter the root passwd I had made during the build...but then everything loads up great. I've been too lazy to fix this login thing.....lol.

Other than that, there's nothing I've added. I'm still experimenting with it. Almost daily I find something new about it, so it takes some getting used to. That right-clicking (instead of left-clicking) to directly open a tray program, whereas left-clicking the same icon causes a dropdown menu to appear, still causes me a few moments of crossing-my-eyes, lol. But dam# it's fast for accessing stuff once you get the hang of it. Anyway, thanks again for contiually improving the script.....like Backi said, building something now is just great. This thing deserves to be mentioned in Distrowatch....hope labbe5 has some luck in getting a response from them about it (I think he had contacted them about it :D ). If it happens, it's well-deserved, Fred! To me, your mklive-build script (and Wiak now also trying to do it for the woof-CE process) is the most exciting thing to happen in Puppyland in a few years in demystifying building an OS and making it possible/accessible for all.

jd7654
Posts: 296
Joined: Mon 06 Apr 2015, 16:10

Re: Update mklive-stretch

#457 Post by jd7654 »

fredx181 wrote:*** Update mklive-stretch ***

Added choice of Desktop Environment, it's for GUI only, when run without specifying a config file:

Code: Select all

./mklive-stretch -gui
Image
Oooh....DE selection, the gui is coming along very nicely. Thanks Fred.

One note for the Mate build:
When I made mine, I wanted it even more clean, without PCManFM. So I removed base Dog apps:
edit-sfs-pcmanfm filemnt-pcmanfm
Which was causing PCManFM to be installed also, only intending to use native Caja FM.
But was missing the filemnt for ISO file mounting.
So I manually added /usr/local/bin/filemnt in the chroot but changed line 203 to caja instead of pcmanfm. It works, although there was an error.
Is there (or could there be) a filemnt-caja package like there is for xfce with filemnt-thunar?
Also, I removed leafpad and replaced with pluma, to be more Mate pure.

And since you now have sfs modules incorporated into build script, maybe this might be a good time to break out the browser as a module, since that is such a personal thing?
The default firefox-esr=24.8.0esr-1~deb8u2 is nice and light, but not compatible with many new websites.
I was making many browser sfs modules so I could easily mix and match after the fact, such as firefox-esr (current 52.3), chromium, midori, netsurf, etc.
You could add a browser folder wth those browser modules on the github repo, and a field for browser module selection.

Anyway, great improvements on the DebLive script.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#458 Post by rockedge »

I can not start ./mklive-stretch -gui!
I have these errors when attempting to run the script on tahr 6.0.6

Code: Select all

Unable parse command line: Unknown option --borders=6
Unable parse command line: Unknown option --borders=4
any insight as to what I am doing wrong? Is yad broken in tahr 6.0.6?

UPDATE turns out yad was broken. I upgraded to version 0.25.1 with
yad_0.25.1-1~getdeb1_i386.deb. and now mklive-stretch --gui started.

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

Re: Update mklive-stretch

#459 Post by dancytron »

jd7654 wrote: /snip/

And since you now have sfs modules incorporated into build script, maybe this might be a good time to break out the browser as a module, since that is such a personal thing?
The default firefox-esr=24.8.0esr-1~deb8u2 is nice and light, but not compatible with many new websites.
I was making many browser sfs modules so I could easily mix and match after the fact, such as firefox-esr (current 52.3), chromium, midori, netsurf, etc.
You could add a browser folder wth those browser modules on the github repo, and a field for browser module selection.

Anyway, great improvements on the DebLive script.
Everything is a trade off, but the tradeoff with putting the browser in a .squashfs file is that you don't have apt-get taking care of upgrading it anymore. You are either stuck with the version that you start with or have to use apt2sfs to create another one every so often.

If you have Fred prebuild them, then you'll have everyone screaming at him to upgrade them every time the internet goes bezerk with the newest super dangerous browser vulnerability that is going to end the world as we know it and email your browser history to your mother-in-law :wink: .

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#460 Post by rcrsn51 »

YASSM v4.1 is posted here. It parallels development of the Puppy version.

jd7654
Posts: 296
Joined: Mon 06 Apr 2015, 16:10

Re: Update mklive-stretch

#461 Post by jd7654 »

dancytron wrote:Everything is a trade off, but the tradeoff with putting the browser in a .squashfs file is that you don't have apt-get taking care of upgrading it anymore. You are either stuck with the version that you start with or have to use apt2sfs to create another one every so often.
...
Yeah, that's all true. I guess mainly what I was meaning (but didn't write explicitly) was to take the firefox 24 out of the default base sfs, and the user can choose browser, or an available sfs, or no browser at all, and then apt-get a browser afterwards, or roll their own browser module with apt2sfs. Just thinking the firefox 24 becomes dead weight, and size savings is always a consideration with lightweight distros, otherwise might as well just do the full Debian distro. Maybe if a basic browser was included in base sfs then netsurf could suffice.

But this is all personal design choices, everyone has their own opinion. I just gave mine.

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

Re: Update mklive-stretch

#462 Post by dancytron »

jd7654 wrote:
dancytron wrote:Everything is a trade off, but the tradeoff with putting the browser in a .squashfs file is that you don't have apt-get taking care of upgrading it anymore. You are either stuck with the version that you start with or have to use apt2sfs to create another one every so often.
...
Yeah, that's all true. I guess mainly what I was meaning (but didn't write explicitly) was to take the firefox 24 out of the default base sfs, and the user can choose browser, or an available sfs, or no browser at all, and then apt-get a browser afterwards, or roll their own browser module with apt2sfs. Just thinking the firefox 24 becomes dead weight, and size savings is always a consideration with lightweight distros, otherwise might as well just do the full Debian distro. Maybe if a basic browser was included in base sfs then netsurf could suffice.

But this is all personal design choices, everyone has their own opinion. I just gave mine.
Maybe put the browser in a separate field, like the desktop is, with help information for the known good choices.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#463 Post by rcrsn51 »

PeasyXorBurn v1.1 is posted here. It can now burn audio CDs.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#464 Post by rockedge »

I ran the script this time using TrinityDog and it ran successfully. Very nicely I might add. I used the --gui option and selected jvm. This will be a test platform for ZoneMinder CCTV system and some X10 devices.
I had success installing zoneminder on TrinityDog which runs very niceley.
I am looking to use the barest minimum OS to support ZM.

the build took 40-45 minutes on a dual core Dell inspiron E1505
using a 8 gig USB flash drive.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#465 Post by fredx181 »

Hi All,

Added fvwm-crystal to the Desktop choice GUI

Image

Did some hacking (configuration in extra module "zz_fvwm-crystal_config.squashfs"):
- Changed fonts to be more elegant (instead of the big bold fonts)
- Reboot and Shutdown will show the 'Save or No save' window (in case porteus-boot EXIT:/ is used)
- Will autologin and autostart X (no login manager needed, such as slim)
Without adding more packages to be installed to the fvwm-crystal list, the ISO size becomes 184 MB

New mklive-stretch:
mklive-stretch script

@belham, indeed fvwm-crystal is some 'piece of art' :), although some things don't work, e.g. font setting from menu, but found config files in /usr/share/fvwm-crystal/fvwm/preferences.

@backi Thanks, I added ntfs-3g to all configs

@jd7654, added filemnt-caja to the repos, didn't test though, can you try it ?

About the browser choice, I like to have a reasonable working browser to be standard in the build, the latest firefox-esr is almost twice as big as version 24, but v24 can be easily upgraded to latest version from apt-get or Synaptic
Btw, I don't understand the issue, it's easy IMO just to modify the Applications field and change "firefox-esr=24.8.0esr-1~deb8u2" to "firefox-esr" or whatever browser.

Fred
Attachments
fvwd-crystal_740x463.jpg
FVWM-Crystal, eye-candy but also powerful desktop environment
(67.39 KiB) Downloaded 838 times

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#466 Post by belham2 »

fredx181 wrote:Hi All,

Added fvwm-crystal to the Desktop choice GUI

Image

Did some hacking (configuration in extra module "zz_fvwm-crystal_config.squashfs"):
- Changed fonts to be more elegant (instead of the big bold fonts)
- Reboot and Shutdown will show the 'Save or No save' window (in case porteus-boot EXIT:/ is used)
- Will autologin and autostart X (no login manager needed, such as slim)
Without adding more packages to be installed to the fvwm-crystal list, the ISO size becomes 184 MB

New mklive-stretch:
mklive-stretch script

@belham, indeed fvwm-crystal is some 'piece of art' :), although some things don't work, e.g. font setting from menu, but found config files in /usr/share/fvwm-crystal/fvwm/preferences.

@backi Thanks, I added ntfs-3g to all configs

@jd7654, added filemnt-caja to the repos, didn't test though, can you try it ?

About the browser choice, I like to have a reasonable working browser to be standard in the build, the latest firefox-esr is almost twice as big as version 24, but v24 can be easily upgraded to latest version from apt-get or Synaptic
Btw, I don't understand the issue, it's easy IMO just to modify the Applications field and change "firefox-esr=24.8.0esr-1~deb8u2" to "firefox-esr" or whatever browser.

Fred

Thank you, Fred!
:D

Hope others give it a whirl, giving it some time to grow on them, and see what they think!

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#467 Post by fredx181 »

You are welcome Belham !!

Maybe someday, someone makes a full featured "CrystalDog" , who knows... :wink:

@ALL Added firmware .squashfs module:
https://debiandog.github.io/MakeLive/mo ... e.squashfs

Fred

roadkill13
Posts: 154
Joined: Wed 10 Aug 2011, 21:41
Location: United States
Contact:

#468 Post by roadkill13 »

root# ./mklive-stretch -gui
Checking network connection...
OK
Unable parse command line: Unknown option --borders=6
Unable parse command line: Unknown option --borders=4
Script fails on initialization with this message.

OOPS I see my mistake!

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#469 Post by dancytron »

dancytron wrote:Is there a specific package that has to be included for lz4 to work on the Quick Remaster? Or is it just not supported yet.

I did a quick remaster using lz4 and it seemed to do what it was supposed to, but when I rebooted, I got the errors in the screenshot I've attached. It worked fine when I redid it with gzip and I've used xz in the past and that's worked too.

I saved the bad 01-filesystem.squashfs if there is something you'd like me to check.

Luckily someone had the great idea to include emergency backups as a part of the quick remaster program. :D :D
I am still seeing this issue. http://murga-linux.com/puppy/viewtopic. ... 101#965101

It only happens with 64 bit builds, 32 bit works fine.

I cannot mount the 01-filesystem.squashfs file on my 64 bit Stretch builds, but it will mount on my 64 bit Jessie remaster. But, editsfs seems to open it up and redo it, but it still won't mount or work on 64 bit Stretch.

If I create a LZ4 *.squashfs file with apt2sfs, it won't mount on my 64 bit build either and doesn't appear to load correctly from right click.

Could you please try to reproduce this?

Dan

jd7654
Posts: 296
Joined: Mon 06 Apr 2015, 16:10

#470 Post by jd7654 »

fredx181 wrote:@jd7654, added filemnt-caja to the repos, didn't test though, can you try it ?
Tried filemnt-caja in Mate build, mount works OK, unmount works, but has same error dialog I saw before. (can't copy text, see attach)

Other interesting problem, I was using Frisbee in Mate build before for WiFi, and with new config there is a failure with key/password, an immediate error popup:
Invalid Key or Password

I know it worked before, only thing different is zz_mate_config.squashfs in new build. I disabled zz_mate_config and then Frisbee connected OK. Don't see anything in there that would/should cause that. Will check some more.
Attachments
Screenshot at 2017-08-27 20-50-49.png
(22.56 KiB) Downloaded 791 times

Post Reply