The officially official Devuan Forum!

You are not logged in.

#1 2021-02-20 22:37:51

goll
Member
Registered: 2021-02-20
Posts: 2  

SOLVED - Is there a guide on installing Devuan through the CLI?

I want to install Devuan through the CLI (I want to fiddle with some settings because I want to be able to run it with / mounted as read-only, and I find it easier to do that kind of stuff on the command-line). I know about debootstrap and I found the mirror link on the Devuan website; but I can't chroot to the target because there's no shell installed (I tried running debootstrap while including bash, dash and busybox, but the three times debootstrap complained about the .deb file not existing). I could try to manually install a shell (from another system) but I wonder if there's a better solution.

the debootstrap command I ran:

# debootstrap --exclude=ca-certificates --include=runit --arch amd64 beowulf /mnt/target 'https://pkgmaster.devuan.org/devuan'

(I should add that the system I am running debootstrap is Gentoo, and maybe the version of debootstrap in Gentoo is different from the version used in Devuan; maybe I am missing a debootstrap script that I should be using, IDK)

Debian has a guide on installing through the CLI (and it's there that I found out about deboostrap) so I think it would be useful if Devuan had one as well.

Last edited by goll (2021-02-20 23:20:44)

Offline

#2 2021-02-20 22:57:49

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 542  

Re: SOLVED - Is there a guide on installing Devuan through the CLI?

You will want to use http://deb.devuan.org/merged instead.

I.e., the protocol should be http rather than https because the FQDN deb.devuan.org resolves to the collection of repository mirrors, and the local path should be /merged so as to properly trigger the web service rewrite rules that dispatch (bmo 302 redirecs) between pure debian packages and the forked devuan packages.

Offline

#3 2021-02-20 23:02:09

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 1,530  
Website

Re: SOLVED - Is there a guide on installing Devuan through the CLI?

goll wrote:

I can't chroot to the target because there's no shell installed

Please post the actual chroot command you're trying along with the full error message. The standard debootstrap command most certainly installs bash, it wouldn't be much use otherwise.

goll wrote:

Debian has a guide on installing through the CLI (and it's there that I found out about deboostrap) so I think it would be useful if Devuan had one as well.

Just follow https://www.debian.org/releases/stable/ … 03.en.html but download Devuan's debootstrap .deb package and use Devuan's mirrors (as noted above).


Black Lives Matter

Offline

#4 2021-02-20 23:16:24

goll
Member
Registered: 2021-02-20
Posts: 2  

Re: SOLVED - Is there a guide on installing Devuan through the CLI?

Thanks, I was using the wrong mirrors, now it works.

Offline

Board footer