Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

READ-ONLY-MODE: PLEASE DO NOT POST NEW STUFF!
  New Forum: http://forum.puppylinux.com
 
 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 Wed 12 Aug 2020, 12:48
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Create Debian 9 (Stretch) minimal ISO similar to DebianDog
Moderators: Flash, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 6 of 104 [1549 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 102, 103, 104 Next
Author Message
backi

Joined: 27 Feb 2011
Posts: 2007
Location: GERMANY

PostPosted: Sat 05 Aug 2017, 08:24    Post subject:  

Fred wrote :
Quote:
I did some more testing now and my conclusion so far is that the script works well only running from Stretch host with the kernel 4.9.3.

Could be the reason why it failed for me cause i did run the script in Deb-Dog-Jessie .........will try in Trinity Dog again .
Back to top
View user's profile Send private message 
belham2

Joined: 15 Aug 2016
Posts: 1743

PostPosted: Sat 05 Aug 2017, 09:24    Post subject:  

backi wrote:
Fred wrote :
Quote:
I did some more testing now and my conclusion so far is that the script works well only running from Stretch host with the kernel 4.9.3.

Could be the reason why it failed for me cause i did run the script in Deb-Dog-Jessie .........will try in Trinity Dog again .



It's nice to know I don't need my perceived "voodoo" steps anymore. Just checked and all 4 versions of DDogs I used (that were successful in building "frugal" bootable ISOs) were 2 of Stretch-Trinity-versions and 2 of the DebianDog64-Stretch versions. Now I know why some failed in the beginning----a few times at the beginning I used Trinity-Jessie (I think) and/or definitely used my old, trusty DebianDog32-Jessie. Those failed, which I attributed to how I set things up. I would have never guessed a build-script's success was related to and/or dependent upon the kernel version & which Dog was/is used. I am still scratching my head wondering why this is so.......Confused Fred must be waving his magic beads with that one.... Laughing

Oh well. Voodoo-build-steps be gone now. Is nice.
Back to top
View user's profile Send private message 
backi

Joined: 27 Feb 2011
Posts: 2007
Location: GERMANY

PostPosted: Sat 05 Aug 2017, 09:47    Post subject:  

Hi belham !

Strange things happened .
Tested make-live-script again with Trinity Stretch .........all of a sudden all those dark shadows of doubt Rolling Eyes Rolling Eyes vanished into the night.......

Works Idea Laughing
Back to top
View user's profile Send private message 
belham2

Joined: 15 Aug 2016
Posts: 1743

PostPosted: Sat 05 Aug 2017, 10:19    Post subject:  

backi wrote:
Hi belham !

Strange things happened .
Tested make-live-script again with Trinity Stretch .........all of a sudden all those dark shadows of doubt Rolling Eyes Rolling Eyes vanished into the night.......

Works Idea Laughing



Awesome, backi!!

Post us a pic after you get yours all tweaked and set (took me awhile 1st time) to your likings. First one I did, holy cow, the thing was so bare--~163mb----that it was NAKED Cool Fred spoiled us with all the other Ddogs where he includes almost everything possible and the kitchen sink, and it all works! Laughing
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4481
Location: holland

PostPosted: Sat 05 Aug 2017, 13:52    Post subject:  

backi wrote:

Tested make-live-script again with Trinity Stretch .........all of a sudden all those dark shadows of doubt Rolling Eyes Rolling Eyes vanished into the night.......

Works Idea Laughing


Very, very sorry backi, belham and all who tested on Jessie and therefore had "the dark shadows of doubt" ! Rolling Eyes
My bad, I should have tested on Jessie earlier Embarassed

Found a fix now (in fact very simple, just a one line edit), to make it work for Jessie also
To explain:
I expected that inside the chroot the "uname -r" command (output of kernel version) should give the version of the just installed kernel in the chroot.
Wrong, "uname -r" in chroot gives the host (e.g. jessie) kernel version, so therefore creating initrd.img in chroot/boot failed because of not finding the right version.

Btw, I hoped with this last fix that it would work on Xenialdog also, but it doesn't.
(fails already at the (early) debootstrap stage)

Still testing... will EDIT this post for more info and upload new version of mklive-stretch later.

Fred
Back to top
View user's profile Send private message 
AndresC2

Joined: 08 Jul 2017
Posts: 76

PostPosted: Sat 05 Aug 2017, 19:28    Post subject:  

Hello Fred! Very Happy

Debootstrap have this:

--exclude=alpha,beta

Comma separated list of packages which will be removed from download and extract lists. WARNING: you can and probably will exclude essential packages, be careful using this option.

maybe exclude "no essential apps" for build a minidog32.iso , like tinycore.

https://manpages.debian.org/stretch/debootstrap/debootstrap.8.en.html

this show me Essential and Priority Apps but I not have too much experience in linux so I dont want break the system.

#dpkg-query -Wf '${Package;-40}${Essential}\n' | grep yes
#dpkg-query -Wf '${Package;-40}${Priority}\n' | grep -E "required"

By the way your code work.Very Happy

[code]apt-get install linux-headers-$(uname -r) aufs-dkms/code]
[code]update-initramfs -t -c -k $(uname -r)[/code]
[code]union=aufs[/code]

and later:

umount /lib/live/mount/overlay
mount -t tmpfs -o "remount,size=90%" tmpfs /lib/live/mount/overlay

Just Amazing Fred!!!!!!!

Thank you so much.

this way you can install deboostrap in ram /root/debian/chroot only take care about your ram, in my case i have only 512mb ram with this code i have 450mb.

apt-get install jwm
mksquashfs overlay -ef /root/list /lib/live/mount/medium/wheezy/live/01-jwm.squashfs

the flag -ef "exclude file list"

in my list:

.wh..wh.orph
.wh..wh.plnk
.wh..wh.aufs
media
tmp
mnt

see you Fred. Very Happy
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4481
Location: holland

PostPosted: Sun 06 Aug 2017, 05:14    Post subject:  

Thanks Andres !!

Good that you can set the tmpfs size to 90% now
Btw, for info, porteus-boot style also has similar option, by just adding to the kernel boot command line e.g.:
Code:
ramsize=90%


I had a look at what's installed by debootstrap when using --variant=minbase and I really think it's minimal enough.
Sooner or later most of these package will be installed anyway as dependencies from other packages.

Best Regards,

Fred
Back to top
View user's profile Send private message 
zagreb999

Joined: 11 Apr 2014
Posts: 573
Location: Yugoslavija

PostPosted: Sun 06 Aug 2017, 05:37    Post subject: Virtual_memory  

regards

where to add-porteus fresh boot-this
ramsize=90% ?

how to increase ram memory?



https://en.m.wikipedia.org/wiki/Virtual_memory
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4481
Location: holland

PostPosted: Sun 06 Aug 2017, 06:01    Post subject:  

Hi zagreb, just at the kernel boot line e.g.

Code:
kernel /stretch/live/vmlinuz1 from=/stretch noauto ramsize=90%


If without ramsize=..., the default will be used, which is 60%

Fred
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 06 Aug 2017, 12:45    Post subject:  

See below.
Last edited by rcrsn51 on Sun 06 Aug 2017, 22:18; edited 1 time in total
Back to top
View user's profile Send private message 
zagreb999

Joined: 11 Apr 2014
Posts: 573
Location: Yugoslavija

PostPosted: Sun 06 Aug 2017, 14:57    Post subject: ramsize  

thanks fred

now i am in xenialdog 32 bit
installed with unetbootin
and i can not find where to add
ramsize

please see

default menu.c32
prompt 0
menu title UNetbootin
timeout 1



label ubnentry0
menu label XenialDog Porteus Always Fresh
kernel /casper/vmlinuz
append initrd=/casper/initrd1.xz from=/ nomagic base_only norootcopy

label ubnentry1
menu label XenialDog Porteus in RAM (no save)
kernel /casper/vmlinuz
append initrd=/casper/initrd1.xz noauto from=/ copy2ram

label ubnentry2
menu label XenialDog Porteus in RAM (save in changes=/changes.dat file)
kernel /casper/vmlinuz
append initrd=/casper/initrd1.xz noauto from=/ copy2ram changes=/changes.dat

label ubnentry3
menu label XenialDog casper-boot (no save)
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz boot=casper ignore_uuid cdrom-detect/try-usb=true showmounts union=aufs

label ubnentry4
menu label XenialDog casper-boot in RAM (no save)
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz boot=casper ignore_uuid cdrom-detect/try-usb=true showmounts union=aufs toram

label ubnentry5
menu label XenialDog casper-boot in RAM (save in casper-rw file or partition)
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz boot=casper ignore_uuid cdrom-detect/try-usb=true showmounts union=aufs toram persistent
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4481
Location: holland

PostPosted: Sun 06 Aug 2017, 16:38    Post subject:  

rcrsn51 wrote:
Here is a simple ISO/SFS file mounter of Stretch Live. Remove the fake .gz extension


Added to the Stretchdog 32 and 64 bit repositories, thanks!

@zagreb999

Like this for example:
Code:
label ubnentry0
menu label XenialDog Porteus Always Fresh
kernel /casper/vmlinuz
append initrd=/casper/initrd1.xz from=/ nomagic base_only norootcopy ramsize=90%


What this does is: increase the amount of space in tmpfs directory (/mnt/live/memory/changes) where the changes are written to (in RAM)
Can be useful e.g. if you want to install a lot programs in one session specially if you have small RAM (like Andres: 512 MB) to not run out of space very quickly.
Running in RAM you are when using Always Fresh, or when using the EXIT: parameter. (porteus-boot)
Setting to 90% makes not much sense if you have lots of RAM, e.g. 4 GB.

Fred

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


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

PostPosted: Sun 06 Aug 2017, 22:20    Post subject:  

Here is PeasyMount v1.1. It has a .desktop file, so it's easier to do the ISO/SFS file associations.

Remove the fake .gz extension.
peasymount_1.1.deb.gz
Description 
gz

 Download 
Filename  peasymount_1.1.deb.gz 
Filesize  3.39 KB 
Downloaded  77 Time(s) 
Back to top
View user's profile Send private message 
anikin

Joined: 10 May 2012
Posts: 1020

PostPosted: Mon 07 Aug 2017, 11:32    Post subject: peasymount  

Modified it a little bit: 1) added xzm (Porteus module extention) 2) replaced pcmanfm with rox and ran a quick test on Devuan Jessie. No issues so far. I noticed you don't put the Depends: line in the control file. Maybe it's worth adding at least <Depends: libc6> to make it shine and be more standards compliant? Just a thought. I love your apps.
peasymount01.jpeg
 Description   
 Filesize   9.88 KB
 Viewed   470 Time(s)

peasymount01.jpeg

peasymount02.jpeg
 Description   
 Filesize   23.27 KB
 Viewed   466 Time(s)

peasymount02.jpeg

peasymount03.jpeg
 Description   
 Filesize   31.69 KB
 Viewed   466 Time(s)

peasymount03.jpeg

Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4481
Location: holland

PostPosted: Mon 07 Aug 2017, 12:54    Post subject:  

Updated 2017-08-07 mklive-stretch

mklive-stretch script (right-click > Save link as)

See here for updates and fixes

And More Info Here

Not as barebones as it was and ISO size is even smaller Smile

Fred
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 6 of 104 [1549 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 102, 103, 104 Next
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. 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.1670s ][ Queries: 13 (0.0588s) ][ GZIP on ]