The officially official Devuan Forum!

You are not logged in.

#326 Re: Installation » [SOLVED] Want to use startx instead of slim » 2024-03-16 11:12:06

@Andre: My solution keeps the user in a multi-user non-graphical session, not single-user. Only the display-manager gets disabled. Other services continue running.

#327 Re: Installation » [SOLVED] Want to use startx instead of slim » 2024-03-16 10:54:37

I would have done it this way instead:

update-service --remove /etc/sv/slim

which would not remove /etc/sv/slim but would remove the symbolic link, /etc/runit/runsvdir/default/slim. I just tested this with lightdm instead of slim, and it worked fine. Be aware that it will kill your graphical session. I'm running in qemu, and it left me with a black screen. Might be different on real hardware. I rebooted and got a console login screen. And startx works.

Also note that in debian/devuan, runit will use the sysvinit script if there are no runit scripts for a service. I don't know if this has anything to do with your problem, but maybe it's a useful clue.

#328 Re: Installation » justX-installation from stable ok but refractasnapshot does not » 2024-03-06 16:52:03

how can I now make a snapshot? what is wrong (probably in the actual devuan binary package from refracta)?

I'm not aware lf a problem, and as far as I can tell, you did not describe one. Maybe sharing some error messages or the debug log would help.

#329 Re: Off-topic » fantastic evolutions: one of the best ones - Refractasnapshot » 2024-03-05 11:46:18

Can anybody remember how it was problematic to make a snapshot out the Commando Line Interpreter?

I'm not sure what you are asking. Do you want to run refractasnapshot without a graphical environment? If so, the answer is yes, just run "refractasnapshot" as root (or with sudo).

If you're asking if it's possible to make a snapshot by manually running commands, then yes, that's how it was done before the script was written. Some of the commands are long, and that is why the script was written.

#330 Re: Hardware & System Configuration » apt update tries to delete /lib/init & /lib/lsb » 2024-03-05 11:33:18

I didn't think it was a usrmerge problem until I compared files in different versions of initscripts. They moved scripts from /lib/init to /usr/lib/init.

Is this upgrade trying to install the usrmerge package, or did you already have merged usr in your system?
Does /usr/lib/init contain the same scripts as /lib/init? If so, I think you could move /lib/init out of the way. (move rather than delete, in case you need to put it back.)

#331 Re: Other Issues » save my refractasnapshot » 2024-03-04 21:59:35

I'm not sure I understand what you want to do. If you want to change the contents of a live-iso, the easiest way is to install it into a VM, make the changes you want, and then make a new snapshot.

A less easy method is to mount the iso, mount filesystem.squashfs, copy both, chroot the filesystem and make the changes, re-squash the filesystem and then use xorriso (or other iso software) to make the new iso file.

#332 Re: Hardware & System Configuration » [SOLVED] Changing permissions on external drive » 2024-03-02 18:57:52

It's locked because it's mounted. Right-click on it to unmount.

Any time I've used fsck, I've done it on an unmounted device, like /dev/sdb1 for example. I just tried running it on a mounted filesystem, using the directory, and I got the same error you got about superblock.

#333 Re: Other Issues » Installing latest xfce4-terminal » 2024-02-28 10:06:55

Install build-essential and linux-headers-<version> to compile software.

A better way would be to backport xfce4-terminal and make a deb package so that your package manager knows about it.
https://wiki.debian.org/BuildingFormalBackports

Either way, you might need to build more packages to satisfy dependencies.

I think you got better advice in the first reply.

#334 Re: Other Issues » New backports packages for Chimaera » 2024-02-27 18:48:54

Yes, there is a reason not to install everything that's in backports.

Things get backported to bring new features into the stable distribution.  Maintainers will test their backported packages with the stable system.

Nobody tests all the backported packages together, therefore nobody knows if they all work together. If you need something from backports, just install what you need.
.

#335 Re: Installation » installing Devuan Trinity, gpt disk, non-uefi boot error » 2024-02-26 23:20:35

ExeGNU/Linux is Devuan with Trinity -
https://sourceforge.net/projects/exegnulinux/files/iso/

As mentioned before, to boot gpt in legacy mode, you need a partition that is at least 1MB, unformatted and bios_grub flag (in gparted) or ef02 flag (in gdisk). No partition needs to be marked bootable.

#336 Re: Other Issues » [SOLVED] tomcat10 on daedalus » 2024-02-24 16:47:12

The orphan-sysvinit-scripts package has an init script for tomcat9. Maybe that can be modified to work with tomcat10. I don't know if there's a better solution.

#337 Re: Desktop and Multimedia » Firefox-esr Audio through ALSA Alone » 2024-02-24 16:36:32

There is no devuan version of firefox-esr. We're using the debian version along with the debian version of about 99% of everything. We only fork around a hundred packages. You should be able to get rid of pulseaudio and have sound in firefox. If you've changed any config files related to audio, you might want to check your settings and run alsamixer to make sure your sound isn't muted. This should work out of the box.

If you do need to use apulse, it's just 'apulse firefox'. No need for asoundrc. The only time I need to use apulse is if tor-browser uses audio and then I try to use audio in firefox-esr.

#338 Re: Other Issues » [SOLVED] Can't connect to repos » 2024-02-08 02:01:49

To prevent network-manager from messing with your resolv.conf after you edit the file,

chattr +i /etc/resolv.conf

To undo that (in case  you want to edit the file again) change the plus to minus.

#340 Re: Off-topic » Refracta-SnapShot - Question » 2024-02-07 12:50:45

oui,
live-config live-config-systemd live-boot and live-boot-initramfstools should all be installable in ubuntu. Try installing those first.

If it's a really old ubuntu, replace live-config-systemd with live-config-upstart.

#342 Re: Installation » all the new kernel disturb some old PC's! » 2024-01-29 13:39:48

We do not fork the debian kernel. If you have issues with it, you should direct your complaints to debian or possibly to kernel.org. Not here.

To answer your question, I don't think you need to do anything special to use refractainstaller in ubuntu, but to use refractasnapshot you need to change the initrd compression to xz. When the next version of refractasnapshot is released, you won't need to use xz compression. The new version will support zstd compression.

#343 Re: Desktop and Multimedia » Possible to make LXQt the default desktop with automatic login? » 2024-01-23 13:55:58

Edit /etc/slim.conf or /etc/sddm.conf depending on which display manager you're using. Set the session to start lxqt instead of xfce.

If you're using sddm, then /etc/sddm.conf should look like this:

[Autologin]
User=<user's login name>
Session=lxqt.desktop

I'm not exactly sure how to edit /etc/slim.conf, but you might be able to figure it out if you read the comments. I'm not sure if you'd use "lxqt.desktop" or "startxqt" in that file. The .desktop files for the desktops are in /usr/share/xsessions.

For lightdm, set autologin-user in /etc/lightdm/lightdm.conf

On second thought, maybe the correct way is to use update-alternatives to change the x-session-manager.

update-alternatives --config x-session-manager

and it'll give you available choices.

#344 Re: Installation » [SOLVED] cron-daemon-common depends on systemd » 2024-01-16 10:10:29

Another solution is to use mmdebootstrap which does a better job of handling the dependencies. It will install systemd-standalone-sysusers before cron-daemon-common.

#345 Re: Devuan » [SOLVED] How will the deprecation of Debian's i386 affect Devuan? » 2024-01-15 19:23:04

Hendrick, I don't get any delays when I ssh into my Asus netbook. If you want to try the same system I'm running, here's a live-iso I made for my EEE. Passwords are root:root and user:user and you'll need to use startx to get a desktop.
https://get.refracta.org/files/experime … 5_1348.iso

#346 Re: Other Issues » Ceph on Devuan » 2024-01-15 18:35:10

On my daedalus system, aptitude says it will install ceph and cephadm. How did you determine that it requires systemd?

If apt or apt-get won't let you install it, please post the terminal output so we can see what's wrong. Also, if you try it with aptitiude, you might be given some alternate solutions.

apt show ceph*

Will give you information about every package whose name starts with ceph. None of them depend on systemd.  One thing I'm not clear on is whether docker containers work in devuan.

#347 Re: Installation » Installation from daedalus desktop-live boots to GRUB Rescue » 2024-01-15 14:47:30

There were no changes in the tests for efi partition in refractainstaller between chimaera and daedalus. (see code below)

Were you able to determine which device has no space left?  Can you please post the output of df -h and fdisk -l?

If you have a uefi-bootable install, you can install all the others without a bootloader and then run update-grub (with os-prober enabled) in the bootable install to get all the others into the boot menu.

Here's the test for efi partition(s). Maybe someone will look at it and get a good idea.

# Check for UEFI boot and EFI partition
if [[ -d /sys/firmware/efi ]]; then
        uefi_boot="yes"
        esp_count=$(env LC_ALL=C fdisk -l | awk '/EFI System/ { print $0 }' | wc -l)

        if [ -z "$gpt_list" ] ; then
                gpt_message=$"There is no disk with a gpt partition table. 
        You should exit this script and run gdisk to create one for uefi boot."
        fi
        if [ "$esp_count" -eq 1 ] ; then
                esp_dev=$(env LC_ALL=C fdisk -l | awk '/EFI System/ { print $1 }')
                esp_dev_message=$"EFI partition found at ${esp_dev}
        If this is not on the first hard disk, something may be wrong,
        and you should investigate the situation."
                if ! blkid -c /dev/null -s TYPE "$esp_dev" | grep -q "vfat" ; then
                        must_choose_esp="yes"
                        esp_dev_message=$"EFI partition found at ${esp_dev}
        will need to be formatted FAT32"
                fi
        else
                must_choose_esp="yes"
                if [ "$esp_count" -eq 0 ] ; then
                        esp_dev_message=$" There is no EFI partition. You will need to create one."
                elif [ "$esp_count" -gt 1 ] ; then
                        esp_dev_message=$"More than one EFI partition was detected.
        You will need to select one. Normally, it's on the first hard disk."
                fi
        fi

Ignore the missing final "fi". The rest of this code block just checks to see which grub is installed and generates some messages.

#348 Re: Devuan Derivatives » [SOLVED] Another question about upgrading ,,Refracta", this time 11 to 12. » 2024-01-15 02:15:39

It's pretty much the same as before. The iInstructions for upgading devuan chimaera to daedalus are relevant. Note that firmware is now in a new section called non-free-firmware and add that to sources.list if needed.
https://www.devuan.org/os/documentation … o-daedalus

From the linked post with minor changes (version, sysctl.conf and lvm.conf). (General rule: take the new ones if they are different. Add or edit as needed.

Config files. Take defaults yes/no as indicated below.
/etc/issue            No, keep old version and edit to change 11 to 12
/etc/pam.d/login    Yes, install new version
/etc/sysctl.conf    Install new version and add  kernel.sysrq=1
/etc/initramfs-tools/initramfs.conf        Yes, install new version. (edit to set COMPRESSION=xz)
/etc/ssh/sshd_config    take new
/etc/cryptsetup-initramfs/conf-hook        take new
/etc/lvm/lvm.conf    take new   

optional:
/etc/initramfs-tools/conf.d/resume        (RESUME=none)

#349 Re: Installation » Installation from daedalus desktop-live boots to GRUB Rescue » 2024-01-13 20:11:15

@aluma - are you using a live-iso or one of the installer isos? In either case, If you booted in uefi, then you don't tell grub where to put the bootloader. It knows to put it in the esp partition. If you're doing it on command-line, the commands are just

grub-install
update-grub

To be sure whether you booted bios mode or uefi, check to see if /sys/firmware/efi exists. It will be there in uefi mode but not in bios mode.

#350 Re: Devuan » Broken compatibility with recent upgrade » 2024-01-08 01:44:50

I ran into the same problem a few days ago. The upgrade to 6.6.9 kernel and adding the usrmerge package (I forget which order I did them) broke it. I could still boot the 6.5 kernel, but I couldn't get to the desktop. Some files for lvm2 and dmsetup were missing. In several stages, I reinstalled lvm2 dmsetup, xorg, xserver-xorg* (whatever was installed) and xinit, but I still couldn't use startx or lightdm. I reinstalled elogind libpam-elogind and policykit-1-gnome and that fixed it. (at least I think the last thing I did fixed it.)

Board footer

Forum Software