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 Sun 16 Dec 2018, 09:23
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 67 of 95 [1420 Posts]   Goto page: Previous 1, 2, 3, ..., 65, 66, 67, 68, 69, ..., 93, 94, 95 Next
Author Message
step

Joined: 04 May 2012
Posts: 1120

PostPosted: Thu 01 Feb 2018, 16:25    Post subject:  

Thank you, Fred, it's working now. I didn't need to install perl because it's included in the devx, which I keep loaded. Also, dpkg is linked to busybox by default. However, I followed your advice and installed the full dpkg from the repo. I added a few lines for Fatdog after the opening comments:
Code:

if [ -e /etc/fatdog-version ]; then
slapt-get -i dpkg xorriso &&
  installpkg debootstrap-1.0.93-all-DEB.txz isolinux-6.03+dfsg-14.1+deb9u1-all-DEB.txz ||
  exit 1
fi
export TERM=xterm # benefits all Puppies



The two *-DEB.txz files can be obtained by downloading the .deb packages that you and I linked above, and converting them with the Fatdog64 right-click menu entry.

Setting TERM avoids a fatal error in deebootstrap when the current TERM value is not in the database of known terminal types.

edit: I assembled quite a few Dogs quickly and easily. Thank you for this Factory!

_________________
Fatdog64-800|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
Lassar

Joined: 08 Jul 2014
Posts: 222

PostPosted: Sat 03 Feb 2018, 14:48    Post subject:  

This debian stretch looks like it might be useful to
create a very minimal os.

I have played around with dcore, and it seems that
xorg is very bulkly and installs a lot of dependencies.

What is the best way to install a minimal xserver?
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1163

PostPosted: Sat 03 Feb 2018, 15:09    Post subject:  

Lassar wrote:
This debian stretch looks like it might be useful to
create a very minimal os.

I have played around with dcore, and it seems that
xorg is very bulkly and installs a lot of dependencies.

What is the best way to install a minimal xserver?


Probably start out with one of the ./mklive-stretch -gui and choose either the openbox (1st choice) or jwm (3nd choice). Those are both pretty minimal, but you can look at the packages and probably delete a few. When you run it, it will generate a build-setup.conf file you can modify and run it again.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 04 Feb 2018, 07:50    Post subject:  

My-squash-loader v1.2 posted above.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 04 Feb 2018, 10:13    Post subject:  

Here is an update to PeasyScan. See the discussion here about using compression with PDF scans.
peasyscan_2.13_i386.deb.gz
Description 
gz

 Download 
Filename  peasyscan_2.13_i386.deb.gz 
Filesize  49.03 KB 
Downloaded  87 Time(s) 
peasyscan_2.13_amd64.deb.gz
Description 
gz

 Download 
Filename  peasyscan_2.13_amd64.deb.gz 
Filesize  50.03 KB 
Downloaded  80 Time(s) 
Back to top
View user's profile Send private message 
Lassar

Joined: 08 Jul 2014
Posts: 222

PostPosted: Sun 04 Feb 2018, 13:58    Post subject: Failed to make iso  

I get this error.

"./mklive-stretch: line 1115: xorriso: command not found
FAILED"

It said that the iso should have been made.

I checked the "'/initrd/mnt/dev_save/Debian/stretch/chroot/usr/bin" and xorriso is in this
directory.

Why could it not find xorriso?

It looks like every thing is there. Could I use iso master to create the iso?

It looks to me that: "apt-get install " would make a linux system way too bulky.

I changed "apt-get install" to "apt-get install --no-install-recommends" in the script.

This shouldn't make a difference should it?
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1163

PostPosted: Sun 04 Feb 2018, 14:13    Post subject:  

It is already no recommends. If you look around line 673 you'll see.

Quote:
# Setup install without install recommends
echo "APT::Install-Recommends "false"; APT::Install-Suggests "false";" > /etc/apt/apt.conf
sleep 1


Just guessing, but I think it closes the chroot and creates the ISO with the underlying operating system. So it isn't the chroot that is missing xorriso, but whatever you used to run the script.

I haven't created an ISO with ISO master, but I use it for frugal installs. I don't see why it wouldn't work, but I'd try installing xorriso and then run the script first.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3588
Location: holland

PostPosted: Sun 04 Feb 2018, 15:24    Post subject:  

Hi Lassar,

Indeed as Dan says, xorriso needs to be installed on the host system, on which distro are you running mklive-stretch ?
Also "isolinux" needs to be installed on host system for creating ISO.
See also above for how step did it on Fatdog, I guess it can be done on any Puppy, install xorriso from PPM and/or isolinux from deb:
http://ftp.de.debian.org/debian/pool/main/s/syslinux/isolinux_6.03+dfsg-14.1+deb9u1_all.deb

Fred

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


Joined: 11 Dec 2013
Posts: 3588
Location: holland

PostPosted: Sun 04 Feb 2018, 18:04    Post subject:  

rcrsn51 wrote:
My-squash-loader v1.2 posted above.
...
Here is an update to PeasyScan.


Thanks again, added to repo.
Btw, I did some more tests loading squashfs modules booting with systemd and without, systemd gave me problems with some modules, e.g. sometimes crashing X, crashing Thunar (when unloading) or the module failed to unload, no such problems when booting with sysvinit (default for Stretch-live and Stretchdog).
Did you experience such problems ? (I assume you tested more frequent lately?)

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 04 Feb 2018, 19:25    Post subject:  

All of my testing is WITHOUT systemd and I have seen no problems.

Is there a difference if you run loadmodule from the command line as opposed to inside the script?

Do these modules work if you auto-load them at bootup?
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3588
Location: holland

PostPosted: Mon 05 Feb 2018, 08:23    Post subject:  

rcrsn51 wrote:
All of my testing is WITHOUT systemd and I have seen no problems.

Is there a difference if you run loadmodule from the command line as opposed to inside the script?

Do these modules work if you auto-load them at bootup?


Yes, I thought already you tested without systemd and good to know that you didn't have any problems.
I should have been more clear in my previous post, it's not that modules don't work, the problem for me happens only sometimes and only in case of unloading a squashfs module (and only with systemd-boot, can't figure out why yet, I can only recommend to not using systemd-boot when doing a lot of .squashfs loading).
Running loadmodule from commandline makes no difference.

@all,
Here's another squashfs-load program "yad_squashloader", inspired by the idea of rcrsn51's my-squashloader (load squashfs's from given directory) and my interest in the (very nice Smile) possibilities of yad --notification tray icon, see also here what stemsee is doing with it:
http://murga-linux.com/puppy/viewtopic.php?p=981568#981568

It has in fact the same functionality as rcrsn51's program with the differences that it's based on yad and loading (or unloading) squashfs modules can be done from right-click (on tray-icon) menu (showing status "Loaded" or not)
Extract (NOT a fake .gz) in ~/Startup to run at login or just extract somewhere and click on the script.
Left-click on tray-icon or right-click > "Help" will show usage info.

EDIT: Updated yad_squashloader, added "no-overwrite mode" option to the menu.
EDIT2: Sorry, uploaded attachment again few hours later, "Refresh" didn't work properly, fixed now.
EDIT3: uploaded new attachment, fix is that if a module is mounted only (not loaded), it will not show (incorrect) as loaded anymore.
Also it gives message when trying to load already mounted module, saying it should be unmounted first.

Fred
yad_squashloader.tar.gz
Description  Updated 2018-02-10, see above EDIT3
extract and run yad_squashloader
gz

 Download 
Filename  yad_squashloader.tar.gz 
Filesize  11.94 KB 
Downloaded  79 Time(s) 
yad-squashloader.png
 Description   yad_squashloader menu
 Filesize   112 KB
 Viewed   390 Time(s)

yad-squashloader.png

yad_squashloader_status.png
 Description   yad_squashloader status tooltip
 Filesize   80.69 KB
 Viewed   414 Time(s)

yad_squashloader_status.png


_________________
Dog Linux website

Last edited by fredx181 on Sat 10 Feb 2018, 13:24; edited 6 times in total
Back to top
View user's profile Send private message 
Lassar

Joined: 08 Jul 2014
Posts: 222

PostPosted: Mon 05 Feb 2018, 09:18    Post subject: Puppy beats debian stretch.  

Even with Debian Stretch minimal install, puppy still beats debian stretch in it's minimal size.

Doesn't all the files get stripped, before a puppy is created?

The script needs to modified, so the files are stripped, before creating the iso.
Back to top
View user's profile Send private message 
backi

Joined: 27 Feb 2011
Posts: 1575
Location: GERMANY

PostPosted: Mon 05 Feb 2018, 09:58    Post subject:  

Hi fred !

Quote:
Btw, I did some more tests loading squashfs modules booting with systemd and without, systemd gave me problems with some modules, e.g. sometimes crashing X, crashing Thunar (when unloading) or the module failed to unload, no such problems when booting with sysvinit (default for Stretch-live and Stretchdog).
Did you experience such problems ?


Did experience this in Xenial Dog too ( because of systemd ? ) .......quite annoying .
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3588
Location: holland

PostPosted: Mon 05 Feb 2018, 13:06    Post subject:  

Hi backi,

Yes, it could well be because of systemd, what sort of problems did you have ? (e.g.crashes or failed to unload or...)
Don't know if you tried the "safe mode" option (=no-overwriting of existing files in the base filesystem), that could help maybe.

P.S. Updated yad_squashloader above, added "no-overwrite mode" option to the menu.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1163

PostPosted: Mon 05 Feb 2018, 14:08    Post subject: Re: Puppy beats debian stretch.  

Lassar wrote:
Even with Debian Stretch minimal install, puppy still beats debian stretch in it's minimal size.

Doesn't all the files get stripped, before a puppy is created?

The script needs to modified, so the files are stripped, before creating the iso.


It isn't trying to be Puppy.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 67 of 95 [1420 Posts]   Goto page: Previous 1, 2, 3, ..., 65, 66, 67, 68, 69, ..., 93, 94, 95 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.0831s ][ Queries: 12 (0.0198s) ][ GZIP on ]