Create Debian 9 (Stretch) minimal ISO similar to DebianDog

A home for all kinds of Puppy related projects
Message
Author
User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1426 Post by johnywhy »

fredx181 wrote:
johnywhy wrote:ok, but just changes folder? or entire install, and also running the script?
Yes , just changes folder and also running the script.
The entire install can be also on NTFS or FAT but then for changes you need to create save file, e.g. changes.dat
Good to know dat file works on NTFS.
I'm running the script on NTFS at the moment. Seems to be working. It's up to

Code: Select all

Unpacking xfce4-weather-plugin (0.8.9-1) ...
You mean the output will be corrupted somehow?

thx
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

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

#1427 Post by fredx181 »

I'm running the script on NTFS at the moment. Seems to be working. It's up to
To be honest, I never tried that, but... I really think that's asking for trouble, don't do it, run the script from a Linux filesystem !
EDIT: Probably you get lots of permission issues (when running the built system) if you run the script from NTFS

Fred
Last edited by fredx181 on Sun 16 Dec 2018, 20:35, edited 1 time in total.

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1428 Post by johnywhy »

fredx181 wrote:
I'm running the script on NTFS at the moment. Seems to be working. It's up to
To be honest, I never tried that, but I really think that's asking for trouble, don't do it, run the script from a Linux filesystem !
have done it several times without issue :)
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

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

#1429 Post by fredx181 »

have done it several times without issue
Ugh.. out of curiosity I just tried on NTFS... terrible !!
Lots of warnings during the build and all files have 777 permissions !!
C'mon.. Don't be a fool, that's not a proper way of building a linux OS (UGH.. AGAIN.. UGH... :wink: )

Fred

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1430 Post by johnywhy »

don't get upset :roll: :lol:
trying to make use of an old machine with small drive, and don't have all the paritions i wish i had.

i noticed when i run 'create save file', if i pick no dir, it says will create in my Devuan dir, but nothing is created.

but if i browse to Devuan/live dir, then the path given doesn't make sense to me ("/mnt" appears twice), but the file does get created in correct location (Devuan/live)
Attachments
savefile.jpg
(23.96 KiB) Downloaded 972 times
savefile0.png
(21.31 KiB) Downloaded 971 times
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

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

#1431 Post by fredx181 »

don't get upset Rolling Eyes Laughing
I don't like giving support if you insist on doing stupid things.

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1432 Post by johnywhy »

goodness, no need to insult :cry:

:lol: i need to get around to repartitioning...
will let you know

i'm guessing the error reported in my last reply might be due to this ntfs thing...

have a sunny day, Fred!
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

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

#1433 Post by fredx181 »

johnywhy wrote:goodness, no need to insult :cry:

:lol: i need to get around to repartitioning...
will let you know

i'm guessing the error reported in my last reply might be due to this ntfs thing...

have a sunny day, Fred!
Well.. not intented to insult you, just saying it would be very wrong (and that you are on your own) IMO if you would use the Devuan build as your OS the way you did running the script from NTFS.
I'd say run it from computer with ext filesystem and then copy the files to your NTFS partition.

That mountpoint (with the double /mnt) happens in some cases, see it as a small bug.

Fred

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

#1434 Post by fredx181 »

Added to custom repos:

* websearch, by Argolance, see topic here:
http://murga-linux.com/puppy/viewtopic. ... 08#1012908

* qiv-slideshow, by Mike Walsh, see:
http://murga-linux.com/puppy/viewtopic. ... 60#1003960

deb packages:
https://fredx181.github.io/StretchDog/i ... .1_all.deb
https://fredx181.github.io/StretchDog/i ... .1_all.deb
Or install by using Synaptic or apt-get.

EDIT: websearch updated to 3.0.1, supports running as unprivileged user now.

Fred

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1435 Post by johnywhy »

i installed grub from xtahr. I guess it's grub4dos. None of these work. I get as far as "sgn" file, then i get "device not ready?"

script run from ext2, Devuan running from ext2 partition.

any ideas?

# Devuan, UUID, from=/
title Devuan uuid form
uuid 3227356b-e6d0-4a18-a344-24ab22a91843
kernel /Devuan/live/vmlinuz1 noauto from=/ changes=/live/
initrd /Devuan/live/initrd1.xz

title Devuan -- HD, from=/
root (hd0,5)
kernel (hd0,5)/Devuan/live/vmlinuz1 noauto from=/ changes=/live/
initrd (hd0,5)/Devuan/live/initrd1.xz

title Devuan -- HD, from=/Devuan
root (hd0,5)
kernel (hd0,5)/Devuan/live/vmlinuz1 noauto from=/Devuan changes=/live/
initrd (hd0,5)/Devuan/live/initrd1.xz
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

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

#1436 Post by fredx181 »

Hi johnywhy, the from=/ needs to be from=/Devuan in your case.

EDIT: Oh, I see now your last entry has that, only the changes=... needs to be e,g,. changes=/Devuan/live
Doesn't work, your last entry ?

Fred

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

#1437 Post by rcrsn51 »

Deleted.

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1438 Post by johnywhy »

This works:
title Devuan -- HD, from=/Devuan
root (hd0,5)
kernel (hd0,5)/Devuan/live/vmlinuz1 noauto from=/Devuan changes=/Devuan/live/
initrd (hd0,5)/Devuan/live/initrd1.xz
also works:
title Devuan -- HD, from=/Devuan/live, uuid
uuid 3227356b-e6d0-4a18-a344-24ab22a91843
kernel (hd0,5)/Devuan/live/vmlinuz1 noauto from=/Devuan changes=/Devuan/live/
initrd (hd0,5)/Devuan/live/initrd1.xz
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

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

#1439 Post by fredx181 »

*** Updated mklive-stretch script ***

Make executable:

Code: Select all

chmod +x mklive-stretch
And run on a linux filesystem e.g. ext2, ext3 or ext4

Changed: install newest Debian stable kernel ( currently version 4.9.0-8 )

The archive containing boot scripts, aufs and squashfs modules for v4.9.0-8 is:
dog-boot-stretch-20190115.tar.gz
https://debiandog.github.io/MakeLive/do ... 115.tar.gz

EDIT: Made the same change to "mklive-devuan" (kernel version install changed to: 4.9.0-8 ), see info and attachment here:
http://murga-linux.com/puppy/viewtopic. ... 908#996908

Fred

rijsmier
Posts: 8
Joined: Thu 12 Oct 2017, 09:01
Location: Harties, South Africa

#1440 Post by rijsmier »

@rcrsn51

Please post your USB Realtek drivers for rtl8192cu and -eu for 32 and 64 bit.

Are these drivers dependent on certain kernel versions, and if so which?

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

#1441 Post by rcrsn51 »

@rijsmier: I am sending you a PM.

rijsmier
Posts: 8
Joined: Thu 12 Oct 2017, 09:01
Location: Harties, South Africa

#1442 Post by rijsmier »

@rcrsn51 or somebody else

Please tell me how to access a PM.

Thanx


Edit: I figured it out :D

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

#1443 Post by fredx181 »

Added to custom repos:

- Palemoon web-browser v28.3.1 (currently latest).
Install palemoon from Synaptic or with apt-get.
Can be updated (if available) from Palemoon : Help > About

- run-as-user
Support for applications that cannot run as root:
Installs Menu entries for: Chromium, Vlc and Google-chrome (last is for 64-bit only).
(in /root/.local/share/applications)
First time run it will install the application, once installed it will run as unprivileged user (e.g. puppy or (if not exists) as user guest)
This construction (although modified) I took from Slax by Tomas M.
Also included Menu > System > "Run program as (unprivileged) user" to be able to run any application as unprivileged user
It runs modified "run-as-spot" script from Fatdog by jamesbond.
Install run-as-user from Synaptic or with apt-get.
(see pics below)

Fred
Attachments
rau.png
Run as User any application of choice
(143.31 KiB) Downloaded 1464 times
vlc-rau.png
Install vlc and run as unprivileged user
(160.22 KiB) Downloaded 1448 times

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

Technical question about squashfs

#1444 Post by trister »

Hello again :)
I have a rather technical question:
I boot poerteus with EXIT and I load MANY squashfs files.

My initial idea was that linux runs in ram and squashfs files are loaded/accessed when needed from the hard disk.

I have noticed that if I delete a squashfs (while the system is live) I can still access its files.
The example in more detail :
I see RAM usage from conky is 250-350MB. A specific squashfs loaded during boot is 500MB. I can access the files ok.
Now I rename the squashfs and I still can access it's files. Ram usage seems still under 500MB.

So, how can this be?

Thanks in advance :)

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

Re: Technical question about squashfs

#1445 Post by fredx181 »

trister wrote:Hello again :)
I have a rather technical question:
I boot poerteus with EXIT and I load MANY squashfs files.

My initial idea was that linux runs in ram and squashfs files are loaded/accessed when needed from the hard disk.

I have noticed that if I delete a squashfs (while the system is live) I can still access its files.
The example in more detail :
I see RAM usage from conky is 250-350MB. A specific squashfs loaded during boot is 500MB. I can access the files ok.
Now I rename the squashfs and I still can access it's files. Ram usage seems still under 500MB.

So, how can this be?

Thanks in advance :)
Hi, trister,
A technical explanation I cannot give (maybe someone else can?), but I guess that once it's mounted, it stays mounted no matter what you do with the source file.

Same when you mount an ISO, renaming the ISO afterwards doesn't matter, the mountpoint stays the same.
When you look at the output of "mount" after renaming, you'll see that the name of the ISO has changed (same as you renamed) or in case of deletion, it shows (deleted) after the ISO filename.

Fred

Post Reply