The time now is Sat 06 Mar 2021, 20:11
All times are UTC - 4 |
Author |
Message |
wiak
Joined: 11 Dec 2007 Posts: 2075 Location: not Bulgaria
|
Posted: 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
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 13129 Location: Stratford, Ontario
|
Posted: 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
|
|
 |
fredx181

Joined: 11 Dec 2013 Posts: 4481 Location: holland
|
Posted: 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
Tinylinux blog by wiak
|
Back to top
|
|
 |
mikeslr

Joined: 16 Jun 2008 Posts: 3913 Location: 500 seconds from Sol
|
Posted: 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
|
|
 |
dancytron
Joined: 18 Jul 2012 Posts: 1555
|
Posted: 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
|
|
 |
fredx181

Joined: 11 Dec 2013 Posts: 4481 Location: holland
|
Posted: 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
|
|
 |
mikeslr

Joined: 16 Jun 2008 Posts: 3913 Location: 500 seconds from Sol
|
Posted: Thu 03 Aug 2017, 16:09 Post subject:
|
|
Thanks Fred,
I think.
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
mikesLr
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 13129 Location: Stratford, Ontario
|
Posted: 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
|
|
 |
dancytron
Joined: 18 Jul 2012 Posts: 1555
|
Posted: 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
|
|
 |
wiak
Joined: 11 Dec 2007 Posts: 2075 Location: not Bulgaria
|
Posted: 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
|
|
 |
wiak
Joined: 11 Dec 2007 Posts: 2075 Location: not Bulgaria
|
Posted: 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
|
|
 |
AndresC2
Joined: 08 Jul 2017 Posts: 76
|
Posted: Thu 03 Aug 2017, 20:10 Post subject:
|
|
Hello fred!
Very Cool Script!
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.
xserver-xorg-video-vesa run ugly is possible install puppy/tinycore Xvesa in stretch?
Thanks Fred!
|
Back to top
|
|
 |
wiak
Joined: 11 Dec 2007 Posts: 2075 Location: not Bulgaria
|
Posted: 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
|
|
 |
fredx181

Joined: 11 Dec 2013 Posts: 4481 Location: holland
|
Posted: 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
|
|
 |
wiak
Joined: 11 Dec 2007 Posts: 2075 Location: not Bulgaria
|
Posted: 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
|
|
 |
|
|
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
|