Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Jan 2020, 08:06
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Create Debian 9 (Stretch) minimal ISO similar to DebianDog
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 81 of 103 [1533 Posts]   Goto page: Previous 1, 2, 3, ..., 79, 80, 81, 82, 83, ..., 101, 102, 103 Next
Author Message
anikin

Joined: 10 May 2012
Posts: 1020

PostPosted: Wed 27 Jun 2018, 16:26    Post subject:  

Here's what's needed for debootstrapping

Debian/Ubuntu:
http://ftp.debian.org/debian/pool/main/d/debian-archive-keyring/
http://archive.ubuntu.com/ubuntu/pool/main/u/ubuntu-keyring/
http://ftp.debian.org/debian/pool/main/d/debootstrap/

Devuan:
https://packages.devuan.org/devuan/pool/main/d/devuan-keyring/
https://packages.devuan.org/devuan/pool/main/d/debootstrap/

Devuan maintains its own version of debootstrap - don't use it on Debian/Ubuntu - only Devuan. Debootstrap doesn't really care what's in the host system's sources.list - it only needs to have a target mirrior. Also, it can't handle multiple mirrors - only one. A full target sources.list needs to be added at the chroot phase.
Back to top
View user's profile Send private message 
AndresC2

Joined: 08 Jul 2017
Posts: 76

PostPosted: Thu 28 Jun 2018, 01:57    Post subject:  

Very Happy Hi Fred

aufs 4.9.0-6-686 from debian Stretch works in Devuan?

or i have that build a new one for Devuan.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4250
Location: holland

PostPosted: Thu 28 Jun 2018, 05:19    Post subject:  

dancytron wrote:
Perhaps an artifact of when the Devuan script failed the first time, but I have the Devuan version of debbootstrap now instead of the stock Debian version. My /etc/apt/sources.list file and /etc/apt/sources.list.d/google-chrome.list files look fine and have no hint of Devuan.


Hi Dan, I can imagine your concern, but it's really no problem to have the devuan debootstrap installed on Debian Stretch, it supports all sorts of other releases, see screenshot (but if you want, you can upgrade it again to original Debian debootstrap version).
The devuan debootstrap deb is downloaded and installed by the mklive-devuan script because it's needed to find the "ascii" release, which is not supported by the Debian debootstrap.
Btw, in case you'd run "mklive-stretch" it will be upgraded to original Debian version.

Quote:
Any other Devuan files I ought to look for and reinstall the Debian versions?

No, only debootstrap, nothing else.

@AndresC2
Quote:
aufs 4.9.0-6-686 from debian Stretch works in Devuan?

Yes, it does work.
2018-06-28-110131_911x472_scrot_611x317.png
 Description   Devuan debootstrap supports many Debian/Ubuntu releases.
 Filesize   99.46 KB
 Viewed   703 Time(s)

2018-06-28-110131_911x472_scrot_611x317.png


_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
anikin

Joined: 10 May 2012
Posts: 1020

PostPosted: Thu 28 Jun 2018, 15:14    Post subject:  

Quote:
...it's really no problem to have the devuan debootstrap installed on Debian Stretch, it supports all sorts of other releases, see screenshot...
Problem or no problem to have debootstrap installed is absolutely irrelevant in this context. What's relevant though is this: the Devuan version of debootstrap is a special, "Devuanized" build. It does NOT *support all sorts of other releases*. The attached image with symlinks to various releases doesn't carry much weight. If you guys want to prove me wrong go and build *any kind* of releases outside Devuan and post the results here. Here's some food for thought:

Code:
debootstrap (1.0.89-devuan2.1) unstable; urgency=medium

  * add recipes for ascii, beowulf, ceres, and relink jessie
  * append devuan-specific packages to $base; change mirrors to devuan
  * remove debian/tests
  * devuanize debian/control
  * add devuan-specific gbp.conf; switch format to 3.0 (quilt)
  * teach debian/rules about Devuan

 -- Ivan J. <parazyd@dyne.org>  Tue, 07 Nov 2017 16:10:30 +0100
......................
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4250
Location: holland

PostPosted: Thu 28 Jun 2018, 16:27    Post subject:  

I did test already with stretch (and devuan debootstrap installed) before my previous post, did it again now and here's the proof that it works:

Code:
root@live:~# apt-cache policy debootstrap
debootstrap:
  Installed: 1.0.87+devuan1.1
  Candidate: 1.0.87+devuan1.1
  Version table:
 *** 1.0.87+devuan1.1 100
        100 /var/lib/dpkg/status

root@live:/mnt/sda5# mkdir -p stretch/chroot && cd stretch &&
> debootstrap --arch=i386 --variant=minbase --include=apt-transport-https,ca-certificates stretch chroot http://ftp.us.debian.org/debian/
I: Retrieving InRelease
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 067E3C456BAE240ACEE88F6FEF0F382A1A7B6500)
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: libaudit-common libaudit1 libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 liblz4-1 libncursesw5 libsemanage-common libsemanage1 libsystemd0 libudev1 libustr-1.0-1
I: Found additional base dependencies: adduser debian-archive-keyring gpgv libapt-pkg5.0 libcurl3-gnutls libffi6 libgmp10 libgnutls30 libgssapi-krb5-2 libhogweed4 libidn11 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libnettle6 libnghttp2-14 libp11-kit0 libpsl5 librtmp1 libsasl2-2 libsasl2-modules-db libssh2-1 libssl1.1 libstdc++6 libtasn1-6 libunistring0 openssl
I: Checking component main on http://ftp.us.debian.org/debian...
I: Retrieving libacl1 2.2.52-3+b1
I: Validating libacl1 2.2.52-3+b1
I: Retrieving adduser 3.115
I: Validating adduser 3.115
I: Retrieving apt 1.4.8
I: Validating apt 1.4.8
I: Retrieving apt-transport-https 1.4.8
I: Validating apt-transport-https 1.4.8
I: Retrieving libapt-pkg5.0 1.4.8
I: Validating libapt-pkg5.0 1.4.8
I: Retrieving libattr1 1:2.4.47-2+b2
I: Validating libattr1 1:2.4.47-2+b2
I: Retrieving libaudit-common 1:2.6.7-2
I: Validating libaudit-common 1:2.6.7-2
....
....
....
I: Base system installed successfully.
root@live:/mnt/sda5/stretch#

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
AndresC2

Joined: 08 Jul 2017
Posts: 76

PostPosted: Fri 29 Jun 2018, 00:18    Post subject:  

Very Happy Hi Fred

All the "auto.mirror.devuan.org" work fine

but

All the "pkgmaster.devuan.org" not work for me
Back to top
View user's profile Send private message 
anikin

Joined: 10 May 2012
Posts: 1020

PostPosted: Fri 29 Jun 2018, 01:52    Post subject:  

I stand corrected. Ran a quick build of stretch using Devuan debootstrap and it worked. Here's the thing, though: all the debootstrap versions are bug fix releases. Keeping that in mind, I always use the latest and *separate* versions of debootstrap and will never use the Devuan version to build stretch.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4250
Location: holland

PostPosted: Sun 01 Jul 2018, 07:41    Post subject:  

Here's kernel 4.16.0 from stretch-backports modified for use with Stretch-Live or StretchDog (added aufs support)
To be used on a frugal install only, see README.

README-kernel-backports.txt:
https://debiandog.github.io/MakeLive/kernel-stretch-backports/README-kernel-backports.txt
32-bit:
https://debiandog.github.io/MakeLive/kernel-stretch-backports/kernel-4.16.0-0.bpo.2-686-pae.tar.gz
64-bit:
https://debiandog.github.io/MakeLive/kernel-stretch-backports/kernel-4.16.0-0.bpo.2-amd64.tar.gz

I'd appreciate testing/feedback because so far I could only test on one machine.

EDIT: Forgot to test on USB (doesn't work with USB, only on HDD), will replace download links later, need to test more before making a fix.

EDIT2: Removed links to the 4.16 kernel setup, sorry, something to be worked on in the future, for now too many problems to make it work properly on all (or most) hardware, (see below testing results from rcsrsn51)

EDIT3: Re-uploaded 4.16.0 stretch-backports tar.gz archives, download links above, should be fixed now to work on most hardware.
See also info here:
http://murga-linux.com/puppy/viewtopic.php?p=998189#998189

Fred

_________________
Dog Linux website
Tinylinux blog by wiak

Last edited by fredx181 on Fri 06 Jul 2018, 15:29; edited 5 times in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12931
Location: Stratford, Ontario

PostPosted: Sun 01 Jul 2018, 08:56    Post subject:  

I tried this on a machine that has the k4.9.0-porteus-won't-boot bug and it does NOT work either!

There must be something about how Debian builds its kernels that Porteus doesn't like with some hardware.

The Xenial k4.9.13 kernel still works fine.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4250
Location: holland

PostPosted: Sun 01 Jul 2018, 09:07    Post subject:  

rcrsn51 wrote:
I tried this on a machine that has the k4.9.0-porteus-won't-boot bug and it does NOT work either!

There must be something about how Debian builds its kernels that Porteus doesn't like with some hardware.

The Xenial k4.9.13 kernel still works fine.


OK, pity, thanks for testing anyway, is this problem on 64-bit only ?

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12931
Location: Stratford, Ontario

PostPosted: Sun 01 Jul 2018, 09:15    Post subject:  

I only tried the 32bit, but I expect that the 64bit would fail too.

If you boot with the "debug" option, then run "blkid", you can see the problem. Porteus cannot detect all the available drives.

The most common situation for me is when booting off a USB device. When GRUB passes control over to Porteus, it cannot find the USB drive, so it can't find the "live" folder.

Using the "wait" option does NOT help. It's like the USB subsystem has gone dead.

But I have also seen it where Porteus cannot find the hard drive.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4250
Location: holland

PostPosted: Sun 01 Jul 2018, 10:58    Post subject:  

Hi Bill, I must confess that I didn't test on USB earlier, did now, and didn't work for me either.
With this initrd1.xz it works for me now, can you test if you have time ?
(added more kernel modules to be loaded in linuxrc (init script for porteus-boot))
32-bit initrd1.xz for kernel 4.16.0:
https://dl.dropboxusercontent.com/s/z0jghetqk28sttb/initrd1.xz?dl=1

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12931
Location: Stratford, Ontario

PostPosted: Sun 01 Jul 2018, 11:18    Post subject:  

Sorry. That didn't fix it for me.

But I only have the USB boot problem with newer hardware. It works fine on old stuff with the stock k4.9.0 kernel. Maybe a USB3 issue?

If I set up the flash drive with the Xenial kernel and get booted, I can then do a frugal install to the hard drive with the stock kernel.

[Update] That version of initrd1.xz was worse. Porteus could not find my USB keyboard.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4250
Location: holland

PostPosted: Sun 01 Jul 2018, 11:51    Post subject:  

OK, thanks again Bill, I give up for the time being (and removed the download links for 4.16 kernel above), I wish I had more hardware to test on, then I could possibly fix these problems. Confused

Btw, how you got that 4.9 Xenial kernel you talked about ?
And did you ever test using "live-boot" with this "porteus-boot problematic" hardware ?
For me "live-boot" always works if there are cases that porteus-boot doesn't.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12931
Location: Stratford, Ontario

PostPosted: Sun 01 Jul 2018, 11:58    Post subject:  

The xenial kernel is from here.

I once tried the live-boot method and it worked. But setting up persistence was much more difficult, so I scrapped it.

But if I only need a USB boot for purposes of doing a hard drive install, maybe that would be OK.

I will look at this some more.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 81 of 103 [1533 Posts]   Goto page: Previous 1, 2, 3, ..., 79, 80, 81, 82, 83, ..., 101, 102, 103 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1787s ][ Queries: 12 (0.0530s) ][ GZIP on ]