The officially official Devuan Forum!

You are not logged in.

#1 2020-07-24 15:08:08

r3fr3sh
Member
Registered: 2020-07-24
Posts: 2  

kali to devuan

I'm reading on your site about migrating from debian to devuan.
https://devuan.org/os/install


I am running kali currently :  uname -a output
Linux kali 5.3.0-kali2-amd64 #1 SMP Debian 5.3.9-3kali1 (2019-11-20) x86_64 GNU/Linux

what would be (if any) a recommendation to migrate from kali to devuan?

Offline

#2 2020-07-24 15:42:23

HevyDevy
Member
Registered: 2019-09-06
Posts: 295  

Re: kali to devuan

r3fr3sh wrote:

I'm reading on your site about migrating from debian to devuan.
https://devuan.org/os/install


I am running kali currently :  uname -a output
Linux kali 5.3.0-kali2-amd64 #1 SMP Debian 5.3.9-3kali1 (2019-11-20) x86_64 GNU/Linux

what would be (if any) a recommendation to migrate from kali to devuan?

Why not try it the other way around, install devuan ceres (unstable) and edit in kali repos and see what breaks first?


everyday is a beautiful day

eric the hobo

Offline

#3 2020-07-24 16:08:12

r3fr3sh
Member
Registered: 2020-07-24
Posts: 2  

Re: kali to devuan

lol... that's what i was thinking to do, but then i saw the migrating options on the site and wondered if that would be possible to do with Kali.

Offline

#4 2020-07-24 17:44:16

golinux
Administrator
Registered: 2016-11-25
Posts: 1,981  

Re: kali to devuan

Posts about Kali are not even answered on the Debian forum because Kali is not Debian.  Devuan is even further away from Debian.  Did you try searching for "kali" on this forum?  There are some mentions here and there which could possibly be useful to you.  FYI, ParrotSec OS is building a version on Devuan so there may be some pointers if you check that out.

Online

#5 2020-07-24 17:58:25

nixer
Member
From: North Carolina, USA
Registered: 2016-11-30
Posts: 90  

Re: kali to devuan

FWIW - for what it's worth, I just migrated from Kali to Beowulf using the kali netinstall.iso.

Using the instructions on this page, I only slightly deviated from these instructions.

To keep it short and sweet, I -
- updated the kali install, added devuan's sources in sources.list, commented out the kali sources

apt install eudev

(will get errors, do not reboot)

apt -f install

This is the extra step not noted on the link above.  sysvinit-core did not get pulled in

apt install sysvinit-core

 

reboot

apt purge systemd* libnss-systemd

apt dist-upgrade

- alter /etc/network/interfaces to rename en0ps (??) to eth0

service networking restart

apt install libelogind0

- check with command

dpkg -l | grep systemd

Returns nothing, so sysd here.


I downloaded the kali virtualbox file and will try this out on it now.  Will report back.

Edit:
While the netinstall.iso worked, the full kali install did not.  At least I got a dead end.  Now I see above why the recommendation above was to start at ceres and see what broke. 
A current kali to beowulf migration was not successful in large part because kali uses a newer version of dbus.  An attempt to use ceres or chimaera may be more successful.

root@kali:/home/kali# apt policy dbus
dbus:
  Installed: 1.12.20-1
  Candidate: 1.12.20-1
  Version table:
*** 1.12.20-1 100
        100 /var/lib/dpkg/status
     1.12.16-1+devuan2 500
        500 http://deb.devuan.org/merged beowulf/main amd64 Packages

And trying to downgrade dbus to devuan's version resulted in 934mb of packages to be removed.  Oh well, it was fun trying.

Last edited by nixer (2020-07-24 18:59:10)

Offline

#6 2020-07-25 10:43:13

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,593  

Re: kali to devuan

Another option is to start with devuan and kalify it with this script.
https://github.com/LionSec/katoolin

I tried it in January and it works. I think the script gives you choices of different groups of packages to install, and I think I either chose not to install all of them or could not install some of them. There's a list of missing packages in my work directory, but I don't recall why they are missing.

Offline

Board footer