The officially official Devuan Forum!

You are not logged in.

#26 Re: Installation » Debian->Devuan Install Notes » 2023-09-06 23:39:36

HI aluma,

Thanks  for your  reply.

No pain here, only a request to original author correct their notes.

And link to instaling Devuan and  a custom kernel.
Always useful.

BTW I have already installed as a dual boot on a lappie https://dev1galaxy.org/viewtopic.php?pid=44111#p44111

cheers

- rdav

#27 Re: Off-topic » Show your desktop (rebooted) » 2023-09-06 23:33:02

Hi All,
Screenshot showing current lappie with compiled wm: e16 and hand rolled e16 and gkrellm theme Burgundy-Jewel.
yep I'm ole school, using Linux for over 20yrs.
Thanks for a super stable  Linux OS tht is systemd free!
been supplrting me for nearly a decade!
cheers and enjoy the bling ;-)
gkrell-Shoot-09-07-23-092157.jpg

#29 Hardware & System Configuration » [SOLVED] How to daemonize Timeshift so it can be run as a service? » 2023-09-06 00:43:07

rdav
Replies: 5

Hi All,

I am looking for clues on to run timeshift as a system daemon.
https://github.com/linuxmint/timeshift

This is so timeshift is started by init on bootup or manually as a service.

So far I have found notes on how to daemonize for a systemd system, which wouldn't work with Devuan.

Please point me in the right direction so I can learn how to do this!

thanks in advance!

- rdav

#30 Re: Installation » Debian->Devuan Install Notes » 2023-09-06 00:25:53

Hi Esleep,

Thank you for the effort in presenting your detailed system install notes!

From the printout you provide from the command "pstree" it appears your system is running systemd.

xfin@ity:~$ pstree

systemd─┬─ModemManager───2*[{ModemManager}]
        ├─NetworkManager───2*[{NetworkManager}]
        ├─acpid
        ├─agetty
        ├─dbus-daemon

This isn't possible with Devuan as it uses "init" to boot the system.

from my lappie running Devuan 5:

root@pipz:~# pstree
init─┬─ModemManager───2*[{ModemManager}]
     ├─NetworkManager───2*[{NetworkManager}]
     ├─apache2─┬─apache2
     │         └─2*[apache2───26*[{apache2}]]
     ├─at-spi-bus-laun─┬─dbus-daemon
     │                 └─3*[{at-spi-bus-laun}]
     ├─at-spi-bus-laun───3*[{at-spi-bus-laun}]
     ├─at-spi2-registr───2*[{at-spi2-registr}]

Please think about revising your notes to show the install of a system that is systemd-free.

Thanks in advance!

- rdav

#31 Re: Hardware & System Configuration » [SOLVED] No Keyboard or Mouse in Xfce4 » 2023-08-17 06:56:49

thanks mknoop!
After update to ceres l can verify that LIBUDEV_247 is support is now in libgudev-1.0-0

$ mcview -b /lib/x86_64-linux-gnu/libudev.so.1 
/lib/x86_64-linux-gnu/libudev.so.1: symbolic link to libudev.so.1.6.3
0000000000000000 A LIBUDEV_183
0000000000000000 A LIBUDEV_189
0000000000000000 A LIBUDEV_196
0000000000000000 A LIBUDEV_199
0000000000000000 A LIBUDEV_215
0000000000000000 A LIBUDEV_247

logged out and restarted slim, all good!

- r

#32 Re: Hardware & System Configuration » [SOLVED] No Keyboard or Mouse in Xfce4 » 2023-07-28 23:35:31

Hi xinomillo,
Thanks for the very helpful instructions, now I have a working machine!

The steps I did:
Get to a cli screen:
reboot to "recovery mode", enter root password and log in as root.
or via ssh in from another machine.

Assess using "less" /var/log/Xorg.0.log.
Using "/" to search for "EE" and find this error:

$ less /var//log/Xorg.0.log
.
[   458.417] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   458.418] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: /lib/x86_64-linux-gnu/libudev.so.1: version `LIBUDEV_247' not found (required by /usr/lib/x86_64-linux-gnu/libgudev-1.0.so.0)
[   458.418] (EE) Failed to load module "libinput" (loader failed, 0)
[   458.418] (EE) No input driver matching `libinput'

check apt policy for libgudev-1.0-0:

 $ sudo apt policy libgudev-1.0-0
libgudev-1.0-0:
  Installed: 238-2
  Candidate: 238-2
  Version table:
 *** 238-2 100
        100 http://deb.devuan.org/merged ceres/main amd64 Packages
        100 /var/lib/dpkg/status

Add testing repo to /etc/apt/sources.list

 deb http://deb.devuan.org/merged/ testing contrib non-free main non-free-firmware 
 deb http://deb.devuan.org/merged/ testing-updates contrib non-free main non-free-firmware
 deb http://deb.devuan.org/merged/ testing-security contrib non-free main non-free-firmware

updated apt:

# apt update

checked apt policy for libgudev-1.0-0 and now 237-2 has been added

# apt policy libgudev-1.0-0
libgudev-1.0-0:
  Installed: 238-2
  Candidate: 238-2
  Version table:
 *** 238-2 100
        100 http://deb.devuan.org/merged ceres/main amd64 Packages
        100 /var/lib/dpkg/status
     237-2 500
        500 http://deb.devuan.org/merged testing/main amd64 Packages

Install libgudev-1.0-0 from testing:

$ sudo apt install libgudev-1.0-0/testing
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '237-2' (Devuan:5.0/testing [amd64]) for 'libgudev-1.0-0'
The following packages were automatically installed and are no longer required:
  libavdevice59 libavfilter8 libpostproc56
Use 'sudo apt autoremove' to remove them.
The following packages will be DOWNGRADED:
  libgudev-1.0-0
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 40 not upgraded.
Need to get 0 B/15.1 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue? [Y/n] 
dpkg: warning: downgrading libgudev-1.0-0:amd64 from 238-2 to 237-2
(Reading database ... 371412 files and directories currently installed.)
Preparing to unpack .../libgudev-1.0-0_237-2_amd64.deb ...
Unpacking libgudev-1.0-0:amd64 (237-2) over (238-2) ...
Setting up libgudev-1.0-0:amd64 (237-2) ...
Processing triggers for libc-bin (2.37-6) ...

Restart display-manager slim:

$ sudo service slim restart
Stopping X display manager: slim.
Starting slim: slim.

log in and enjoy the systemd freedom!

#33 Re: Hardware & System Configuration » [SOLVED] No Keyboard or Mouse in Xfce4 » 2023-07-28 09:59:08

thanks for the speedy replies!

alexkemp:
startxfce4 has the same result, as in no keyboard or mouse.
Due to the underlying gui framework been broken.

xonomilo:
Rolling libgudev-1.0-0 to 237-2 isn't as easy as sounds
libgudev isn't going quietly.
checking on libgudev-1.0-0 that is installed

rd@beanz:~$ dpkg -l | grep libgudev
ii  libgudev-1.0-0:amd64                           238-2                                  amd64        GObject-based wrapper library for libudev

attempting to downgrade to 237-2

rd@beanz:~$ sudo apt install libgudev-1.0-0=237-2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libgudev-1.0-0 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

E: Version '237-2' for 'libgudev-1.0-0' was not found

Attempting to remove libgudev-1.0-0

rd@beanz:~$ sudo apt remove libgudev-1.0-0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libinput10 : Depends: libwacom9 (>= 2.0.0) but it is not going to be installed
              Depends: libinput-bin (>= 1.23.0-2) but it is not going to be installed
 libqt5svg5 : Depends: libqt5widgets5 (>= 5.15.10+dfsg~) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Asking atp to remove libinput10, this would remove 230 packages and free 930MB!

I am unsure what to do next, other than getting a list of manually installed packages and rolling back to Daedalus or Chimaera.
Reading closer on the link you posted, looking like systemd is moving to stop non-systemd distros via udev.
Thanks again for your help.

#34 Hardware & System Configuration » [SOLVED] No Keyboard or Mouse in Xfce4 » 2023-07-28 08:32:34

rdav
Replies: 7

Hi All,

No keyboard or mouse at the display manager gui display. 
However, can ssh into the box and disable the display manager and boot into cli.
Its then possible to then run startx into xfce4.
However,  still no keyboard and the mouse cursor is stuck in middle of the screen.

After following instructions from https://forums.debian.net/viewtopic.php … 18#p718218
as in reinstalling xserver-xorg-input-libinput and reconfiguring udev, the keyboard and mouse are still unresponsive in gui.

here is apt policy file:  http://ix.io/4BGj
here is Xorg.0.log file:  http://ix.io/4BGl

thanks in advance for help to get this sorted!

- r

#35 Desktop and Multimedia » Guake drop down monitor error with Python3.11 » 2023-06-19 01:01:14

rdav
Replies: 1

Hi All,
Guake is refusing to run on my lappie.

cli output follows:

$ guake 
Guake not running, starting it
Loading Gnome schema from: /usr/share/glib-2.0/schemas
Language previously loaded from: /usr/share/locale

(guake:6488): Gtk-WARNING **: 10:46:41.783: Theme parsing error: gtk.css:5:58: Failed to import: The resource at “/org/gnome/adwaita/gtk-main.css” does not exist
Gtk-Message: 10:46:41.805: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 10:46:41.805: Failed to load module "colorreload-gtk-module"
Guake Terminal 3.9.0
VTE 0.70.6
Gtk 3.24.37
created fresh notebook for workspace 0
Spawning new terminal at /home/rd
current workspace is 0

** (guake:6488): WARNING **: 10:46:41.945: Binding 'F12' failed!
can't bind show-focus key
Cannot find session.json file
Guake initialized
Calling startup script: xset b off &
Traceback (most recent call last):
  File "/usr/bin/guake", line 33, in <module>
    sys.exit(load_entry_point('guake==3.9.0', 'console_scripts', 'guake')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/guake/main.py", line 648, in exec_main
    if not main():
           ^^^^^^
  File "/usr/lib/python3/dist-packages/guake/main.py", line 630, in main
    pid = subprocess.Popen(  # pylint: disable=consider-using-with
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.11/subprocess.py", line 1950, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'xset b off &'

your help is appreciated in fixing this!

#37 Hardware & System Configuration » [SOLVED] Ethernet not coming up in Ceres » 2023-05-20 07:01:31

rdav
Replies: 1

Hi,
This is on a HP-8770w Elitebook laptop.
Running Ceres and isn't connecting eth0 to use the wired network.
The wifi does work, though I want the internal nic as its faster for large datasets.
The internal nic and network do indeed work, both run well in bootable Devan Live.

Thanks in advance with your help with this frustrating problem!

The OS:

$ cat /etc/devuan_version 
daedalus/ceres
$ cat /etc/debian_version 
12.0
$ uname -a
Linux beanz 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux

Some info on the nic and config files:
Using as "eth0" in Network Manager.

$ sudo cat /etc/NetworkManager/system-connections/eth0.nmconnection 
[connection]
id=eth0
uuid=dc36b218-f0c6-4c3d-bd29-b47860b78a36
type=ethernet
autoconnect-priority=1
interface-name=eth0

[ethernet]
mac-address=XX:XX:XX:XX:XX:XX

[ipv4]
address1=192.168.1.16/24,192.168.1.1
dns=192.168.1.1;
method=manual

[ipv6]
addr-gen-mode=stable-privacy
method=auto

[proxy]

lspci

lspci | grep -e "Ethernet\|Network"
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
25:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 3e)

dmesg

$ sudo dmesg | grep eth0
[    3.523956] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) XX:XX:XX:XX:XX:XX
[    3.523965] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[    3.524011] e1000e 0000:00:19.0 eth0: MAC: 10, PHY: 11, PBA No: FFFFFF-0FF
[  350.827143] e1000e 0000:00:19.0 eth0: NIC Link is Down
[  610.947457] e1000e 0000:00:19.0 eth0: NIC Link is Down

ifconfig:

$ sudo ifconfig -a
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether XX:XX:XX:XX:XX:XX  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 17  memory 0xd9500000-d9520000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12524  bytes 1113687 (1.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12524  bytes 1113687 (1.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.109  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 XXXX:XXXX:XXXX:XXXX:XXXX  prefixlen 64  scopeid 0x20<link> 
        inet6 XXXX:XXXX:XXXX:XXXX:XXXX  prefixlen 64  scopeid 0x20<link>
        ether XX:XX:XX:XX:XX:XX  txqueuelen 1000  (Ethernet)
        RX packets 233843  bytes 298900929 (285.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 109268  bytes 17173799 (16.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

iplink

$ ip link show eth0
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff

ethtool

$ sudo ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: Unknown!
        Duplex: Unknown! (255)
        Auto-negotiation: on
        Port: Twisted Pair
        PHYAD: 2
        Transceiver: internal
        MDI-X: Unknown (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: no

#38 Re: Other Issues » Cockpit Alternatives » 2023-01-25 10:44:33

Hi Hararune,
Theres 3 Cockpit alternatives listed here: https://www.how2shout.com/tools/top-fre … tools.html
1. aaPanel
2. Ajenti Server Admin Panel (could need systemd)
3. Webmin
Another 10 Cpanel tools listed here: https://www.how2shout.com/tools/top-fre … panel.html
and a Wikipedia entry that uses a table to list the properties of each Cpanel:
https://en.wikipedia.org/wiki/Compariso … rol_panels
I've only used Webmin and that was a few years before ZFS.
Web management of the ZFS would be very nice to have.
Best wishes exploring !

#39 Re: Installation » How to have updated firefox-esr in Chimaera? » 2021-11-28 22:34:30

Camtaf wrote:

I merely downloaded Firefox from their site

Thanks Camtaf for this, please share the link you used as FF want to give me the .tar.gz and not the .deb!

#40 Re: Installation » How to have updated firefox-esr in Chimaera? » 2021-11-24 08:56:09

mmaglis wrote:

I do not recommend mixing package repositories from different releases. It will mess and eventually destroy your system.

This fine page https://www.devuan.org/os/packages explains the use of backports package source.
It is advised to disable backports and only enable to install specific packages.
More advanced users may be able to give backports a lower priority (apt pinning) and install packages by specifying the target release (-t).
Please consult the apt documentation (e.g. man apt-get)

Check if the required Firefox version is in backports.
Alternatively, you can always download and use the latest Firefox version from upstream:
https://www.mozilla.org/en-US/firefox/a … op-release

Thanks mmaglis for the advice.
FF from Ceres in this Chimaera box has been running fine for the past month.
However due to the issues raised, ie pulling additional packages which could eventually break the system,
I will replace FF with the tar.gz so as to have a stable system and at same time be able to update FF easily.
regards
- r

#41 Installation » How to have updated firefox-esr in Chimaera? » 2021-10-22 08:53:28

rdav
Replies: 71

Hi,

How is it possible to get firefox-esr from Ceres while running Chimaera?

As in Chimaera has firefox-esr 78.15.0 which is not up-to date enough for some online sites I have to visit.
Whereas in Ceres has firefox-esr 91.2
https://pkginfo.devuan.org/cgi-bin/poli … r&x=submit

Looks like this could be done by doing a temporary change in apt sources to Ceres, update FF and then change sources back to Chimaera.
as done in this post: http://dev1galaxy.org/viewtopic.php?pid=32203#p32203

I have tested and this works, though it's only a temporary fix as Apt will not be able to update the FF that came from Ceres as the sources are now pointing to Chimaera.

Please advise if this is possible and a safe and stable way to do this!

#42 Re: Devuan » As Debian 11 moves closer to Devuan. Is there any reason to stay on De » 2021-10-22 08:01:31

The Debian hybrid Systemd-SysV-OpenRC gives me the creeps.
If I need any app that requires systemd then it's trivial to spin up a MX Linux or Ubuntu VM with Virtual Machine Manager to install the app.

I can't see a reason to move.

Devuan has been rock solid for machines at work.
Easy to maintain and update.
No mystery hiccups, all problems have been figure-outable.
Stable OS for production machines.

All credit due to the Devuan Veteran Unix Admins!!

#43 Re: Installation » Upgrading from Ascii to Beowulf » 2019-07-26 01:40:13

Hi fsmithred

I edited the sources.list and removed all the non-Devuan sources
eg Dropbox, Webmin and the ran apt-get as you suggested:

# apt-get update
# apt-get upgrade 
# apt-get dist-upgrade

Took overnight to download packages and install.

Some 5 packages were held back and used aptitude to find out why.
It was the ancient DM I use: "Slim". 

Rebooted and Devuan Beowulf came up easily.

thanks!

#44 Re: Installation » Upgrading from Ascii to Beowulf » 2019-07-23 11:36:37

Hi fsmithred,

It the one! Thanks for that!

When I installed emacs with synaptic, I was given emacs24 and assumed only one version was possible... doh!

Now I know how to look again!

Half way in to the first apt-get upgrade download of 1640 packages, if beowulf doesn't work out I roll it back with timeshift wink

#45 Re: Installation » Upgrading from Ascii to Beowulf » 2019-07-23 03:01:05

Hey fsmithred!

Thanks for the detailed rapid reply!

well, currently system is certainly super stable, functions well and easy to maintain!
thanks Veteran Unix Admins!

It just that I want to use Spacemacs layer over emacs which requires at least emacs-25. Hover Ascii has only emacs-24, while Beowulf has emacs-25.

Currently I have emacs-25+ on machines running other distros and wanting to move them all to Devuan, and this is the app requiring Beowulf!

Thanks again for the tips!

#46 Installation » Upgrading from Ascii to Beowulf » 2019-07-23 01:04:49

rdav
Replies: 20

Hi All

Just wondering about the move to Beowulf from Ascii.

Is it ready to upgrade from ascii with beowulf by changing the /etc/apt/sources.list and running apt-get update; apt-get dist-upgrade?
or is there a bit more to it that that?
other than doing backup wink

so sources.list in ascii

# ascii
deb http://deb.devuan.org/merged/ ascii main contrib non-free
# ascii-updates
deb http://deb.devuan.org/merged/ ascii-updates main contrib non-free
# ascii-backports
deb http://deb.devuan.org/merged/ ascii-backports main contrib non-free
# ascii security
deb http://deb.devuan.org/merged/ ascii-security main contrib non-free

is edited for beowulf:

# beowulf
deb http://au.deb.devuan.org/merged/ beowulf main contrib non-free
# beowulf-updates
deb http://au.deb.devuan.org/merged/ beowulf-updates main contrib non-free
# beowulf-backports
deb http://au.deb.devuan.org/merged/ beowulf-backports main contrib non-free
# beowulf security
deb http://au.deb.devuan.org/merged/ beowulf-security main contrib non-free

Looking forward to your tips and clues on this,

thanks in advance!

#47 Re: Hardware & System Configuration » wakeonlan and etherwake for WOL » 2019-04-26 08:25:00

hey fsmithred,

Thanks, Its all good now.

This box does unattended updates each day.
I left it for 2 days and now both packages installed
Dunno how that happened..

#48 Hardware & System Configuration » wakeonlan and etherwake for WOL » 2019-04-24 11:27:44

rdav
Replies: 2

Hi all

I can't seem to install either of these packages to use WOL to remotely wake a Devuan box from another Devuan box.

Both machines running a Ascii stable amd64

with repos in /etc/apt/sources.list:
deb http://deb.devuan.org/merged/ ascii main non-free contrib                                             
deb http://deb.devuan.org/merged/ ascii-updates non-free main contrib                                     
deb http://deb.devuan.org/merged/ ascii-backports non-free main contrib                                   
deb http://deb.devuan.org/merged/ ascii-security main contrib non-free

Is there something I need to know to get these packages or is there another way to WOL remote machines with Devuan?

thanks in advance!

#49 Re: Devuan Derivatives » Refractasnapshot issue with lvm2 and gparted » 2018-12-06 12:28:32

Found the service that is mapping the drives!

/etc/init.d/multipath-tools

While this is running and mapping drives
1) Gparted can't scan or fix drives
2) Refracta Installer will be unable to install on the selected drives.

To Fix:
To be able to use Gparted and Refracta Installer:
1) Stop the service manually

$ sudo service multipath-tools stop

2) Find the drives:

$ sudo dmsetup ls
ST3500630NS_5QG196JX-part4      (254:4)
ST3500630NS_5QG196JX-part3      (254:3)
ST3500630NS_5QG196JX-part2      (254:2)
ST3500630NS_5QG196JX-part1      (254:1)
ST3500630NS_5QG196JX

Then remove the drives:

$ sudo dmsetup remove ST3500630NS_5QG196JX-part{1,2,3,4}
$ sudo dmsetup remove ST3500630NS_5QG196JX

Check the drives again:

# dmsetup ls
No devices found

Stop this service from starting at boot with sysv-rc-conf.

$ sudo sysv-rc-conf

Scroll down to multipath-tools and delete "X" from all run levels
Reboot and enjoy the raw drives once again!

Great!
Now can get busy with Gparted and Refracta Installer!

#50 Re: Devuan Derivatives » Refractasnapshot issue with lvm2 and gparted » 2018-11-30 08:39:43

Hi fsmithred,

Thanks for "update-initramfs -u"!

So I stopped the lvm, mdadm services, removed the partitions with dmsetup, and then removed and purged lvm2, mdadm and dmraid.
Ran "update-initramfs -u", and "update-grub" and rebooted the host machine.
Still the /dev/mapper devices are there, so something else is starting the drive mapper.
Removed the mapped drives with "dmsetup remove  xxx"  and checked to see if the drives and partitions were active as "raw" devices in /dev/disk/by-id
then re-ran refractasnapshot and made a bootable USB stick.

On booting, gparted couldn't check a drive as said drive was already mounted.
By drive mapper as in /dev/disk/by-id/ xxxxx -> /./dm-0
so located mapped drives with "dmsetup ls" and then removed the mapper drives with "dmsetup remove xxxx"
so gparted could then scan drives.

Next, I looked at removing dmsetup on the host machine and found a lot of packages depend on this, so maybe one of these are starting the drive mapper?

BTW, I found a different machine and installed a fresh copy of Devuan Ascii and found that all the drives and partitions were listed as "raw" devices in /dev/disks/by-id with out any dm-0 etc that the drive mapper was assigning on the host machine above.
This tells me that its some package I have installed after the initial Devuan Ascii install.
So I read about drive mapper over the weekend and test to if I can find the package(s) involved.

thanks again

Board footer

Forum Software