Create Debian 9 (Stretch) minimal ISO similar to DebianDog

A home for all kinds of Puppy related projects
Message
Author
wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#161 Post by wiak »

Or maybe use:

Code: Select all

umount -l fs_to_umount
From umount man page:
-l
Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.)
or forced umount:

umount -f ...
-f
Force unmount (in case of an unreachable NFS system). (Requires kernel 2.1.116 or later.)
Also: https://serverfault.com/questions/17284 ... ead-chroot

wiak

But maybe getting a bit too off-topic. The export -f chroot_in situation of more interest.

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

mklive-stretch GUI

#162 Post by zagreb999 »

hi fred,

in debiandog 32 bit-fat32-
mklive-stretch GUI works great.

can you create new mklive-xenial GUI
or mklive-antix.mx GUI?

regards.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#163 Post by wiak »

@AndresC2:

Just realised I had already used mklive-stretch in a debian (stretch) distribution that used dash as its default shell; there was no problem with function chroot_in. Let us know if you get that solved please.

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#164 Post by anikin »

anikin wrote:. . .
Regarding debootstrap not working in XenialDog, I think, I know why, but I need to download and install XenialDog and try running debootstrap from it.

In a nutshell, here's why debootstrap fails in XenialDog:

Debian Stretch was supposed to have this new feature: https://wiki.debian.org/UsrMerge
However, at the end of the day, that plan had been scrapped, http://www.phoronix.com/scan.php?page=n ... tretch-RC1 because of a bug discovered in debootstrap version 0.85. Supposedly, that version of debbotstrap had been used to build Ubuntu Xenial. See here for more details:
https://bugs.debian.org/cgi-bin/bugrepo ... bug=843073
https://bugs.debian.org/cgi-bin/bugrepo ... bug=844221

So, this is an inherited bug. It was present in the early builds of Ubuntu Xenial. To cut it short, if you rebuild Xenial today, it will be debootstrap friendly.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#165 Post by wiak »

anikin wrote:Supposedly, that version of debbotstrap had been used to build Ubuntu Xenial. See here for more details:
https://bugs.debian.org/cgi-bin/bugrepo ... bug=843073
https://bugs.debian.org/cgi-bin/bugrepo ... bug=844221
Where does the info about that debootstrap being used to build xenial come from? I don't see xenial mentioned in these links. By the way 64-bit XenialDog works fine with debootstrap; the issue is only with 32-bit XenialDog.

Fred,

Using XenialDog64, I built a i386 minbase xenial using debootstrap and that went fine. I then rebooted and used that debootstrap 32-bit xenial build folder via chroot in XenialDog32 (to have the xenial 32bit kernel) and inside that new 32bit xenial used debootstrap to build a 32-bit Debian Stretch minbase(!), and that also went fine. However, debootstrap certainly still does not work in XenialDog32 itself. I guess from my above test of new debootstrap built xenial i386 that a rebuild of XenialDog32 would fix the issue.

wiak

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

ramsize

#166 Post by zagreb999 »

hi fred,
this script in terminal
works perfectly...
but,
after quick remaster it does not
remain...
what is solution?
regards.

mount -t tmpfs -o "remount,size=130%" tmpfs /mnt/live/memory/changes

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#167 Post by anikin »

wiak wrote:Where does the info about that debootstrap being used to build xenial come from?
All Debian/Ubuntu releases, with no exception are built with debootstrap.
By the way 64-bit XenialDog works fine with debootstrap;
Read the above links - this is a 32 bit only issue, 64 bit systems are * NOT * affected by the bug.
I don't see xenial mentioned in these links.
The bug symptoms (see the logs - output from the terminal), the timing of Xenial release and debootstrap 0.85, plus the info available online (and my personal experience with debootstrap 0.85 - the same errors!) - all point to this and only this bug and nothing else.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#168 Post by wiak »

Yeah, could be that. Certainly debootstrap proven now to work in new Xenial 32 builds. No other easier solution found.

wiak

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

full-XFCE-build-235mb-ISO

#169 Post by belham2 »

Hi Fred & all,

Woohoo.....in an ISO that is only 235mb.....did a full, I mean complete XFCE build (xfce4 + xfce4-goodies + slim) with all the normal stuff I've already been including (qtweb, mtpaint, etc, etc) in the script, it took ~18 mins to build on this old laptop and then was presented with a completely slim-login booted desktop. This script, Fred, & the ability to customize it is just something to behold :wink:

P.S. Please know if anyone wants and/or would like these builds I am doing, I am not going to upload them anywhere. The point of this whole thread and exercise is the complete-noob simplicity that Fred's buildscript offers. If my computer-phobic spouse can do one (actually, she did 2 last night), then anyone can do one. This build process and the choices it offers up to a any builder, novice and/or otherwise, is incredible. It is what woof-CE had (and still has) a chance to become (that is, if the decision is ever coalesced around to make it so and make the woof-CE accessible to novices)
Attachments
full-XFCE-build-235mb-ISO.png
(172.21 KiB) Downloaded 524 times

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#170 Post by backi »

Hi belham!
P.S. Please know if anyone wants and/or would like these builds I am doing, I am not going to upload them anywhere. The point of this whole thread and exercise is the complete-noob simplicity that Fred's buildscript offers.
But maybe you will permit us to have a look at the script you did accomplish your build with ?As a kind of example ....for exercising noobees ....

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#171 Post by belham2 »

backi wrote:Hi belham!
P.S. Please know if anyone wants and/or would like these builds I am doing, I am not going to upload them anywhere. The point of this whole thread and exercise is the complete-noob simplicity that Fred's buildscript offers.
But maybe you will permit us to have a look at the script you did accomplish your build with ?As a kind of example ....for exercising noobees ....
??? Backi ???

It's already there, Fred wrote it a few messages above. I did nothing to what Fred wrote here (in page 10 of this thread):

Hi Belham,

Here's my setup (used the GUI):
# Base Apps
xfce4 menu leafpad gparted parted pv synaptic volumeicon-alsa alsa-utils firefox-esr=24.8.0esr-1~deb8u2 pm-utils xdotool wmctrl desktop-file-utils mime-support cryptsetup-bin squashfs-tools conky fakeroot xserver-xorg-input-evdev pfind

# Base Dog Apps
yad gtkdialog obshutdown pup-volume-monitor peasywifi edit-sfs-thunar filemnt-thunar remaster-scripts quick-remaster apt2sfs sfsload fixdepinstall greybird-theme-dd-stretch makedebpackage "
"


The only thing I added, was exactly like I wrote above, "xfce4-goodies" and "slim" to FRed's suggestion of "xfce4". Just take out of the gui box all the lx-related stuff. Easy peasy. Then, all the personal choices made in what apps you want (i.e. mtpaint, vlc, gedit, anything your heart desires in the deb repo(s) ) are for you to make & choose. Hint: if confused/unsure, open Synaptic, do some searching, decide on what you want, and then just copy that one main item title that is the program over to the build-process GUI box, and then the build-process does all the rest------all the dependency checking, downloading and installing. That's even more easy peasy. Lastly, for Fred's special dog programs if you would like them included, just click the "Information" button in the bottom of the script, and up pops a dialog box of all of Fred's programs you can choose at your will & leisure.

After all of the above, set loose the dogs of war and run the buildscript. It is an awesome beast. A kind one too. And it is simplicity beyond simplicity. The only question the whole build process will ask you (after all that customization you chose) is whether you want to use "gz" or "xz" as the compression method to build the initrd1. That's it.

Next build I do, I will try to include a snapshot of the build GUI before I set it off to do its thing. I just didn't think it was necessary, as doing this may cause people to just copy stuff and not understand why (like the need to remove lx-related stuff when you're installing full xfce-related stuff).

I am still trying to get the budgie-desktop build to go through and boot, but its not working yet. There's something I am missing that I've got to figure out. And after that will be one of my favs, a fluxbox-only desktop build, which should fly like a gossamer down the jungfrau of the Eiger herself. :wink:

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#172 Post by backi »

Thanks belham .......
Will start the engine :lol:

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#173 Post by belham2 »

Hi Fred & Rcrsn51, Backi and all,

Fred, rcrsn51, I have a request: is it possible (or does it already exist and I am just not finding it) to have a script that changes a .deb directly into an .sfs without me doing anything other than loading the .deb into that script and clicking go?

I have all these .debs that I do not want to install, but I would love to be able to run as an on-demand-sfs. As things stand, I have to use one script to extract the deb, then I have to use another script to then build the sfs, correct?. I know I am splitting hairs here and the extra step should be no bother, but is there a reason we don't have a deb2sfs script?? (again, a million apologies if it already exists---if so, could you point me to it :wink:)



P.S. Rcrsn51, I downloaded your pet2stretch the other day, and put it (and your peasymount and pfm) in all ddogs I have plus these new builds I've been doing. But I've been running into one problem: I can't think of anything from a pet to install, and when I do (and Synaptic doesn't have it because it is a pet), I then open pet2stretch up & click for it to "check" the dependencies of this pet. But usually, no mkae that always, in the pets I select a lot of libs come back as needed & missing. I then realize I would either have to hunt them all down &/or also compile them. That stops me dead in my tracks from continuing, if you know what I mean...too much time to do that. I hope I can find a simple pet that doesn't already exist in some form in debian itself, so I can give your script a go.

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#174 Post by backi »

Hi belham !
I do it this way !
Extracting the pet (with Uxtract) >right-click on the resulting extracted Folder >create squashfs.
Look inside the extracted folder for 01.filesystem.squashfs (rename it to the name of the application you did extract ) load or activate it as usual .

Don`t know if it is comfortable enough ......maybe there is something like pet2sfs....but could not find something like this via google .

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#175 Post by rcrsn51 »

Pet2Stretch is primarily for print/scan drivers and other small tools that you have already built into PET form.

Here is an example: You want mplayer with DVD movie support. You can get mplayer through apt-get but it doesn't have DVD decryption.

In Debian, you would download and compile libdvdcss, because full Debian has a compiler built-in.

But what to do in Stretch-Live? You would need a devx.

Or go into the Puppy repos and get a ready-made libdvdcss PET.

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#176 Post by backi »

Hi belham !
Stop !Have a look for PaDS:

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

convert and merge (P)ET (a)nd (D)EB into a single (S)FS

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#177 Post by belham2 »

rcrsn51 wrote:Pet2Stretch is primarily for print/scan drivers and other small tools that you have already built into PET form.

Here is an example: You want mplayer with DVD movie support. You can get mplayer through apt-get but it doesn't have DVD decryption.

In Debian, you would download and compile libdvdcss, because full Debian has a compiler built-in.

But what to do in Stretch-Live? You would need a devx.

Or go into the Puppy repos and get a ready-made libdvdcss PET.
:oops: aw, crap, sorry, rcrsn51, I completely messed up in understanding what it was for (I should have read the documentation closer). Thanks for explaining, I came close many a time to just saying "screw it" and letting it install some of the ones I tried. Lol, good thing I didn't or that install would've probably went "poof" :lol:

{spelling error}
Last edited by belham2 on Thu 10 Aug 2017, 16:55, edited 1 time in total.

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#178 Post by belham2 »

backi wrote:Hi belham !
I do it this way !
Extracting the pet (with Uxtract) >right-click on the resulting extracted Folder >create squashfs.
Look inside the extracted folder for 01.filesystem.squashfs (rename it to the name of the application you did extract ) load or activate it as usual .

Don`t know if it is comfortable enough ......maybe there is something like pet2sfs....but could not find something like this via google .

I knew you would know, Backi. I am gonna start calling you the "Murga Librarian", how you doggone keep track of so many things on murga I don't know (and I was Googling and searching here before I asked). Between Pelo (who can remember dam# any build from the depths of years ago) and your library skills, what is the likes of Google needed for! :wink: Thanks again.

P.S. Figures P.a.d.S-1.4 is a lazypup creation....he sure was proliferate here

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#179 Post by backi »

Hi belham !
Some more
From discussion here :

http://www.murga-linux.com/puppy/viewto ... 5&start=75

Fred wrote :
Quote:
It may look like it's not, but I do like more "puppy influence" in the Dogs, e.g. what we did for peasyfirewall monitor in the Xenialdog thread, I think it's nice to have more "must have" Puppy programs.

Why not ?....if it works
This is a good idea IMHO . It could maybe even alleviate the worries of Puppy Linux purists and soothe their claims about the " Dogs " are not "real" Puppies enough .
I also do miss some apps/tools from Puppy Linux.Some i have in my "Dogs " .... can`t miss them ..

Give you some examples :
Uextract-extract - "extract almost everything (Does work in Dogs)

easypackage-(EasyPackage is a cli tool for combining PETs into a PET or SFS (does not work in Dogs.)

edit sfs -gui to edit sfs files (works in Dogs)

PETS2SFSGUI-This is a tool to combine/convert several pets into one sfs file, which you can use with any puppy in your system without installing again your favorite pets one by one for each puppy. (works in Dogs )

CombineSfs (Combine-Sfs does not work in Dogs ) very sorry Crying or Very sad Crying or Very sad

Extract-folder-of-debs (works in Dogs),

LazY-FBI,( the (F)antastic (B)atch-Mode Pet-(I)nstaller makes you able to install all files from a directory into your puppy.All you have to do, is: do a right-click on a directory containing .pet, .deb, .tar.gz, .tgz, .txz and tar.bz2 files.)Does work in Dogs ...installed in my-roxapps .

PaDs (PaDS 1.0.4 ---> convert and merge (P)ET (a)nd (D)EB into a single (S)FS
works in Dogs .

Links:

http://murga-linux.com/puppy/viewtopic.php?t=87864
http://murga-linux.com/puppy/viewtopic.php?t=80850
http://murga-linux.com/puppy/viewtopic.php?t=81511
http://www.murga-linux.com/puppy/viewtopic.php?t=65400


http://murga-linux.com/puppy/viewtopic.php?t=64215
http://murga-linux.com/puppy/viewtopic.php?t=64215
http://www.murga-linux.com/puppy/viewtopic.php?t=26097
http://www.murga-linux.com/puppy/viewtopic.php?t=47469

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#180 Post by backi »

Here is another practical tool for extracting a folder of debs. (for further converting).
http://smokey01.com/pemasu/pet_packages ... -0.0.1.pet

Post Reply