Create Debian 9 (Stretch) minimal ISO similar to DebianDog

A home for all kinds of Puppy related projects
Message
Author
User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#1111 Post by rufwoof »

From this thread
If you're trying to make a live-USB, similar to a live-CD, the system will always boot into read-only. There are ways around that using a second partition for persistence. If that's what you want, you should take a look at the debian-live documentation. You could build your own live system using live-build, and create either an iso image or a usb-hdd image.
http://live.debian.net/

Another option is to use Refracta Snapshot. You could install the deb files in your virtualbox installation and create a bootable iso that's a copy of your system, with all your customizations and settings. And you could use refracta2usb to put that iso onto a bootable usb thumb drive. You'll probably need to install some dependencies, like squashfs-tools, live-boot, live-config, live-config-sysvinit, and live-boot-initramfs-tools. See comments in the config file (/etc/refractasnapshot.conf) for using a custom iso directory. (You probably want the boot menu to say "Debian" instead of "Refracta".)
http://sourceforge.net/projects/refracta/files/tools/

If you don't want a live-media system, you could just install debian to the usb stick the way you'd install to a hard drive. Then it will boot read/write. Since the system isn't compressed into a squashfs, it'll take up more space on the stick.
Last edited by rufwoof on Sat 02 Jun 2018, 21:31, edited 1 time in total.

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#1112 Post by dancytron »

rufwoof wrote:From this thread
If you're trying to make a live-USB, similar to a live-CD, the system will always boot into read-only. There are ways around that using a second partition for persistence. If that's what you want, you should take a look at the debian-live documentation. You could build your own live system using live-build, and create either an iso image or a usb-hdd image.
http://live.debian.net/

Another option is to use Refracta Snapshot. You could install the deb files in your virtualbox installation and create a bootable iso that's a copy of your system, with all your customizations and settings. And you could use refracta2usb to put that iso onto a bootable usb thumb drive. You'll probably need to install some dependencies, like squashfs-tools, live-boot, live-config, live-config-sysvinit, and live-boot-initramfs-tools. See comments in the config file (/etc/refractasnapshot.conf) for using a custom iso directory. (You probably want the boot menu to say "Debian" instead of "Refracta".)
http://sourceforge.net/projects/refracta/files/tools/

If you don't want a live-media system, you could just install debian to the usb stick the way you'd install to a hard drive. Then it will boot read/write. Since the system isn't compressed into a squashfs, it'll take up more space on the stick.
That's a 5 year old post.

I'm not sure why you posted it here?

Obviously, Saintless and Fred have come up with several different (much better??) ways than the ways suggested in that 5 year old post than using a persistence partition or Refracta (whatever that is).

Who are you replying to and what are you trying to say??????

also, delete (square brackets deleted by me) from your message

Code: Select all

   img https://s7.postimg.cc/4k8zgmhwb/widetrans.png /img
It is messing up the spacing.

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#1113 Post by rufwoof »

dancytron wrote:Who are you replying to and what are you trying to say??????
Some post just anything hereabouts in Puppy Projects ... and leave it for John Murga to decide whether it should be pulled or not (personally I suspect he has far better things to be doing). Some of us find non "Puppy Projects" posts to be annoying - most boards disallow such off topic posts, but as that's widely abused here might as well jump in and .... this might be of interest to some ...

http://www.gbgb.org.uk/rules-and-regulations.aspx
The Greyhound Board of Great Britain rules of racing are strictly adhered to but the way that we operate is in a flexible manner - any suggested amendment to the rules is debated and either rejected or implemented for the good of the sport.
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#1114 Post by dancytron »

Oh, so you are intentionally being a jerk. Got it. Carry on.

Can you at least delete the link to the image file that is messing up the margins?

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1115 Post by fredx181 »

Hi All, some news and updates:

- New kernel package version available from Debian repo: 4.9.88-1+deb9u1 (linux-image-4.9.0-6), upgrading can be done on a frugal install by running "upgrade-kernel"
The mklive-stretch script doesn't need to be updated for that because the kernel version number is still 4.9.0-6.

- New peasywifi package (v4.6-1), rcrsn51 changed the button "Connect" (at the dialog that appears after "Scan") to "OTC".
This means "One time connect" (wpa2 only) to be able to connect without having to make a Profile first.
(it will probably avoid some confusion there was earlier)

- New package I made for display of detailed system information: "inxi-gui", taken from antiX, original by Misko_2083, modified a little for StretchDog, Stretch-live. (see screenshot)
Install inxi-gui with synapic or apt-get (first update the packages lists; apt-get update)
After install, run from Menu > System > System Info (inxi-gui).
The "inxi" commandline script is included in /usr/local/bin, which is a perl script, so the package has perl as dependency.

EDIT: Also updated in repos the "hplip-print-scan" packages (32 and 64 bit) to version 3.18.3, thanks again rcrsn51 !

Fred
Attachments
inxi-gui.jpg
inxi-gui, system info
(120.22 KiB) Downloaded 804 times

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

#1116 Post by rcrsn51 »

For aficionados of the Simple Python HTTP Server (ie. people who got tired of fighting with Samba), here are some additional tools.

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#1117 Post by Moat »

Hi Fred - simple question (I hope!? :lol: ) -

Running my (nearly perfect!) modified/remastered Xfce StretchDog, Porteus boot w/changes.dat -

I'd really like to change the shutdown script to;

1) Default shutdown without saving (with no further user input), and...

2) Shorten the timeout to something closer to 6-8 seconds.

Possible? Can you (or anybody else) point me to the script where I could play around with modifying these settings?

The idea is to shutdown from the menu, quickly, and just walk away... ending up with a "pristine", bug-free boot next time around.
Running a small savefile just for minor changes only (themes, wallpaper, etc.).

Is this doable without too much trouble?

Thanks!

Bob

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1118 Post by fredx181 »

Hi Bob,

Yes, it's doable rather easy, edit /usr/bin/wmreboot and /usr/bin/wmpoweroff, replace lines 23-41 with this (default is NoSave and timeout is 6 seconds):

Code: Select all

    yad --title="Save changes" --center --text="   Do you want to save your changes?\n   If so, click the 'Save' button within 6 seconds   " \
    --window-icon="preferences-system" --timeout=6 --timeout-indicator bottom --buttons-layout=spread  --button="Save:2" --button="NoSave:0" --button="Cancel:1"
    ret=$?

case $ret in
1|252)
exit
;;
0|70)
touch /mnt/live/tmp/changesx
gtkdialog-splash -timeout 4 -bg "dark red" -fg yellow -text "Session not saved" -close never
;;
2)
touch /mnt/live/tmp/changesx
alsactl store 0
touch /mnt/live/tmp/sessionsaved
save2flash
;;
esac
Change --timeout=6 to whatever you like.
Don't forget to save the session after this edit :wink:

Good luck,

EDIT: BTW, it's sometime ago that I made a build choosing this minimal XFCE (I think you are using), so out of curiosity I did again and I'm very pleased with it, it's very fast and... hey!! it's full XFCE4 ! ISO size only 244MB :D
I'd recommended it ! "Super Duper" as @sneekylinux probably would say :)

Fred
Last edited by fredx181 on Fri 01 Jun 2018, 18:15, edited 3 times in total.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1119 Post by fredx181 »

I've been running Slitaz frequently these days and I like the rounded corners of the gtk2 windows.
The openbox included in Slitaz is patched, I guess, found patched openbox packages that work on Stretch, Xenial, Bionic, here:

https://forums.bunsenlabs.org/viewtopic ... 678#p46678

Hosted these also here now (32 and 64 bit):
https://fredx181.github.io/StretchDog/N ... 3_i386.deb
https://fredx181.github.io/StretchDog/N ... _amd64.deb

Install by right-click > Install deb, or from terminal e.g.:

Code: Select all

dpkg -i openbox_3.6.1-4.3_i386.deb
Edit ~/.config/openbox/rc.xml, around line 55 ,for example just under "<keepBorder>yes</keepBorder>"
So becomes:

Code: Select all

    <keepBorder>yes</keepBorder>
    <cornerRadius>4</cornerRadius>
    <cornerRadius menu="yes">4</cornerRadius>
Restart X and you should have rounded corners
It's not perfect though, depends on which openbox theme used also, some may find it ugly.

The value for <cornerRadius> 4 above can be anything, e.g. 8, but it may not look very well.

Fred
Attachments
2018-05-31-001159_733x293_scrot.png
Openbox rounded corners
(215.36 KiB) Downloaded 489 times

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#1120 Post by Moat »

fredx181 wrote:Hi Bob,

Yes, it's doable rather easy...
Fantastic - thanks so much, Fred - it works a treat!!! 8)

System updates completed... time for a remaster of this perfect little Xfce Debian OS... :)

Bob
Attachments
Screenshot_2018-06-01_14-00-41.jpg
Lovin' it...
(87.71 KiB) Downloaded 455 times

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1121 Post by fredx181 »

Wow !! Looks great Bob !

You've been creative in adding/modyfing stuff, is this done initially with the XFCE option from mklive-stretch ? Hard to recognize.

Any chance that you'd share your creation ? Would be a nice addition to the Dog kennels :)

Fred

trister
Posts: 137
Joined: Sun 01 Mar 2015, 21:16

alternative http server

#1122 Post by trister »

rcrsn51 wrote:For aficionados of the Simple Python HTTP Server (ie. people who got tired of fighting with Samba), here are some additional tools.
I will try that.
In my search for a very light and simple web server (to avoid always using xampp) I ended up with
Hiawatha. It is very light.
If anyone is interested I have made a squashfs file for it.
Link is here :
hiawatha_10.6_amd64.deb_webserver_v02.squashfs (64bit): https://1fichier.com/?9u4o4w2xo9
hiawatha_10.8.3_i386.deb_webserver_v03.squashfs (NEW 32bit) : https://1fichier.com/?iazevg3ls3cqdl2mtcxh

The modifications I made are that the web folder is in /opt/lampp/htdocs ( this is the default xampp web folder)


An alternative full webserver option is xampp (which I use in all my OSes cause it's portable)
xampp link : xampp-linux-x64-7.1.7-0_170730a_ok.squashfs https://1fichier.com/?mzhw5ccyg7
Last edited by trister on Sun 23 Sep 2018, 08:16, edited 1 time in total.

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#1123 Post by Galbi »

Sorry if it's a silly question, It's possible to build a 64 bit version with the script?

Time ago i did it for the 32bit version, and I've been using it as my main system since then, the machine it's 64bit capable, so wanted to try the 64b to see how it goes.

Thanks.

Saludos.
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1124 Post by fredx181 »

Galbi wrote:It's possible to build a 64 bit version with the script?
Yes, but only if you run the script from a 64-bit OS, then it will automatically build a 64 bit version.
Preferably from a Debian or Ubuntu based OS, but it's tested to work also from Puppy or Fatdog.
Running it from e.g. the "Debian-Stretch-Live Starter Kit" 64-bit from rcrsn51 will guarantee that it works.
http://murga-linux.com/puppy/viewtopic.php?t=112784

Fred

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#1125 Post by Galbi »

:? Mmmm... 44 minutes to answer Fred, you can do it better...

:D Just kidding,

THANKS

(It's hot there? Here, last week, 26C, today 7C. I'll send you some cold).

Saludos.
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#1126 Post by Moat »

Hi Fred!
fredx181 wrote:... is this done initially with the XFCE option from mklive-stretch ? ... Any chance that you'd share your creation?
Yep - Xfce mklive-stretch option, with some generous tweaking/remastering afterwards. That's one of the great things about Xfce - very tweakable and easy to modify to one's liking, very functional, yet still quite reasonably "lightweight". I'll post a link to the .iso here eventually - after some more minor tweaks and testing. But it's pretty darn big at the moment - about 480Mb, I think...

I'm not a "coder" at all, but what I can do - and enjoy most doing - is modifying the appearance/visual aspects of the Linux desktop (my Gtk2 & 3 theming, Xfce window decorations and conky being displayed in the above screenshot). Making things more polished, "professional" looking... and functioning. The Devil's in the details! So many distribution's desktop environments have quite a lot of that "polish" capability built-in, but seemingly very little effort gets applied towards that end - so little of that capability is being used, OOTB. A significant part of the reason Linux still has so little share of the home/desktop market, IMHO, and for the life of me I can't figure out why the heck that is...

Plus... I'm just sooo danged tired of the typical, fashionable, too-bright-and-cold/eye-straining blueish and gray tones and flat, mono-chromatic look of common Gtk themes & icons, etc (really terrible stuff, functionally, when you get right down to examining these aspects!) - and I enjoy addressing those things. It's simply too much fun - and something I can actually do! :lol:

Thank you, sir!

Bob

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

#1127 Post by backi »

Hi !

Wiak wrote here :

http://www.murga-linux.com/puppy/viewto ... 8&start=30
Maybe the Dogs should have a FAQ (similar to the Puppy FAQ), for its many users, that states that Puppy is accepted as being allowed to share its kennel - after all it is a bigger Dog if we are going to be truthful about this.
Creating a FAQ for the " Dogs " would be an excellent idea !

Regards !

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

#1128 Post by rcrsn51 »

P910nd-print-server updated here with a bugfix.

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

#1129 Post by rcrsn51 »

PeasyPort updated here with improvements for scanning WiFi networks.

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

#1130 Post by rcrsn51 »

Sound Card Selector updated here with an optional "expert" mode.

Post Reply