Create Debian 9 (Stretch) minimal ISO similar to DebianDog

A home for all kinds of Puppy related projects
Message
Author
rijsmier
Posts: 8
Joined: Thu 12 Oct 2017, 09:01
Location: Harties, South Africa

#1411 Post by rijsmier »

Sorry for the delay, had other things to do.


@rcrsn51

Thank you for your reply - but I could not get peasywifi to work.


@fred

Thank you, your frisbee-2018 version works correctly.


*But* I had to go straight into your github Included file to get it. Neither apt-get install or synaptic could find frisbee-2018 - after update or reload.

What I see in synaptic (Origin) is testing/Unknown and testing/main for fredx181.github.io . So it looks to me as if your Included file is not being looked into where frisbee-2018 is.

synaptic reports frisbee-2018 as the installed version and frisbee-2017 as the latest version.

All the above applies to DDog and ObDog for both the Stretch and Devuan builds.

-----------------------------------------

On another subject. I had a look at ceni and it works perfectly for usb tethering. Unfortunately it pulls in a lot of other files.

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

#1412 Post by fredx181 »

rijsmier wrote:Thank you, your frisbee-2018 version works correctly.

*But* I had to go straight into your github Included file to get it. Neither apt-get install or synaptic could find frisbee-2018 - after update or reload.
Glad it works for you now.

Yes, that's right, I assumed 2018 version would be seen as newest but obviously not.
Made it now version 1.2-20181120-dd and it shows as upgradable in Synaptic.
(for you it makes no difference because the package is exactly the same as you have now installed)

Thanks for reporting.

Fred

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

#1413 Post by wiak »

Doglover wrote:Woefully audio doesn't work in youtube. Audacious works fine. My laptop likes pulseaudio, so I installed all I could find, but pulse still doesn't work. Won't connect to server. Arrrggggg!
Hi Fred,

I'm coming back to this old post despite pulseaudio working fine for me on my XenialDog64 system with pulseaudio --start (despite a root user warning message).

On some other systems, for example, BionicPup64, I found a /etc/pulse/default.pa configuration issue that was preventing pulseaudio daemon starting up (resulting in a E: error message). Details here:

http://murga-linux.com/puppy/viewtopic. ... 09#1011109

Note that the above 'fix' is probably just for systems that don't have console-kit installed or installed correctly. I haven't tested that. As I say, I don't need any of the above on XenialDog64 or BionicDog64; on these systems module-console-kit seems to load just fine anyway.

wiak

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

#1414 Post by belham2 »

Hi Fred & all,

Family member just ran into this updating my Deb 9 (Stretch) build.....never had a problem before using Synaptic to update everything. This is a first. Here's a pic, of the update using terminal, to show what the problem is, occurred on trying to update chromium (which always worked no problems before):
Attachments
chromium70-update-fail-2018-11-24.jpg
(169.69 KiB) Downloaded 776 times

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

#1415 Post by fredx181 »

Hey Belham,

Sorry, I can't reproduce your issue, tried by first installing chromium 69, reboot with save and then install v70, no problem for me.

Did a web search for: dpkg "unable to make backup link of" , not much info (and I can't test), maybe you can try ?

Fred

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

#1416 Post by belham2 »

fredx181 wrote:Hey Belham,

Sorry, I can't reproduce your issue, tried by first installing chromium 69, reboot with save and then install v70, no problem for me.

Did a web search for: dpkg "unable to make backup link of" , not much info (and I can't test), maybe you can try ?

Fred

Hi Fred,

Thanks for trying. This one had and has me stumped.

Since I run everything as frugal with Porteus boot, and that I always keep back ups from when the build was pristine, I tried the following:

So, brand new frugal folder, set the menu.lst entry with the normal porteus entries I've always used, and started her up.

Opened Synaptic, all set all updates, and purposely forbid Chromium to update. And everything worked like a charm. The Stretch64 build brought everything up to date.

Then, I installed Chromium 69 (like you), which went well and it runs like crazy, real good.

Then opened Synaptic, hit "refresh", then "mark all upgrades", and the only upgrade was to Chromium 70.

And sure enough, the exact same dpkg:error message showed up.

Me thinks it is something in the debian repo and/or how they packaged Chromium 70. I can't figure out what else it would be.

Anyhow, just ditched Chromium, and installed the latest Google Chrome, and, weirdly, all is good now (or at least I think, haha :wink: ). I just added Google's PPA and gpg key, so the updates will happen automatically now from Synaptic.


Hope you are doing well, Fred, and in good health. They're saying we're (Benelux) are gonna get creamed this winter in terms of possible record cold temperatures along lack of precipitation.

Dang, after this very dry (low rain), high temp past summer, which nearly killed my garden and all my neighbors gardens, now we are supposed to get hit with a dry, brutally cold winter???

This is not gonna be fun! Who knew water (or lack of it, for gardens and drinking) would become such a huge issue to two countries like ours that are right beside the oceans! Incredible. I bet Denmark and Lux is gonna get hit too, maybe most of northern Germany.....hope so, misery always needs company (lol).

Be safe and good, and have a Happy Holidays (if I forget to come on here and say so :) )

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

#1417 Post by fredx181 »

Some updated (custom) deb packages in repositories:

* xlunch, version 4.1.1
-- Generating entries is very fast now, by using Xlunch-menu (included in package),
-- Converting svg icons to .png will be done automatically (needed, because xlunch doesn't support .svg icons).
See about xlunch: Xlunch on Github and Xlunch website

* create-portable, v1.0.3
-- Can now create portable appimage directly from .squashfs or .sfs module (chroot mode only)
-- Doesn't depend on python anymore
Topic : http://murga-linux.com/puppy/viewtopic.php?t=114821

* redshift-gui-lite , v0.0.4
Fixed permission problem when running as normal user
See about redshift-gui-lite also here:
http://murga-linux.com/puppy/viewtopic.php?t=114353

Install or upgrade with Synaptic or apt-get.

Fred

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

#1418 Post by backi »

Hi Fred !

Create-portable.
Really great......if not outstanding.
No Doubt .
Another "State of the Art Product out of Fred`s Laboratory .
Surely an Award winning Gadget from your Product Line .Did not test up till now but as a big Fan of your Inventiveness/ Creativity i will do as soon as i can .

Cheers !

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

#1419 Post by johnywhy »

hi y'all

i'm getting back into Devuan/Stretch after being away for about 6 months. Starting at square one, kinda.

seems like fred has been busy since i've been gone. The script has some updates! :)

trying to to follow the examples from the isodata folder made by the script. but i noticed my grub doesn't understand the (hd0) syntax. One of my old working entries is:

Code: Select all

# DevuanLive_ascii-i386-jwm-xfce
menuentry "DevuanLive_ascii-i386-jwm-xfce" {
    search -f /DevuanLive_ascii-i386-jwm-xfce/live/vmlinuz1 --set=root 
    linux /DevuanLive_ascii-i386-jwm-xfce/live/vmlinuz1 from=/DevuanLive_ascii-i386-jwm-xfce changes=EXIT:/DevuanLive_ascii-i386-jwm-xfce/live/changes.dat 
    initrd /DevuanLive_ascii-i386-jwm-xfce/live/initrd1.xz}
does that mean i'm running a different version of grub than expected by the script?

i modified the first example given in the script, from:

Code: Select all

title Debian-PorteusDog (sda1) 
root (hd0,0) 
kernel (hd0,0)/live/vmlinuz1 noauto from=/ changes=/live/
initrd (hd0,0)/live/initrd1.xz
to:

Code: Select all

menuentry "Devuan will create automatically /live/changes" {
    search -f /Devuan/live/vmlinuz1 --set=root 
    linux /Devuan/live/vmlinuz1 noauto from=/ changes=/live/
    initrd /Devuan/live/initrd1.xz}
not booting. I'm getting something like "can't find vmlinuz1". Which makes sense-- there's no vmlinuz in the isobooter folder created by the script.

what was my error?

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

#1420 Post by fredx181 »

Hi johnywhy, welcome back !

Assuming you did create "Devuan" folder and placed the live folder inside, this should work with GRUB2:

Code: Select all

menuentry "Devuan will create automatically /Devuan/live/changes" {
    search -f /Devuan/live/vmlinuz1 --set=root
    linux /Devuan/live/vmlinuz1 noauto from=/Devuan/ changes=/Devuan/live/
    initrd /Devuan/live/initrd1.xz}
There should be vmlinuz1 in the "live" folder, if not, something went wrong with the build, I guess.
The from=... needs to be parent of "live", so in this case: from=/Devuan
And note that changes folder works only on ext2/3/4

EDIT:
seems like fred has been busy since i've been gone. The script has some updates! Smile
Not that I know of :roll:

Fred

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

#1421 Post by johnywhy »

thx Fred!

i made this devuan as:
- xfce
- 32-bit option checked
- removed conky.
- xz compression

yep, i created Devuan and put live folder (output by your script) inside it. It doesn't contain vmlinuz. Here's my dir:

12/15/2018 10:29 AM 3,796,992 01-filesystem.squashfs
12/16/2018 12:42 AM <DIR> base
12/14/2018 06:32 PM 136 initrd.img
12/14/2018 06:32 PM 1,021,796 initrd1.xz
12/16/2018 12:42 AM <DIR> modules
12/16/2018 12:42 AM <DIR> optional
12/16/2018 12:42 AM <DIR> rootcopy
05/26/2015 02:45 AM 437 stretch-i486.sgn
05/26/2015 02:45 AM 437 stretch-x86_64.sgn
11/16/2018 12:51 PM 32,768 zz_xfce_config.squashfs
7 File(s) 4,853,438 bytes
6 Dir(s) 17,435,467,776 bytes free

i just tried again, and still no vmlinuz.

in the past, have used Devuan successfully on my NTFS drive. Is ext a new requirement?

didn't you update in october? my last tries were a few months prior.

cheers!

Update: Just tried again, without 32bit checked. Got these errors:

Code: Select all

...
/usr/sbin/debootstrap: 1456: /usr/sbin/debootstrap: cannot create /media/johny/Docs/Downloads/Linux/Devuan/stretch/chroot/test-dev-null: Permission denied
E: Cannot install into target '/media/johny/Docs/Downloads/Linux/Devuan/stretch/chroot' mounted with noexec or nodev
....
Saving to: ‘isodata-stretch.tar.gz’

isodata-stretch.tar 100%[===================>] 158.07K   497KB/s    in 0.3s    

2018-12-16 10:26:59 (497 KB/s) - ‘isodata-stretch.tar.gz’ saved [161859/161859]

OK
Extracting...
OK
Copy scripts, required for porteus-boot, to the chroot...
OK
mount: chroot/proc: mount point does not exist.
mount: chroot/dev: mount point does not exist.
mount: chroot/sys: mount point does not exist.
mount: chroot/dev/pts: mount point does not exist.
chroot: failed to run command ‘/bin/bash’: No such file or directory
Unmounting mount binds in chroot
umount: chroot/proc: no mount point specified.
umount: chroot/dev/pts: no mount point specified.
umount: chroot/dev: no mount point specified.
umount: chroot/sys: no mount point specified.
Start extracting and creating new 'live' initrd files...
mv: cannot stat 'chroot/boot/initrd.img-*': No such file or directory
FAILED
gzip: initrd.img.gz: No such file or directory
cpio: premature end of archive
Creating initrd.img, please wait...
OK
Copy kernel modules, contents of lib/modules, from extracted 'live-boot' initrd
 to extracted 'porteus-boot' initrd skeleton, initrdport/lib/modules/ ...
cp: cannot stat 'initrdlive/lib/modules/*': No such file or directory
FAILED
Creating initrd1.xz, please wait...
OK
Copy initrd.img, initrd1.xz to isodata/live...
OK
Move vmlinuz, from chroot/boot/, to isodata/live/vmlinuz1 ...
mv: cannot stat 'chroot/boot/vmlinuz-*': No such file or directory
FAILED
mv: cannot stat 'chroot/var/cache/apt/archives/*.deb': No such file or directory
If configured, download extra .squashfs modules to isodata/live...
still no vmlinuz in live folder.

i remounted the partition without "nodev", and tried again. No longer getting the errors!
is this a new requirement?
will tell you shortly if i got vmlinuz, but looking good so far.

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

#1422 Post by fredx181 »

Hi johnywhy,
still no vmlinuz in live folder.
Yes, your output is full of errors, I suspect you did something unsupported, please give more details, e.g:
- from what type filesystem you ran the script (should be linux filesystem, e.g. ext3 or ext4)

Code: Select all

cannot create /media/johny/Docs/Downloads/Linux/Devuan/stretch
- You have full write permissions to that directory ? (seems not, looking at your output)
- From which OS you ran the script
in the past, have used Devuan successfully on my NTFS drive. Is ext a new requirement?
Not new, changes folder is (and was) only supported on ext
didn't you update in october? my last tries were a few months prior.

Ah, yes, update was changing package sources.

EDIT:
/usr/sbin/debootstrap: 1456: /usr/sbin/debootstrap: cannot create /media/johny/Docs/Downloads/Linux/Devuan/stretch/chroot/test-dev-null: Permission denied
No idea where this "test-dev-null" comes from, you have any clue ?

EDIT2:
i remounted the partition without "nodev", and tried again. No longer getting the errors!
is this a new requirement?
will tell you shortly if i got vmlinuz, but looking good so far.
Didn't read your last comment, sorry, I don't know about that 'nodev'.

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

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

#1423 Post by johnywhy »

deleted
Last edited by johnywhy on Sun 16 Dec 2018, 19:35, edited 1 time in total.
[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
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#1424 Post by johnywhy »

i remounted the partition without "nodev", and tried again. No longer getting the errors!
is this a new requirement?
will tell you shortly if i got vmlinuz, but looking good so far.
fredx181 wrote:changes folder is (and was) only supported on ext
ok, but just changes folder? or entire install, and also running the script?
[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

#1425 Post by fredx181 »

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

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]

Post Reply