The officially official Devuan Forum!

You are not logged in.

#901 Re: Desktop and Multimedia » Cannot mount exfat » 2021-12-15 21:30:07

Essentially it looks like you sit with software that "expects" exfat to be a built-in filesystem (as in beowulf-backports and later), and a kernel where it's not (as in beowulf and before).

The story seems to be that:

a) exfat is a built-in filesystem for 5.10 kernels but it wasn't built-in for the 4.9 kernels.

b) Before it became built-in, the mount command was supported by the program /sbin/mount.exfat provided by the exfat-fuse package. That program was abandoned when the filesystem became built-in.

#902 Re: Other Issues » pxe boot hangs in busybox » 2021-12-14 13:49:22

There are several hurdles with using minimal-live for PXE boot, primarily that it still requires media access to the ISO.

The "best" I've been able to do is to add rdinit=/bin/sh to the APPEND line in pxelinux.cfg/default so as to enter a console shell instead of running the "normal" initrd:/init (though after having loaded and mounted the initrd filesystem). There you can discover that even the network interface driver modules are missing from the initrd, so there is not much to do with it.

I had better luck using desktop-live as a basis, and then also serve it over nfs.

  • on the server, I mounted the ISO at /netboot/boot/desktop-live

  • and set up the NFS service to export that path

  • then changed pxelinux.cfg/default to use the menu lines:
    KERNEL ::boot/desktop-live/live/vmlinuz
    APPEND vga=788 initrd=::boot/desktop-live/live/initrd.img boot=live root=/dev/nfs nfsroot=/netboot/boot/desktop-live init=/bin/bash

Due to the init=/bin/bash parameter, it will enter a shell instead of running the post-pivot /sbin/init, so it's still not perfect. But the root filesystem could be extracted at the server end (rather than mounted) and then be changed appropriately so as to allow a normal /sbin/init start.

Note that the root filesystem comes from the squashfs on the ISO, so any changes need unpacking and repacking of that (with any changes); all other files of the ISO copy should be left as is.

#903 Re: ARM Builds » no ip address via DHCP » 2021-12-09 10:53:52

Start the installer and at the very first dialog, use C-A-F2  and Enter so as to start a command shell in the installer.
Then set date and time with

# date -d '2021-12-09 21:47:23' 

or whatever it is for you.

If the installer has the hwclock command you may use that to reset the hardware clock from the now corrected system clock with

# hwclock -w

.

Following that, you use C-A-F1 to return to the installation, which now will work splendidly wink

#904 Re: Hardware & System Configuration » Making Devuan more secure. » 2021-12-04 08:06:06

***
*** Yes, the 5 posts got lost due to a technical mishap; the sysadmin will be replaced as soon as possible.
*** Apologies.
***

#905 Re: Other Issues » [SOLVED] Need to reset root password » 2021-12-01 20:10:45

Apparently passwd has built-in chroot

# passwd -R /mnt

#906 Re: Other Issues » [SOLVED] Need to reset root password » 2021-12-01 04:09:07

You might need to run /sbin/fsck -y /dev/sda2 or /sbin/fsck.ext4 -y /dev/sda2 to mount it rw.

#907 Re: Other Issues » [SOLVED] Need to reset root password » 2021-11-30 21:49:05

How about using backquote with echo to make use of globbing, e.g.

# `echo /?i?/mou?t` /dev/sda1 /A

EDIT: actually might not need backquoting even:

# /?i?/mou?t /dev/sda1 /A

#908 Re: Other Issues » [SOLVED] Need to reset root password » 2021-11-30 08:46:27

I have a Devuan installation ISO, not live. (I wish I knew where I put it.)

Yes, that one you can start into "rescue"; just make sure you stop before partitioning.

And I think I have a Debian live.

A Debian live should also work if you can operate that without the broken keys; if you get a root prompt in a terminal, you might be able to do

# mkdir /A
# mou<TAB> /dev/sda1 /A
# chroot /A $(which passwd)

and then reboot into that system.
If the mou<TAB> is ambiguous a double <TAB> will yield the options for you to copy and paste from.
Note that maybe your root file system is not on /dev/sda1 of course .. you'll find out.

#909 Re: Other Issues » [SOLVED] Need to reset root password » 2021-11-29 22:56:27

Yes, as said,  if you have a Devuan ISO (any of them), then its "Advanced -> Rescue" option is the way to go; it'll bring you all the way into a root login within your root file system without needing working b or n.

Once there, you use the command "passwd" to set a new root password.

Thereafter you have to figure out how to deal with that the username has a b. Perhaps create a new user, or perhaps work out how to remap some keypad keys (or other keys) to be b and n.

#910 Re: Hardware & System Configuration » [SOLVED] [Beowulf] eudev upgrade failed » 2021-11-27 21:04:33

To undo the resulting badness of double newlines in those files you may use:

sudo sed '/^$/d' -i /var/lib/dpkg/info/*.list

That will still leave the previously missing final newline in /var/lib/dpkg/info/console-setup.list

In addition, given the original issue, I would also

sudo apt-get install --reinstall console-setup

unless I knew that I had been hand-editing those files sometime earlier (and could thus imagine that I had removed a final newline from at least one of them). in fact, that re-installation would have been  my first point of call well before venturing into willy-nilly hand editing in the dpkg database.

#911 Re: Other Issues » [SOLVED] serial terminal login stopped working » 2021-11-25 03:43:38

Possibly the nomodeset is missing from the boot line?

afair, Beowulf installer iso has nomodeset for the installer itself but it doesn't always get added automatically to grub's boot line.

#912 Re: Hardware & System Configuration » VBox virtual machine error in dmesg » 2021-11-20 22:01:15

That looks fine and leads to the question whether the dbus daemon(s?), which is supposed to be the server end of that socket, is running at the time during bootup when something is expecting it.

#913 Re: Hardware & System Configuration » VBox virtual machine error in dmesg » 2021-11-20 20:38:55

As it's looking for a pathname it may be useful to review that with namei, i.e.:

# namei -l /var/run/dbus/system_bus_socket

#916 Re: Hardware & System Configuration » [SOLVED] What is wrong with chimaera and network » 2021-11-13 22:18:00

.. my longer story is something like the following.

Networking in chimaera is really the same as in all prior system versions; it's a kernel function to operate the interfaces that dynamically rely on their configurations, and there are some forms of user software available for the administration of those configurations.

The first and oldest unit of such software is nowadays called ifupdown in Devuan (Debian).

ifupdown implements an administration principle where the administrator documents their desired configurations using a special purpose scripting language written into one or more plain text files starting with /etc/network/interfaces. The software is modular with a core bit that offers the adminstration programs ifup, ifdown and ifstate as well as the hook-in to the boot process and the hotplug event handling. ifupdown also provides a well-documented API for extensions that allows for other software packages to be seamlessly incorporated into the networking operations as if belonging to ifupdown; e.g., handling DHCP, handling wireless connectivity, VPN setup and whatnot.

On the side of that we find a couple of network management software packages (package groups), where chimaera in particular includes the two named connman and network-manager. These implement their own ideas of the network configuration task, with a common aim to make networking configuration be administrated "more easily" than by using the special purpose scripting language and programs of ifupdown, and most importantly to provide a "security bypass" that empowers non-root users with network administration abilities.

A side effect of that is that the network management software "wants to rule the city". Then "traditional" administration via ifupdown might be in conflict with it, unless one knows enough about the management software to avoid such conflicts. The easiest way for a root administrator to avoid such conflicts  is to get rid of all and any such management software.

#917 Re: Hardware & System Configuration » [SOLVED] What is wrong with chimaera and network » 2021-11-13 03:18:47

It sounds like you should make sure all "network manager" software except ifupdown is purged, and then edit your /etc/network/interfaces to be (exactly):

iface lo inet loopback
iface eth0 inet dhcp
auto lo eth0

#919 Re: Desktop and Multimedia » [SOLVED] Xfburn error message » 2021-11-10 05:08:16

Not sure how quick your search was but mine told me that apparently there's a "refresh botton" just to the right of where it says "DVD+RW" that needs clicking....

#920 Re: Desktop and Multimedia » [SOLVED] Delete track number from music file names » 2021-11-08 03:16:57

The -exec option variant for find that ends with ';' rather than + lets you use {} more freely, and then perhaps the following would work

find . -type f -name '[0-9][0-9] - *' \
    -exec sh -c "file-rename -v 's/^[0-9][0-9]\s-\s//' '{}'" ';'

or almost certainly (and with less python):

find . -type f -name '[0-9][0-9] - *' \
    -exec sh -c 'X="{}"; mv "{}" "${X#*- }"' ';'

EDIT: added the missing *

#921 Re: Hardware & System Configuration » [SOLVED] apt and residual files » 2021-10-30 08:11:23

@Altoid, perhaps you where thinking

apt list --installed

#922 Re: Other Issues » [SOLVED] Correct Distribution Name in Conky » 2021-10-20 22:16:47

Works with $3 rather than $2.

Another way could be:

echo '. /etc/os-release ; echo $PRETTY_NAME' | sh

#923 Re: Desktop and Multimedia » [SOLVED] Is Ceres stable for daily use? » 2021-10-18 02:23:53

You should be able to install that package from ceres by temporarily adding the ceres sources.list line

  1. Add the line to your /etc/apt/sources.list:

    deb http://deb.devuan.org/merged ceres main contrib non-free
  2. Install the package and its dependencies an your system:

    # apt-get update
    # apt-get install -t ceres ....

    Obviously you should then refrain from installing anything more, but afaict your nvidia-legacy-340xx package should be safe to install in this way.

  3. Restore sources.list by removing or commenting out that line, and then again run:

    # apt-get update

    Or, you may configure "pinning" for ceres so as to follow upgrades to only that package, without getting other things.

#925 Re: Other Issues » ifup wait at boot » 2021-10-11 12:31:40

It sounds like your /etc/network/interfaces should have the normal configuration setup for eth0 of

auto eth0
iface eth0 inet dhcp

Yes, you can use an installation iso as a (limited) rescue system for an installed system. Just start the installation and use ctrl-alt-f2 at the very first dialog. That brings you to a command line, where you can mount the installed root partition onto /mnt, and then chroot into that for various hands-on.

Board footer

Forum Software