The officially official Devuan Forum!

You are not logged in.

#476 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.

#478 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.

#479 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.

#480 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.

#481 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

#482 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.

#483 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.

#484 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)

#485 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.

#486 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.)

#487 Re: Installation » Got sound in Firefox with only alsa and JACK! » 2024-01-08 01:20:20

Right. Firefox-esr does not require pulseaudio or pipiewire and works fine with just alsa. Getting it work with jack is a neat trick and is something I've wanted for years, so I was happy to see the solution here.

Refracta does not vary from Devuan very much. Most things are installed without recommends and without metapackages, to make it easier to remove anything you don't want. The only reason apulse is installed is for tor-browser, and sometimes ff-esr will need apulse if it runs after tor-browser.

#488 Re: Desktop and Multimedia » [Solved] xarchiver 0.5.4.14 issue » 2024-01-06 12:23:18

Any suggestions for a small footprint front end like xarchiver?

I was about to ask you the same thing. So I asked the Duck instead, and top choices seem to be PeaZip (not in debian/devuan) or Engrampa.

On my full-desktop xfce system, engrampa wants to add 15mb and file-roller wants to add 21. Ark wants to add 200mb, but that's because it needs a lot of qt stuff that isn't installed. On my minimal lxqt system, ark wants 90mb, lxqt-archiver wants 7mb, xarchiver wants 1.7mb.

#489 Re: Desktop and Multimedia » [Solved] xarchiver 0.5.4.14 issue » 2024-01-05 23:16:37

Have you seen any evidence that xarchiver can do anything with encryption? I'm not finding it with google and manpages. I know you can use encryption with zip/unzip. I usually use gpg if I want to encrypt a file.

#490 Re: Devuan Derivatives » Refracta not booting in VM » 2023-12-30 19:16:48

If you feel like testing, here's a modified refractasnapshot script that handles editing the initramfs better. I've tested it in a VM with encrypted lvm and then again in the same system after adding amd64-microcode and intel-microcode. I did this in daedalus, which is using zstd compression for the initramfs. Seems to work fine.

Copy the file, make it executable and run it from your current directory:

sudo ./refractasnapshot -d

(or as root without the sudo)
https://git.devuan.org/devuan/refractas … tasnapshot

#491 Re: Installation » [SOLVED] Daedalus Xorg/X11 problem after su "anyExistingUser" » 2023-12-30 18:11:33

I think your problem is related to the fact that after Beowulf, the su command got moved to another package. (to or from util-linux. I forget which) and they changed the way the PATH is handled. If you use 'su -' you can no longer open graphical programs on the user's desktop. To revert to the old behavior, do one of the following:
- Edit or create /etc/default/su and add the following line

ALWAYS_SET_PATH yes

OR
- Edit the ENV_SUPATH line in /etc/login.defs to include /usr/local/sbin, /usr/sbin and /sbin

Then use just 'su' to get root. You might also notice that you don't change directory when you become root.

#492 Re: Installation » all the new kernel disturb some old PC's! » 2023-12-27 18:48:42

Just because someone posts something on the devuan forum does not make it the official word of devuan. Users get to speak for themselves.

I'm confused about what the problem is with your computer. You said you installed the latest Refracta, but then you're talking about kernels 6.5 and 6.6. The latest Refracta release is based on Devuan Daedalus, and it has a 6.1 kernel. I see that daedalus-backports has a 6.5 kernel but not a 6.6 kernel, so maybe the reason the 6.6 kernel doesn't work is because it wasn't built for the release that you're running.

#493 Re: Devuan Derivatives » Refracta not booting in VM » 2023-12-27 12:09:31

There's a fix for refractasnapshot coming soon. Until then, another workaround is to remove the microcode package, make the snapshot iso, then install the microcode after you install a system on hardware. You could include the microcode packages in the iso to install them without a network connection if desired.

#494 Re: Devuan Derivatives » Refracta not booting in VM » 2023-12-26 21:45:22

The Refracta iso not booting in VM is weird. Check the sha256sum to make sure the download was good. But that doesn't explain the other failures.

The script output suggests that you have a resume file in your initramfs. (remove_resume=yes) but I don't see a corresponding 'rm -f ...resume' in the section under "edit_initrd".  Run lsinitramfs | grep resume $initrd where $initrd is the full path to the initrd in the excalibur iso. If you mount the iso, it will be in $mountpoint/live/initrd.img. Or you could retrieve it from the build host (assuming you set save_work=yes in refractasnapshot.conf). It would be in /home/work/iso/live/initrd.img.

You could also look in the build system for /etc/initramfs-tools/conf.d/resume and see what's in it. If it exists, make sure it says RESUME=none inside or delete it, and then run update-initramfs -u You only need the resume file if you want to resume from disk hibernation, and you usually don't want that in your snapshot.

#495 Re: Devuan Derivatives » Refracta not booting in VM » 2023-12-26 18:28:17

Oh, that log doesn't have enough in it. Please run refractasnapshot in debug mode. For the cli script, run refractasnapshot -d and if you used the graphical version, start it from a root terminal (or sudo) as refractasnapshot-gui -d

If the snapshots are being made on a system with a swap partition or an encrypted root filesystem, that might be causing a problem. I'd need to see the debug log to be sure.

Looking at the varied selection of isos that are not working, I'm thinking maybe it's a problem with virtualization. But that's a guess.

#496 Re: Devuan Derivatives » Refracta not booting in VM » 2023-12-26 10:50:07

Are you using a custom kernel? If so, compare your kernel config file to the one for the stock kernel to see if something is missing.

It may be something in the way the isos were made. I boot isos in qemu and vbox all the time. The only thing that doesn't work well is if the VM is set to do a uefi boot. In that case, I have to go into the efi setup and find the actual file to boot.

Take a look at /var/log/refractasnapshot.log or let me look at it.

#497 Re: Installation » Installation from daedalus desktop-live boots to GRUB Rescue » 2023-12-22 16:43:05

@bobsmith
To become root, use su - and you will have root's PATH. Otherwise, you need to use the full path to the command: /usr/sbin/grub-install

If you post or paste or send me refractainstaller.log I might be able to see what the problem is. (If you use the cli installer, please start it as 'refractainstaller -d' to get a more verbose error log. Thanks.)

#498 Devuan Derivatives » live-build from debian » 2023-12-21 21:01:38

fsmithred
Replies: 0

We removed the fork on live-build. Debian versions are/will be available in devuan repo. Ceres now has 1:20230502

If this was not the right thing to do, please let me know.

#499 Re: Off-topic » Refracta-SnapShot - Question » 2023-12-16 10:42:18

The extra zcat was needed at the time it was added because the microcode put an extra layer on the initrd.img. I guess that got fixed and snapshot needs to be changed again. That section of code also needs to support the new compression, zstd.

Thanks for posting this.

#500 Re: Devuan » New Devuan user here » 2023-12-14 20:01:46

Hi and welcome to Devuan!

We only have around a dozen people maintaining forked packages, and that load keeps getting bigger. If you ever get the urge to start developing again, it would probably be easy for you to find something to do around here.

From what I've seen, migrations from debian to devuan are a crap-shoot. I think it depends on what all you have installed. Upgrades and fresh installs are a lot more reliable.

In general, I think devuan is more like debian than debian is. I think you'll feel at home here.

Board footer

Forum Software