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 17 Dec 2017, 14:07
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 3 of 61 [907 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 59, 60, 61 Next
Author Message
wiak

Joined: 11 Dec 2007
Posts: 375
Location: not Bulgaria

PostPosted: Thu 03 Aug 2017, 05:21    Post subject:  

Sorry Fred,

I've downloaded Puppy Slacko but probably won't have time to try debootstrap out with it until tomorrow (hope I can find chroot program for Slacko - otherwise I'll try XenialPup or similar). I am pretty confident it should work anyway and it seems I could even run the DebianDog at same time as the Pup!!! since that's what chroot with all these mount commands of /proc and so on should allow. I have actually since come across "James B" detailing how to run Slacko at same time as FatDog via chroot mechanisms here (not that this has anything to do with debootstrap idea...):

http://www.lightofdawn.org/wiki/wiki.cgi/RunSlackoInFatdog

It is all very exciting stuff anyway. I can't help wondering what the future of Puppy itself is though since debootstrap can create such a small Debian, but I guess there is room for all and maybe a Puppy with a chroot Debian (or thus created debiandog) running alongside is also a useful possibility (or as with the FatDog example, but instead running Puppy inside a DebianDog via a chroot).

Main thing for me for now though is trying to get a mklive debiandog working via your script but using Puppy system as the host build system.

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


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

PostPosted: Thu 03 Aug 2017, 08:06    Post subject:  

@Fred: Here is my test:

I booted Stretchdog32 off an ISObooter flash drive. I plugged in another flash drive with a big ext4 partition and ran the mklive script from there. It chugged away and eventually made the ISO. I copied it back to the ISObooter drive and rebooted. It worked!

But you quickly realize how many extra little things you need to make a practical OS.

BTW, in the middle of the process, a "Done" message appears with a pause. An impatient person would close the terminal window, assuming that they were done.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2644
Location: holland

PostPosted: Thu 03 Aug 2017, 11:26    Post subject:  

Hello rcrsn51

Thanks for testing and good to know it works with isobooter!
Indeed it's very minimal, so lots of work to be done to make it a more complete OS.
I'll have a look at the 'Done' message

Fred

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


Joined: 16 Jun 2008
Posts: 2066
Location: 500 seconds from Sol

PostPosted: Thu 03 Aug 2017, 12:56    Post subject:  

Hi Fred and All,

Still trying to get my head around this. As I understand it, the ISO is created in a chroot environment run from another OS. But which actually has to have access to the internet?

My two main computers are a desktop which can only access the internet via wifi, and a laptop, which being portable, can be ported sufficiently close to my router that I can use an ethernet cable.

I'd rather do my exploring of, to me, uncharted territory from my desktop. Is that possible?

Thanks,

mikesLr
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 956

PostPosted: Thu 03 Aug 2017, 13:36    Post subject:  

Built another one. I attempted to add all the DD specific programs and test a few.

This is the application list I used.
Code:

export INSTALL="live-boot wget net-tools ifupdown wireless-tools sysvinit-core xserver-xorg-core xserver-xorg psmisc fuse x11-utils x11-xserver-utils dbus-x11 busybox sudo mawk xinit xterm openbox obconf menu leafpad pcmanfm lxpanel pciutils usbutils gparted file rsync dosfstools parted nano pv synaptic volumeicon-alsa alsa-utils firefox-esr pup-volume-monitor pm-utils apt2sfs debdoginstallscripts debdogmountscripts desktop-drive-icons desktop-editor dogradio edit-sfs-pcmanfm filemnt-pcmanfm fixdepinstall gsu isotools makedebpackage mount-wizard mpv pavrecord pburn pfind portablesfs-loadsfs-fuse quick-remaster remaster-scripts sfsload upgrade-kernel youtube-get youtube-viewer"


I installed Chrome with deb install program. Runs fine with --no-sandbox. Tested apt2sfs, load sfs, gtk youtube, dog radio and edit-sfs and they all worked.

Of course, there is no right click integration and there weren't any filetypes. I had to pick edit sfs and load sfs from the "open with" menu.

It seems when I use save2flash that it doesn't flush the memory like the newer version does. In other words, after I installed Chrome, it seemed like each time I used save2flash it was saving that whole huge amount rather than just what I'd added since the last time I used save2flash. Or I might just be imagining it?

Haven't tried a remaster yet. Maybe later.

edit: Just did a quick remaster. Seems successful. The "double mount" bug has returned though, i.e. when the script pauses to manually cleanout files, there are no files if you go directly to drive by clicking sda2, but there are files if you go by way of /mnt/sda2.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2644
Location: holland

PostPosted: Thu 03 Aug 2017, 15:42    Post subject:  

dancytron wrote:
This is the application list I used.
.....


Ok, that's good test if all the dog applications have correct dependencies.
I think I will work (probably in the weekend) on a similar setup as it is now, but with the most DD scripts included (and right-click options, file associations pre-configured) but NOT with big programs + dependencies e.g. mpv, youtube-viewer etc.. Prefer to keep it under 200 MB for now.

Also later I will look at save2flash and the double mount bug.

@mikeslr
Quote:
My two main computers are a desktop which can only access the internet via wifi, and a laptop, which being portable, can be ported sufficiently close to my router that I can use an ethernet cable.


If I understand you well, you wonder if it works with no cable connection, just wifi only, right?
Well I was curious and tested that (cable plugged out, wifi activated ) and to my surprise it just works!
Apparently, in the chroot, the already existing connection from outside chroot is sort of "taken over", don't know exactly how to be honest.

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


Joined: 16 Jun 2008
Posts: 2066
Location: 500 seconds from Sol

PostPosted: Thu 03 Aug 2017, 16:09    Post subject:  

Thanks Fred,

I think. Rolling Eyes

My equivocation is because, for me, exploring the possibilities of Puppies and Dogs seems to be addictive. There are other projects I keep putting off. I've said it before:

https://www.youtube.com/watch?v=UPw-3e_pzqU Smile

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


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

PostPosted: Thu 03 Aug 2017, 16:45    Post subject:  

fredx181 wrote:
in the chroot, the already existing connection from outside chroot is sort of "taken over", don't know exactly how to be honest.

I'm guessing that the networking information, like the routing table, is in kernel-space.

So programs like apt-get running in the chroot can still access it.

So as long as your WiFI connection doesn't hiccup, you should be OK.
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 956

PostPosted: Thu 03 Aug 2017, 17:30    Post subject:  

fredx181 wrote:
dancytron wrote:
This is the application list I used.
.....


Ok, that's good test if all the dog applications have correct dependencies.
I think I will work (probably in the weekend) on a similar setup as it is now, but with the most DD scripts included (and right-click options, file associations pre-configured) but NOT with big programs + dependencies e.g. mpv, youtube-viewer etc.. Prefer to keep it under 200 MB for now.

Also later I will look at save2flash and the double mount bug.

/snip/

Fred


I think that is good. If you do that, then people will have the basic "starter kit" that they can expand with user applications, create and use sfs files, install deb files they get off the internet, and then remaster themselves.
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 375
Location: not Bulgaria

PostPosted: Thu 03 Aug 2017, 18:42    Post subject:  

fredx181 wrote:

I attached the debootstrap script, to test in puppy, just extract it somewhere in PATH, e.g. /usr/bin/


Need to get a bit more than that since debootstrap sources from a set of functions called 'functions' that it needs to operate.

I'll work on getting the whole thing onto my Puppy Slacko though since I'm confident that will work.

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

Joined: 11 Dec 2007
Posts: 375
Location: not Bulgaria

PostPosted: Thu 03 Aug 2017, 19:44    Post subject:  

Success...

Have chroot debian-stretch running from Slacko64 after using debootstrap to make it.

I previously fetched the Jessie stable debootstrap deb package and extracted that and put the main debootstrap script in /usr/sbin and the folder debootstrap into /usr/share (that /usr/share/debootstrap folder contains amongst other things a set of 'functions' used by debootstrap script and also a set of 'scripts' per distribution - i.e. one of these being called 'stretch').

http://www.murga-linux.com/puppy/viewtopic.php?t=111222

wiak

Last edited by wiak on Thu 03 Aug 2017, 23:22; edited 2 times in total
Back to top
View user's profile Send private message 
AndresC2

Joined: 08 Jul 2017
Posts: 30

PostPosted: Thu 03 Aug 2017, 20:10    Post subject:  

Hello fred! Shocked Cool

Very Cool Script! Very Happy

by the way with aufs-back this will work?

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

mi dell have 512mb of ram
but I have only 256mb in ram in stretch in live mode, is possible more ram with some command?

I did my stretch-minimal in /root is very fast build in ram but you have add minimal apps like links2 midnightcommander ifupdown etc... only 85mb my filesystem.squashfs. Very Happy

xserver-xorg-video-vesa run ugly is possible install puppy/tinycore Xvesa in stretch?

Thanks Fred! Very Happy
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 375
Location: not Bulgaria

PostPosted: Thu 03 Aug 2017, 20:39    Post subject:  

I've attached a dotpet of debootstrap from DebianJessie to my above post (as linked below). It's the version of DebianJessieStable-provided debootstrap I used in creating a debian stretch system on my Slacko64 6.3.2 system, but debootstrap is just a script (from Debian) so should work on most Puppies.

Note this is not Fred's mklive-stretch script, which adds a lot on top of debootstrap-created debian system in order to make it into a DebianDog. However, the provided debootstrap pet from Debian Jessie is all you need if you simply want to play with Debian installation yourself on your Puppy system as per my instructions here:

http://www.murga-linux.com/puppy/viewtopic.php?t=111222

Of course, Fred's mklive-stretch script could be modified per my previous suggestions such that it could also run from most any official (or unofficial) Pup per this example of me using debootstrap from Debian on a Pup system.

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


Joined: 11 Dec 2013
Posts: 2644
Location: holland

PostPosted: Fri 04 Aug 2017, 03:44    Post subject:  

@wiak

Great that you accomplished to make it work in puppy !

Quote:
Need to get a bit more than that since debootstrap sources from a set of functions called 'functions' that it needs to operate.


Yes, sorry, I see you found already in usr/share/debootstrap, but why use the Jessie (extracted deb and not the one from Stretch? (maybe makes no difference, just curious)

Good luck!

@AndresC2
Quote:
by the way with aufs-back this will work?

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


Yes, I think so (didn't test though) the overlay mechanism is the same as in earlier versions using aufs by defualt (just need to boot now with "union=aufs" (without the quotes))

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

Joined: 11 Dec 2007
Posts: 375
Location: not Bulgaria

PostPosted: Fri 04 Aug 2017, 05:10    Post subject:  

fredx181 wrote:
but why use the Jessie (extracted deb and not the one from Stretch? (maybe makes no difference, just curious)


Yeah, it was just the one I picked up first (I also thought shortly after that that I should have used the one from Stretch, but was short of time to redo that). As it turns out doesn't seem to matter. I will try the one from Stretch sometime and probably upload new dotpet for that instead eventually in case that proves better for the future...

wiak
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 61 [907 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 59, 60, 61 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.0645s ][ Queries: 14 (0.0078s) ][ GZIP on ]