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 Fri 22 Sep 2017, 20:37
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Build scripts for small debian live images (similar to woof)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 11 of 11 [155 Posts]   Goto page: Previous 1, 2, 3, ..., 9, 10, 11
Author Message
fredx181


Joined: 11 Dec 2013
Posts: 2452
Location: holland

PostPosted: Thu 13 Jul 2017, 05:23    Post subject:  

dancytron wrote:
Musher,

Not sure if this is what you are looking for (I haven't read the whole thread), but this is what Fred did to automate making a Debian Live/Porteus Boot starting from a Debian Net-install.

https://github.com/DebianDog/MakeLive


Note that this does not work with Debian 9 (Stretch) because of the switch to "overlayfs" instead of "aufs" (aufs not included in kernel by default) in Stretch. So it only works for Jessie.

EDIT: Fixed broken netinstall ISO url links on https://github.com/DebianDog/MakeLive.
And made obvious it's for Jessie only.

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

Joined: 10 May 2012
Posts: 945

PostPosted: Thu 13 Jul 2017, 08:13    Post subject:  

belham2 wrote:
... Don't worry, Musher, this method is about as ready for prime time (for murga-land here) as the Rolling Stones are ready to retire. In other words,never. Laughing ---unless our dear, beloved Anikin (and/or someone else) puts some documentation & organization effort into it & gets it down here on Murga.

As a matter of fact it is really easy. So easy, that eating a piece of cake, or a bowl of cherries, in comparison will be like forced prison labor. For this post, I opened 3 terminal windows and issued the following commands:
Code:
mkdir -p stretch/chroot && cd stretch &&
debootstrap --arch=i386 --variant=minbase stretch chroot http://ftp.us.debian.org/debian/

mkdir -p jessie/chroot && cd jessie &&
debootstrap --arch=i386 --variant=minbase jessie chroot http://ftp.us.debian.org/debian/

mkdir -p xxerus/chroot && cd xxerus &&
debootstrap --arch=i386 --variant=minbase xenial chroot http://us.archive.ubuntu.com/ubuntu/
Basically, I had 3 build processes running in parallel - just as an example for this post. You don't do this in real life. The commands are self-explanotary: create a directory, say <stretch>, inside it another one named <chroot>. The final build will obviously occur in the <chroot> directory. Now the command itself: <debootstrap --arch=i386 --variant=minbase stretch chroot http://ftp.us.debian.org/debian/> again self-explanotory --arch=i386 (or amd64) this will be our architecture. Then strech/jessie/xenial - the name of the Debian/Ubuntu release. Then, chroot - the name of the directory where the build will occur. And <http://ftp.us.debian.org/debian/> the repository from which packages for the build will be downloaded (choose your own (country/closest) mirror, like de, ch, fi, ru, etc.,) I have a more or less decent internet speed and in about ~ 10 minutes or so I had 3 minbase builds. It is called minbase - the most minimal you can get with Debian/Ubuntu. The build is extremely spartan - no kernel, no audio, no WM, no networking - all that will be installed in the second, <chroot> phase. Which will be an absolutely trivial job <apt-get update && apt-get install this that and_something_else>.

Attached are the build logs, hopefully, they will help you understand the process.

*remove fake gz*
debootstrap_xenial.log.gz
Description 
gz

 Download 
Filename  debootstrap_xenial.log.gz 
Filesize  16.44 KB 
Downloaded  25 Time(s) 
debootstrap_stretch.log.gz
Description 
gz

 Download 
Filename  debootstrap_stretch.log.gz 
Filesize  12.46 KB 
Downloaded  27 Time(s) 
debootstrap_jessie.log.gz
Description 
gz

 Download 
Filename  debootstrap_jessie.log.gz 
Filesize  16.85 KB 
Downloaded  21 Time(s) 
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2096

PostPosted: Thu 13 Jul 2017, 09:55    Post subject:  

Debootstrap
Last edited by rufwoof on Thu 13 Jul 2017, 14:37; edited 1 time in total
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10808
Location: Gatineau (Qc), Canada

PostPosted: Thu 13 Jul 2017, 14:29    Post subject:  

belham2 wrote:
musher0 wrote:
Thanks, dancytron.

Hi Musher,

Last evening, I finally got it to work, ending up with an openbox, ROX desktop. But the number of things & hoops I had to jump through to get it to work, the linked blog (and our dear Anikin) conveniently leaves out. Honestly, it is nowhere near Toni's & Fred's excellent documentation--which I've also done following their tips and both were way easier. Ultimately, though, the telling sign about the blog (and Anikin's links) is this: having to, lol, link back to Debian itself on how to make things actually work. Sh!t, if I didn't know Debian so well by now, I would have given up.

Don't worry, Musher, this method is about as ready for prime time (for murga-land here) as the Rolling Stones are ready to retire. In other words,never. Laughing ---unless our dear, beloved Anikin (and/or someone else) puts some documentation & organization effort into it & gets it down here on Murga.

Thanks, belham2. It's nice not to feel alone in the dark! Twisted Evil

Another detail: I read in the original Monteil ReadMe.txt that his script is
for Sage Debian? That's pretty old, right?

I grumbled a lot about WOOF-CE -- I'm a grouch at heart Laughing --
but I'm going back to it!

Sort of off-topic: everybody please notice that BarryK is back in the fray
with a nice-looking, improved, Xerus Quirky 8.1.94:
http://murga-linux.com/puppy/viewtopic.php?p=960658&sort=lastpost#960658

BFN.

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
emil

Joined: 10 Nov 2009
Posts: 630
Location: Austria

PostPosted: Thu 13 Jul 2017, 21:36    Post subject:  

Hi Guys,

don't necromance this old thread. Download links in first posts are broken, and the code bitrots since several years. Debian Live is dead and hijacked - to wrap it up:
move on, let CAT rest in peace.
Cheers and take care ...
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 11 of 11 [155 Posts]   Goto page: Previous 1, 2, 3, ..., 9, 10, 11
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.0461s ][ Queries: 13 (0.0081s) ][ GZIP on ]