The officially official Devuan Forum!

You are not logged in.

#1603 Re: Hardware & System Configuration » [SOLVED] Changing a parameter in /sys/module » 2021-03-27 17:59:40

Does the haveged package help? The kernel did suffer with an entropy problem a while back, perhaps it has recurred.

#1604 Re: Installation » Non Booting GRUB on Beowulf » 2021-03-27 08:23:38

englee wrote:

Could you please walk me through a quick chroot session, beginning with the ISO rescue mode to entering CLI commands?

You don't need to enter any commands at all, just select rescue mode from the "Advanced Options" sub-menu and follow the prompts to open a shell in the installed system.

See also https://www.debian.org/releases/stable/ … 06.en.html

Once you're chrooted into the installed system you can install the pastebinint package and use that to upload the command output to Debian's pastebin service so you can just share the URL here rather than transcribe it. See the manpage for details.

#1605 Re: DIY » Minimalism Tips » 2021-03-27 08:17:13

bc is bloat!

Sorry, I'll stop now...

#1606 Re: Installation » Non Booting GRUB on Beowulf » 2021-03-26 18:20:47

So hd2 is the Mac drive then?

What does set say about the root & prefix?

If you have a live ISO image handy can you post the output of

efibootmgr -v
parted --list

#1607 Re: DIY » Minimalism Tips » 2021-03-26 18:18:30

alphalpha wrote:

i dont think anyone that fell for the bloat meme has is music in *.wav format

CODECs are bloat!

dice wrote:

Doing basic math in the bash shell.

Or use a better shell that can actually handle floating point arithmetic:

% echo $SHELL
/bin/zsh
% echo $((1.0/2.0))
0.5
%

#1608 Re: Other Issues » [Solved] How to load nftables rules at boot? » 2021-03-26 18:15:29

There are several kernel modules that provide the firewall functionality but the init script (or systemd unit file) is needed to load the user space process that actually runs the firewall.

#1609 Re: Hardware & System Configuration » [SOLVED] finding package for correct version of linux source » 2021-03-25 18:32:32

The headers are all you need to compile new drivers. EDIT: and the build-essential package.

To add the DVD to your sources first copy the image to the root filesystem, create a mountpoint for it and mount the image:

# mkdir /usr/local/dvd
# mkdir /dvd
# cp devuan.iso /usr/local/dvd/
# mount /usr/local/dvd/devuan.iso /dvd

Then create an fstab entry so it is mounted at every boot:

# grep /dvd /proc/self/mounts >> /etc/fstab

And add it to /etc/apt/sources.list:

deb [trusted=yes] file:/dvd beowulf main

You should now be able to install packages from the DVD:

# apt update
# apt install linux-headers-amd64 build-essential

#1610 Re: DIY » Minimalism Tips » 2021-03-25 18:14:20

dice wrote:

Possibly but ?

Bloat!

$ ls -l /bin/ed
-rwxr-xr-x 1 root root 55368 Jan 19 07:39 /bin/ed
$ ls -l /bin/tee
-rwxr-xr-x 1 root root 39080 Mar  6  2020 /bin/tee
$

tongue

#1611 Re: Off-topic » What are you reading/want to read ? » 2021-03-25 18:11:04

I've had a copy of Legacies of the Sword: The Kashima-Shinryu and Samurai Martial Culture by Karl Friday on order since just before the current lockdown but I can't pick it up...

Bloody COVID.

#1612 Re: Installation » Non Booting GRUB on Beowulf » 2021-03-25 18:04:13

You need to set the partition as the root rather than the entire device.

Use

ls (hd2,gpt1)
ls (hd2,gpt2)
ls (hd2,gpt3)

Are the kernel & initramfs image (symlinks) listed in the output of any of those commands?

#1613 Re: Hardware & System Configuration » [SOLVED] Unmet dependencies with minimal-live image » 2021-03-25 06:57:02

Your sources look fine, can we see an example of the actual errors?

apt -s install firefox-esr

#1614 Re: Installation » Non Booting GRUB on Beowulf » 2021-03-25 06:54:45

Use the ls command to view all of the attached disks and their partitions and use (for example)

ls (hd0,1)

^ That will show the content of the first partition on the first hard drive.

Once you find vmlinuz & initrd.img set that partition as the root, for example

set root=(hd0,1)

Then declare the location of the kernel, root partition (presumed to be /dev/sda1 for this example, edit that bit if it's elsewhere) & initramfs image and boot the system:

linux /vmlinuz root=/dev/sda1
initrd /initrd.img
boot

Once the system is booted then run this command for a non-UEFI system (be sure to choose the block device rather than a partition when asked):

# dpkg-reconfigure grub-pc

Or this command for a UEFI system:

# dpkg-reconfigure grub-efi-amd64

The grub> prompt indicates that /boot/grub/grub.cfg cannot be found, reconfiguring the relevant GRUB package should fix that.

If you're curious then you can use the set command (with no options) to find out where GRUB is looking for the configuration file.

#1616 Re: Installation » pcc_cpufreq instead of acpi_cpufreq » 2021-03-24 19:52:22

I can't load pcc_cpufreq unless acpi_cpufreq is also loaded so I don't think they can be used independently but this is just a guess. I can't really understand the official documentation.

How did you determine that Slackware system uses pcc instead of acpi?

And btw:

Altoid wrote:
groucho@devuan:~$ cat /proc/modules | grep _cpufreq

Useless use of cat:

grep _cpufreq /proc/modules

#1617 Re: DIY » Minimalism Tips » 2021-03-24 17:29:23

I think ffplay is also bloat, at least for music files:

for f in */*.wav; do aplay "$f"; done

#1618 Re: Off-topic » Music » 2021-03-24 16:22:31

dice wrote:

Stevie Ray Vaughan & Double Trouble - Voodoo Chile (Live From Austin, TX)

Amazing performance from SRV — better than Hendrix?

For me: Carter USM, Post Historic Monsters.

#1620 Re: Installation » pcc_cpufreq instead of acpi_cpufreq » 2021-03-24 16:15:56

Altoid wrote:

Is it possible to make the system use pcc_cpufreq instead of acpi_cpufreq?

You could try blocking the acpi_cpufreq module from the GRUB menu by pressing "e" with the Devuan entry highlighted then add this to the end of the line that starts with "linux":

module_blacklist=acpi_cpufreq

Then press <ctrl>+x (at the same time) to boot the modified entry and use this to check if pcc_cpufreq is being used:

cpupower frequency-info # supplied by the linux-cpupower package

If that works then either add the kernel parameter to GRUB_CMDLINE_LINUX in /etc/default/grub and run update-grub or use https://wiki.archlinux.org/index.php/Ke … probe.d/_2 to block it permanently.

#1622 Re: Other Issues » No updates for days (Chimaera), last time it was an issue for weeks... » 2021-03-24 15:53:51

http://deb.devuan.org/devuan/zzz-dists/ shows the last repository update as this morning so you should probably both share your sources — which mirrors are you using?

#1623 Re: DIY » Minimalism Tips » 2021-03-24 15:41:40

dice wrote:

Instead of bloaty gui text editors use ed.

Much as I love ed it is also bloat if you just want to create new files:

tee /path/to/file <<!
blah
blah
blah
!

Or

cat > /path/to/file <<!
blah
blah
blah
!

I prefer tee because it can be prepended with sudo (or doas) if you want to create system files as your normal user. See also https://xkcd.com/378/

And one from me: instead of bloated wallpaper programs to cycle the desktop background every ten minutes just add this one-liner to ~/.xsessionrc:

while true; do feh --bg-fill --randomize /path/to/wallpaper/directory; sleep 600; done &

EDIT: and use mksh instead of bloated bash!

#1624 Re: Desktop and Multimedia » [SOLVED] Random freeze on ASCII » 2021-03-23 17:26:07

Have you installed the amd64-microcode package?

Dutch_Master wrote:

I'd like to give this a thorough stress-test so if the new APU is faulty I can reclaim the expense from the seller. Is there a way to do that?

https://pkginfo.devuan.org/cgi-bin/poli … e&q=stress

#1625 Re: Devuan Derivatives » Issues installing VirtualBox on Refracta » 2021-03-23 17:03:27

fsmithred wrote:

People use virtualbox because it's easy to figure out how to do things with it.

Have you tried gnome-boxes? It's easier to use than VirtualBox, and virt-manager isn't particularly difficult to use either.

fsmithred wrote:

how does one attach a usb drive in qemu?

See https://www.spice-space.org/usbredir.html ← that shows how to configure pass-through for the USB ports themselves. It works for any attached USB devices, including hard drives; gnome-boxes configures it automagically.

EDIT: my fdn guide shows a complete configuration from the command line, including shared folders and USB pass-through.

Board footer

Forum Software