Create Debian 9 (Stretch) minimal ISO similar to DebianDog

A home for all kinds of Puppy related projects
Message
Author
User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#1171 Post by Galbi »

Thanks again Fred, I'll try that, but now something more urgent appeared.
I need the kernel sources for this new kernel (4.14.12) and there are not in the usual repositories. They are necesary to build the VirtualBox kernel module. I must run Vbox to run Win7 for work.
My idea is to migrate from 32bit to 64bit.

Sorry for so many questions. :oops:
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

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

#1172 Post by fredx181 »

Galbi wrote:I need the kernel sources for this new kernel (4.14.12) and there are not in the usual repositories. They are necesary to build the VirtualBox kernel module. I must run Vbox to run Win7 for work.
That I don't know, maybe best then to switch to "live-boot" again, as you did earlier.
Then you can install "linux-headers" package and build the VirtualBox kernel module.

Fred

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

#1173 Post by rcrsn51 »

Galbi wrote:I need the kernel sources for this new kernel (4.14.12) and there are not in the usual repositories.
What about here.

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

#1174 Post by Galbi »

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

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

#1175 Post by fredx181 »

rcrsn51 wrote:
Galbi wrote:I need the kernel sources for this new kernel (4.14.12) and there are not in the usual repositories.
What about here.
Hi Galbi, just curious, did this work for you to build the VirtualBox kernel module ?

Fred

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

#1176 Post by Galbi »

Yes, very well and also compiled the foo2zjs driver so now I can print in the HP1020 attached to a Win7 machine.

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

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

#1177 Post by rcrsn51 »

Galbi wrote:... also compiled the foo2zjs driver so now I can print in the HP1020 attached to a Win7 machine.
What connection protocol are you using in your CUPS setup? Some type of smb://?

Your HP1020 may work with the hplip-print-scan package in Fred's repo. It contains the plugin stuff required by this old printer.

Could you test it for me?

Bill

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

#1178 Post by Galbi »

rcrsn51 wrote:What connection protocol are you using in your CUPS setup? Some type of smb://?

Your HP1020 may work with the hplip-print-scan package in Fred's repo. It contains the plugin stuff required by this old printer.

Could you test it for me?
Sure, give me a little time.

With the hplip-print-scan package, should I also use the smb://host/printer protocol?
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

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

#1179 Post by rcrsn51 »

Galbi wrote:With the hplip-print-scan package, should I also use the smb://host/printer protocol?
Yes. You will just select the printer differently from the HP Model list. Choose the hplip model, not the foo2xxx model.

What have you installed that is providing the smb:// CUPS backend?

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

#1180 Post by Galbi »

rcrsn51 wrote:What have you installed that is providing the smb:// CUPS backend?
Samba, smbclient and all the dependencies suggested by Synaptic.

Then borrowed the /etc/samba/smb.conf from the StretchDog32b that was using and know that works.
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

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

#1181 Post by Galbi »

Reporting:
The hplip-print-scan package went well, quite easy. Done in a fresh install of StretchDog64.
HP1020 (Idle, Accepting Jobs, Not Shared)
Description: HP1020
Location: Gabinete
Driver: HP LaserJet 1020, hpcups 3.18.3, requires proprietary plugin (color, 2-sided printing)
Connection: smb://LALA2014/Gabinete-HP1020
Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=one-sided
Tell me if you need more testing.

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

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

#1182 Post by rcrsn51 »

[Edit] Removed.

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

Frisbee Network Manager 1.4.8

#1183 Post by zagreb999 »

IS THERE NEW FRISBEE FOR DEBIANDOG?

Frisbee Network Manager 1.4.8
http://www.murga-linux.com/puppy/viewtopic.php?t=106426

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

#1184 Post by fredx181 »

*** mklive-devuan for testing ***
============================================
Update 2020-02-13: below attachement replaced, change is:
Fixed that kernel 4.9.0-8 could not be found (is removed from Devuan repo)
Install latest kernel 4.9.0-12
============================================

============================================
Update: below attachement replaced, change is:
Install latest kernel 4.9.0-8
============================================
To my surprise it took very little effort to modify "mklive-stretch" script to build a Devuan live "ascii" ISO (similar to DebianDog).
I guess this is proof of how close Devuan is to Debian)
Changes in script:
- Download and install the debootstrap package from devuan (otherwise it wouldn't find the ascii release (=stretch))
- Changed debootstrap command to:

Code: Select all

debootstrap --arch=$ARCH --variant=minbase --include=apt-transport-https,ca-certificates ascii chroot http://packages.devuan.org/merged
- Changed repositories pointing to devuan packages (also StretchDog repository included)
- Changed name of ISO to be created

The working directory I kept "stretch", same as mklive-stretch, so if exist, it may conflict, better rename first before building with mklive-devuan.

EDIT 2019-04-01 Sorry, accidentally removed the built ISO's from dropbox, so below links are dead

ISO Minimal Openbox 32-bit, first of the Desktop variants, size: 220MB, main .squashfs is gzip compressed:
EDIT (an hour later): new download link, forgot to have the "contrib" and "non-free" repositories included in sources.list, now added, the JWM version has that already, btw.
https://dl.dropboxusercontent.com/s/o6g ... 6.iso?dl=1
ISO Minimal JWM 32-bit, third of the Desktop variants, size: 222MB, main .squashfs is gzip compressed:
https://dl.dropboxusercontent.com/s/01r ... 6.iso?dl=1

Attached mklive-devuan script (remove fake .gz)

EDIT2: Tested also 64-bit build now and works fine, JWM iso:
https://dl.dropboxusercontent.com/s/88q ... 4.iso?dl=1

EDIT3: For now the "Full Dog" Desktop choices won't work because they have systemd in the package install list.
To make it work you can remove everything which contains the name systemd from the editable install list. (see pic, gui) EDIT: pic removed, no use anymore, see below.

EDIT4: Attached new mklive-devuan script, some small fixes and changed title and text of yad gui according to being devuan ascii.
Removed systemd from the install lists in the config files (loaded from github) used by mklive-stretch and mklive-devuan.
This fixes the problem for Devuan that it can't find systemd (and Debian will install systemd automatically, not required to specify)

EDIT5: 2018-09-21, fix: package repository "auto-mirror...." is expired, changed now to pkgmaster.devuan.org

EDIT 2018-10-23, re-attached, changed http address for debootstrap
EDIT few minutes later, re-attached, made small change to the wget command for downloading debootstrap

Fred
Attachments
mklive-devuan.gz
Update 20200213: Install latest kernel 4.9.0-12, remove fake .gz and make executable
(51.56 KiB) Downloaded 96 times
Last edited by fredx181 on Sat 15 Feb 2020, 16:46, edited 19 times in total.

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

#1185 Post by rcrsn51 »

I got the openbox ISO and installed it with the stretch-live-frugal-install tool. This worked fine.

I then tried to install unzipper from your repo via apt-get. But Devuan reported that the unrar package was not available and quit.

So I made a local unzipper.deb package that omitted unrar and tried to install it with right-click/install deb.

That failed completely because NO dependent packages could be found.

So I installed the dependencies separately via apt-get and tried again. Then right-click/install deb worked.

[Edit] I tried installing some other local .deb packages and they worked OK. Their dependencies were found.

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

#1186 Post by fredx181 »

rcrsn51 wrote:I then tried to install unzipper from your repo via apt-get. But Devuan reported that the unrar package was not available and quit.

So I made a local unzipper.deb package that omitted unrar and tried to install it with right-click/install deb.

That failed completely because NO dependent packages could be found.
Yes, I see, that should be because of that "contrib" and "non-free" was missing in sources.list (unrar is from non-free)
I uploaded new build of the Openbox ISO, see EDIT in my above post (should be a fair comparison with Stretch-Live), but you can also change it manually in /etc/apt/sources.list to:

Code: Select all

deb https://fredx181.github.io/StretchDog/i386/Packages/ ./
## package repositories
deb http://auto.mirror.devuan.org/merged ascii main contrib non-free  
deb http://auto.mirror.devuan.org/merged ascii-updates main contrib non-free  
deb http://auto.mirror.devuan.org/merged ascii-security main contrib non-free  
#deb http://auto.mirror.devuan.org/merged ascii-backports main
EDIT: Made also 64-bit build now, see EDIT2 above for ISO jwm download.

Fred

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

#1187 Post by rcrsn51 »

Excellent. That fixed it.

I installed a Palemoon squashfs module and Firefox-apulse. They both worked.

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

#1188 Post by fredx181 »

rcrsn51 wrote:Excellent. That fixed it.

I installed a Palemoon squashfs module and Firefox-apulse. They both worked.
Very nice, thanks for testing.
Looks to me that ascii is the same as stretch, except the lack of systemd of course. Although Stretch-Live has a basic systemd installed, it's not really depending on it, e.g it's booting with the old initscripts (but anyone correct me if I'm wrong).
From what I tested this Devuan-Live works fine (e.g. installing packages), just the same as in Stretch-Live.

Fred

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

#1189 Post by rcrsn51 »

The most "system-dependent" app I have is bt4stretch. It works fine in Devuan.

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

#1190 Post by dancytron »

Didn't work for me.

I tried the XFCE4 choice. The only thing I changed was to not install the browser (Firefox ESR).

Near the beginning, I got this message.
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/devuan-archive-keyring.gpg
It then gave this message right before it failed and exited to the command prompt. It didn't get to the point that it built anything to put in /live.
Package systemd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
udev systemd-coredump systemd-container libsystemd-dev libnss-resolve
libnss-mymachines libnss-myhostname systemd-bootchart ifupdown

E: Package 'systemd' has no installation candidate
Sorry, there are one or more errors, see above.
Could be a typo in a package name.
Exiting . . .
Unmounting mount binds in chroot
This is the menu.1st entry I use, note it uses systemd, that might be the issue.
#main Stretchdog formerly known as Chromedog

title ChromeDog64 (sda2) noauto from=/ChromeDog64/ changes=EXIT:/ChromeDog64/
root (hd0,1)
kernel (hd0,1)/ChromeDog64/live/vmlinuz1 noauto init=/bin/systemd from=/ChromeDog64/ changes=EXIT:/ChromeDog64/
initrd (hd0,1)/ChromeDog64/live/initrd1.xz

Post Reply