You are not logged in.
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
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
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.
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).
Brianna Ghey — Rest In Power
Offline
Thanks, I was using the wrong mirrors, now it works.
Offline