Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 18 Jan 2020, 10:26
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Create Debian 9 (Stretch) minimal ISO similar to DebianDog
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 85 of 103 [1533 Posts]   Goto page: Previous 1, 2, 3, ..., 83, 84, 85, 86, 87, ..., 101, 102, 103 Next
Author Message
fredx181


Joined: 11 Dec 2013
Posts: 4249
Location: holland

PostPosted: Wed 05 Sep 2018, 10:09    Post subject:  

johnywhy wrote:
i ran the dpkg command in another window as soon as i saw the message. But does the dpkg alert indicate this iso is already borked?


Should be OK if the build finished for the rest without errors (required packages for running mklive-stretch probably already installed).
Did that dpkg command you ran "do" or indicate something ?

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 882

PostPosted: Wed 05 Sep 2018, 10:23    Post subject:  

fredx181 wrote:

Should be OK if the build finished for the rest without errors (required packages for running mklive-stretch probably already installed).
Did that dpkg command you ran "do" or indicate something ?


Seems good! Booted fine.
i don't recall what happened when i ran dpkg, sorry!

I noticed some StretchDogs ask if you want to save the session before leaving xfce-- some give you a DOS-style dialog-box after leaving xfce4. And some don't ask, they just do it.

i prefer the type that does it without asking, and before leaving xfce.

THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4249
Location: holland

PostPosted: Wed 05 Sep 2018, 11:32    Post subject:  

johnywhy wrote:
Seems good! Booted fine.


Ah, great !

Quote:
I noticed some StretchDogs ask if you want to save the session before leaving xfce-- some give you a DOS-style dialog-box after leaving xfce4. And some don't ask, they just do it.

i prefer the type that does it without asking, and before leaving xfce.


That depends on how the option "changes=" is configured in menu.lst or syslinux.conf
Adding "EXIT:" will result in "save only on exit" and you'll be asked to save or not, e.g.:
Code:
changes=EXIT:/........

So you want without the EXIT:
Code:
changes=/.........


EDIT: Oh, and booting with "live-boot" will not ask for save or not, it has different options though. (and save to folder not supported, only savefile or partition)
More info here: (live-boot 2 doesn't apply for StretchDog)
https://github.com/DebianDog/Jessie/wiki/Boot-methods

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 882

PostPosted: Wed 05 Sep 2018, 15:30    Post subject:  

fredx181 wrote:
booting with "live-boot" will not ask for save or not, it has different options though. (and save to folder not supported, only savefile or partition)


then i'm guessing that if my grub boots from iso file (instead of loose files), then i'll get the live-CD behavior, right?

i haven't tried that with DD yet, but here's my Porteus iso-boot:

Code:
# Porteus-32
     set p32fldr=/porteus32
     set p32iso=$p32fldr/Porteus-XFCE-v4.0-i586.iso
     set p32mods="extramod="
menuentry "Porteus 4.0-32 ISO"   {
     set boot_parms="volume=33 reboot=cold $p32mods$p32fldr/modules copy2ram changes=EXIT:$p32fldr/porteussave.dat"
     search -f $p32iso --set=root
     loopback loop $p32iso
     linux  (loop)/boot/syslinux/vmlinuz from=$p32iso $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }


THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4249
Location: holland

PostPosted: Wed 05 Sep 2018, 15:51    Post subject:  

You may want to try Isobooter for Stretch by rcrsn51:

http://murga-linux.com/puppy/viewtopic.php?p=964028#964028

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 882

PostPosted: Wed 05 Sep 2018, 15:57    Post subject:  

fredx181 wrote:
You may want to try Isobooter

How's that different than my manual method?

THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
AndresC2

Joined: 08 Jul 2017
Posts: 76

PostPosted: Thu 06 Sep 2018, 01:45    Post subject:  

Smile Hi Fred !

jwm-obmenu is cool in debian stretch then i compiled with:
SVG support

https://bitbucket.org/geekless/openbox-menu/

Openbox can displays SVG icons since version 3.5.1. SVG support in openbox-menu has to be activated in Makefile by decommenting the following line
CFLAGS+=-DWITH_SVG

Now jwm-app-menu support svg icons

md5 6e4ffc1375b17b9c0eaa75b68d42e170 geek-openbox-menu.xz.tar

Geek-openbox-menu is a xz.tar file remove .gz

thanks!!!
geek-openbox-menu.xz.tar.gz
Description  Geek-openbox-menu is a xz.tar file remove .gz
gz

 Download 
Filename  geek-openbox-menu.xz.tar.gz 
Filesize  14.55 KB 
Downloaded  43 Time(s) 
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4249
Location: holland

PostPosted: Thu 06 Sep 2018, 05:21    Post subject:  

Hi johnywhy, AndresC2

Quote:
fredx181 wrote:
You may want to try Isobooter

How's that different than my manual method?


The structure of Porteus ISO is very much different, so your example won't work.

Continuing from here:
http://murga-linux.com/puppy/viewtopic.php?p=1003900#1003900
Quote:
fredx181 wrote:
32-bit ISO:
https://dl.dropboxusercontent.com/s/0gqmpjs6o6wy71v/DebLive_Stretch-xfce4-i386.iso?dl=1 Size 160MB


OK for me to post here about XFCE starter kit, it's different from rcrsn51's starter kit, so could lead to confusion.

Quote:
Some issues:

can't get xarchiver to work.
Quote:
Failed to execute child process "unzip" (No such file or directory)


Yes, it's very minimal (maybe too minimal) so you need to install what you need from Synaptic e.g. unzip, zip.
There's also "unzipper" from rcrsn51


Quote:
numlock lost on reboot

getting intermiittent blank dialogs, eg the "save changes" dialog on closing mousepad, and adding bookmarks to Opera.


Sorry, don't know about numlock and the blank dialogs I've never seen.

@AndresC2
Quote:
Smile Hi Fred !
jwm-obmenu is cool in debian stretch then i compiled with:
SVG support

https://bitbucket.org/geekless/openbox-menu/


Thanks Andres!, I will check it out.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 882

PostPosted: Thu 06 Sep 2018, 13:32    Post subject:  

About your iso: turns out the blank diags were caused by xfce Dusk theme. Too bad, i like dark. i know, i know, make my own theme Very Happy

-----

About mklive-stretch:

- now trying to get numlock to stick on my own iso, made with mklive-stretch. I noticed numlock is on at the beginning of boot, and then something in the middle of the boot sequence turns it off!

-----

fredx181 wrote:
It's complete XFCE, AFAIK

settings and other buttons next to shutdown button are not enabled



-----

fredx181 wrote:
Stretch-Live has systemd installed, but boots by default without it, so there's choice to use it or not. For those who are absolutely anti systemd see:
Create Devuan ascii minimal live ISO similar to 'DebianDog'


Confused:
- If mklive-stretch iso boots without systemd by default, then why do i need this Devuan thing?
- I notice that an iso i made with mklive-stretch systemd is running. Doesn't seem off by default.

-----

Why do we need X 'keyboard layout' app, if we have xfce keyboard tool?


THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4249
Location: holland

PostPosted: Thu 06 Sep 2018, 14:57    Post subject:  

Hi johnywhy,

I'll try to investigate tomorrow about the issues you mention, looks like you are right about systemd (fully enabled ? partly ?, not sure, to be honest)

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 882

PostPosted: Fri 07 Sep 2018, 06:36    Post subject:  

fredx181 wrote:
looks like you are right about systemd (fully enabled ? partly ?, not sure, to be honest)


seems i have both systemd and init running. i'm ignorant about this, but i think it should be one or the other.
https://www.tecmint.com/systemd-replaces-init-in-linux/

a user over on Debian forum said they do not have init in their processes.
http://forums.debian.net/viewtopic.php?p=680500#p680500

THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4249
Location: holland

PostPosted: Fri 07 Sep 2018, 08:55    Post subject:  

@johnywhy
My conclusion from some investigating is that stretch-live or Stretchdog is booting without systemd by default:
Booted with systemd (force by adding init=/bin/systemd to kernel command line):
Code:
root@live:~# cat /proc/cmdline
from=/slive noauto changes=EXIT:/slive/live init=/bin/systemd
root@live:~# systemctl list-units --type=service --state=active
UNIT                             LOAD   ACTIVE SUB     DESCRIPTION             
acpid.service                    loaded active running ACPI event daemon       
alsa-restore.service             loaded active exited  Save/Restore Sound Card S
cgmanager.service                loaded active running Cgroup management daemon
console-setup.service            loaded active exited  Set console font and keym
cpufrequtils.service             loaded active exited  LSB: set CPUFreq kernel p
dbus.service                     loaded active running D-Bus System Message Bus
........
........

etc....(large list)
During boot I noticed all sorts of messages related to systemd

Boot without systemd (default):
Code:
root@live:~# cat /proc/cmdline
from=/slive noauto changes=EXIT:/slive/live
root@live:~# systemctl list-units --type=service --state=active
Failed to list units: No such method 'ListUnitsFiltered'
root@live:~# pidof systemd
root@live:~#
root@live:~# pidof init
1
root@live:~#


Install "systemd-sysv" to make systemd the default:
Code:
apt-get install systemd-sysv


EDIT: Lots of methods can be found on the web to find out if booted with systemd or not.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4249
Location: holland

PostPosted: Fri 07 Sep 2018, 09:49    Post subject:  

johnywhy wrote:
fredx181 wrote:
It's complete XFCE, AFAIK

settings and other buttons next to shutdown button are not enabled


Looking at the screenshot you show, this is build with mklive-stretch using XFCE option, right ?
Strange. For me it looks different (built with mklive-stretch using XFCE option), see pic below.
You said you made a frugal install, do you have "zz_xfce_config.squashfs" inside "live" folder ? (it should be there if all went well)

Fred
whisker_menu.png
 Description   
 Filesize   135.61 KB
 Viewed   257 Time(s)

whisker_menu.png


_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 882

PostPosted: Fri 07 Sep 2018, 15:15    Post subject:  

fredx181 wrote:
During boot I noticed all sorts of messages related to systemd

how to grab those messages? Smile

Quote:
Code:
apt-get install systemd-sysv

Why are you sharing the install command?

Quote:
find out if booted with systemd or not.

i get:
Code:
# pstree -p
init(1)─┬─cgmanager(2062)
        ├─dbus-daemon(2253)
.....
        ├─run-parts(2621)───freechk(2622)───sleep(16855)
        ├─systemd-logind(2184)
        ├─systemd-udevd(1123)
        ├─udhcpc(2872)
...

It looks like init is my main thread, and systemd stuff was launched by init. That shouldn't happen, right?


Here's my grub:

Code:
menuentry "MyStretchNetinst1" {
    search -f /MyStretchNetinst1/live/vmlinuz1 --set=root
    linux /MyStretchNetinst1/live/vmlinuz1 from=/MyStretchNetinst1 noauto changes=EXIT:/MyStretchNetinst1/live/changes.dat
    initrd /MyStretchNetinst1/live/initrd1.xz}


fredx181 wrote:
this is build with mklive-stretch using XFCE option, right ?

Yes


Quote:
do you have "zz_xfce_config.squashfs" inside "live" folder ?

Yes.
Code:
root@live:/mnt/live/mnt/sda1/MyStretchNetinst1/live# ls -l
total 2274445
-rwxrwxrwx 1 root root  169701376 Sep  5 06:11 01-filesystem.squashfs
drwxrwxrwx 1 root root          0 Sep  5 06:14 base
-rwxrwxrwx 1 root root 1572864000 Sep  7 10:12 changes.dat
-rwxrwxrwx 1 root root  221638536 Sep  6 13:46 changes.dat-3.gz
-rwxrwxrwx 1 root root  330137953 Sep  6 22:29 changes.dat-4.tar.gz
-rwxrwxrwx 1 root root   12950360 Sep  5 06:08 initrd1.xz
-rwxrwxrwx 1 root root   15891532 Sep  5 06:06 initrd.img
drwxrwxrwx 1 root root          0 Sep  5 06:14 modules
drwxrwxrwx 1 root root          0 Sep  5 06:14 optional
drwxrwxrwx 1 root root          0 Sep  5 06:14 rootcopy
-rwxrwxrwx 1 root root        437 May 26  2015 stretch-i486.sgn
-rwxrwxrwx 1 root root        437 May 26  2015 stretch-x86_64.sgn
-rwxrwxrwx 1 root root    3661600 Aug 13 19:31 vmlinuz1
-rwxrwxrwx 1 root root    2179072 Aug 16 19:09 zz_xfce_config.squashfs



Still wondering- If mklive-stretch iso boots without systemd by default, then why do we need this Devuan thing?

Quote:
Stretch-Live has systemd installed, but boots by default without it

maybe would be cool to have option during your iso script, to select init or systemd, and then don't install any systemd stuff if init is picked? Seems like you're including it so can run with or without it via a grub switch. Why needed? That seems like a "try it out" thing. My preference is to make the slimmed OS i want, without any stuff i don't want-- isn't that the point of your script? I already know if i want systemd or not.

If i want to "try it out", i'd rather make a separate iso. That way, i could compare a pure init OS to a pure systemd OS. Seems like you don't give that option.

THX

_________________
Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy

Last edited by johnywhy on Fri 07 Sep 2018, 15:59; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12911
Location: Stratford, Ontario

PostPosted: Fri 07 Sep 2018, 15:50    Post subject:  

johnywhy wrote:
Still wondering- If mklive-stretch iso boots without systemd by default, then why do we need this Devuan thing?

Even if you are not booting with systemd, some packages that you install from the Debian repo will have libsystemd (or something similar) as a dependency.

Supposedly, Devuan replaces them with non-systemd alternatives.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 85 of 103 [1533 Posts]   Goto page: Previous 1, 2, 3, ..., 83, 84, 85, 86, 87, ..., 101, 102, 103 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1129s ][ Queries: 12 (0.0472s) ][ GZIP on ]