The officially official Devuan Forum!

You are not logged in.

#776 Re: Hardware & System Configuration » [SOLVED] Problem with shutdown script » 2021-11-29 14:55:30

If its working directly and not in a script, my first guess would be path issues.

rolfie

#777 Re: Hardware & System Configuration » Attention Dual/Multi-booters: Latest GRUB (2.06-2) disables os-prober » 2021-11-29 12:24:03

Just tried it on my Chimaera box (Arch and Beowulf in parallel installations): Adding that line to /etc/default/grub does not make any difference on efi installations.

rolfie

#778 Re: Hardware & System Configuration » Attention Dual/Multi-booters: Latest GRUB (2.06-2) disables os-prober » 2021-11-29 11:52:36

My experience is that os-prober never worked on efi systems. Valid for Stretch/ASCII, Buster/Beowulf, Bullseye/Chimaera.

rolfie

#779 Re: Other Issues » Type1 fonts » 2021-11-26 16:51:55

Libreoffice has dropped Type1 font support a while ago. You need to find replacements, like ErlerDingbats.ttf instead off ZapfDingbats.

rolfie

#781 Re: Installation » Beowulf installer broken? » 2021-11-19 18:08:23

Addition to my remark in post #7: The Secure Boot mechanism in Debian & Devuan is fixed to support Debian with a fixed entry called debian in the efi-variables called efivars. The installer (no matter if Debian or Devuan) installs 5 files in this directory, two of them being the already mentioned shimx64 and the grubx64. As explained shimx64 is meant to be starting the SB mode but also can start the non SB mode, grubx64 the normal mode. Per default, shimx64 is written into the starter for the efi mode. shimx64 seems to have issues when the base directory isn't called debian.

These boundary conditions cause problems when you want to set up an efi multi distribution setup as you have. I been through all the problems with this, here is my cook book. I have set up my current workstation (AMD X570, Ryzen 3700X, Sapphire xt5500 graphics) 18 months ago with Arch, Beowulf and Chimaera. Initially Beowulf was the main working spot, early summer this year I moved to Chimaera for daily work.

1.) Disable Secure Boot in the Bios and delete all signing keys.
2.) No CSM, pure EFI setup.
3.) Install the distro, reboot, setup sources.list ....
4.) Remove SB files: apt remove grub-efi-amd64-signed
5.) Reinstall bootloader into individual directory (only installs grubx64), example for Beowulf: grub-install --bootloader-id=devuan3 --no-uefi-secure-boot
6.) Check setup with efibootmgr: efibootmgr -v
7.) Cleanup /boot/efi/EFI: remove residual files from directories called debian and devuan.
8.) Cleanup efivars with efibootmgr: efibootmgr -b 000x -B

Set the boot order to the desired option with efibootmgr, or use the Bios Boot Override to boot one of the other possible options. All my 3 options are clean, os-prober never gave me such an option. I like it this way, since I normally boot one distro for working purposes.

My opinion to the automatic partitioning: when I read about all the issues with /boot being too small /root being to small in various Debian/Devuan forums and see what the SW is doing there, I must say: Forget it, that was ok 10 15 years ago, and has not been adapted in any way to today's disk sizes. It sets up sort of a bare minimum size that very often struggels when you add a kernel or a bit more than the bare minimum SW. I am used to use only manual partitioning, even in a VM, even if it is a bit more cumbersome. I usually get what I want and never ran into partition too small type of problems.

HTH, rolfie

#782 Re: Installation » Beowulf installer broken? » 2021-11-18 19:04:02

shimx64.efi is the boot loader for the Secure Mode, I would guess that grubx64.efi would be the better choice (under the assumption that Secure Boot is disabled).

rolfie

#783 Re: Installation » How to have updated firefox-esr in Chimaera? » 2021-11-13 16:44:15

entropyagent wrote:

I should plead with Debian to post an alert on the Devuan forum, so Devuan users know that the default Devuan browser is no longer supported, and they need to make alternative plans if they want to use a supported browser?

Very simple: firefox-esr is not a genuine Devuan package, it is a Debian inheritance.

#784 Re: Desktop and Multimedia » [SOLVED] Delete track number from music file names » 2021-11-09 18:44:43

ralph.ronnquist wrote:

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//' '{}'" ';'

That proposal causes 3 times a: "1: Syntax error: Unterminated quoted string". Tried to fix this, but failed. No idea what exactly caused that to fail. Fiddeled with the quotes around the {}, the ; and the file-rename string.

ralph.ronnquist wrote:

or almost certainly (and with less python):

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

and this one does the job! Thank you, never would have got that together. This line also works on both ways a ' is quoted in the file names on the terminal line:

"Chris Rea - Let's Dance.wav"
'Dr. Hook & The Medicine Show - Sylvia'\''s Mother.wav'

Again, many thanks for this solution.

rolfie

#785 Re: Desktop and Multimedia » Devuan 4 Chimaera / SLiM and WiCD » 2021-11-09 07:42:13

Also SLIM is no more maintained since 7 or 8 years now. Its sort of deprecated. Lightdm is working fine (for me at least).

rolfie

#786 Re: Installation » Two more issues on new Devuan 4 install » 2021-11-09 06:56:55

inxi is in the normal Devuan repository.

rolfie

#787 Re: Desktop and Multimedia » [SOLVED] Delete track number from music file names » 2021-11-07 21:32:10

hemimaniac wrote:

would this work for ya?

http://www.guyrutenberg.com/2009/01/12/ … using-sed/

Or if you would like a GUI , I use gprename all the time, with gprename you may need to also install ssed as for some reason it doesn't get pulled automatically

Well, different approach. I first want to try if I can get my approach to work. Thank you anyway.

rolfie

#788 Re: Desktop and Multimedia » [SOLVED] Delete track number from music file names » 2021-11-07 21:25:41

One step further, replaced rename with file-rename from the Debian package rename. It now reads

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

A direct

file-rename -v 's/^[0-9][0-9]\s-\s//' '01 - Canned Heat - On The Road Again.wav'

renames the file as desired. So I have a problem with the hand-over of the filenames from find to file-rename. And here I am stuck. I have too little insight into this topic.

rolfie

#789 Desktop and Multimedia » [SOLVED] Delete track number from music file names » 2021-11-07 20:47:21

rolfie
Replies: 9

Got a lot of music data on my file server. Before finding out that an easy duplicate recognition isn't possible, files were ripped beginning with the track number from the CD. I stopped this later on and want to clean up now. Example:

01 - Canned Heat - On The Road Again.wav

My goal is to remove the track number from the file name for all files having this in the current directory. Example:

Canned Heat - On The Road Again.wav

From digging through man pages and several threads on many forums, I finally came up with this approach:

find . -type f -name '[0-9][0-9] - *' -exec rename 's/^[0-9][0-9] - //' {} +

The find part works, with the -print option it lists all the files in the test directory I have set up. The rename part has a problem, and I can't figure out what's wrong. I have learned that compared to Debian the rename utility isn't part of the util-linux package but a perl application that has to be installed separately. How is the relation between regex and a perl-expression?

In any case, above line in a script does not seem to do anything, the script terminates without action, output or error. What ido I need to change?

rolfie

#790 Re: Installation » Looking for advice for upgrading from Ascii to Chimaera. » 2021-11-06 20:03:51

A direct upgrade isn't advised and possible (if you don't want to break your server).

Either stepwise to Beowulf first with enough reboots to digest the changes (read the release notes), or a complete new installation is required to achieve what you want.

rolfie

#791 Re: Installation » [SOLVED] change from cdrom to USB flash drive in sources.list » 2021-11-04 21:59:02

What for? Your approach isn't useful. Delete that line(s) and you're done.

rolfie

#792 Re: Installation » How to have updated firefox-esr in Chimaera? » 2021-11-02 19:55:46

Why all this hickup - just checked my 78.15.0ESR: the upgrade to 91.3.0ESR is possible.

#793 Re: Hardware & System Configuration » [SOLVED] Display / monitor / mouse freeze after hours - Chimaera, not ASCII » 2021-10-31 18:08:11

Try to replace slim (no more developed) with lightdm. I am running that on a 3700X.

rolfie

#794 Re: Installation » Devuan was working ok, but now no internet » 2021-10-29 19:52:06

Mike-thinky wrote:

ahh, adding /sbin/blkid now works,

so sudo blkid gives command not found,
but sudo /sbin/blkid works!

Explanation: please read the Chimaera release notes https://files.devuan.org/devuan_chimaer … _notes.txt, especially the section about su (not a Devuan specific problem).

rolfie

#795 Re: Installation » Devuan was working ok, but now no internet » 2021-10-28 18:48:54

Mike-thinky wrote:

How do I display the uuid's of the disks?

# blkid

#796 Re: Devuan » Test Testing version » 2021-10-26 19:57:32

Devuan is free from systemd. Thats the purpose.

#797 Re: Installation » [SOLVED] sysvinit, runit, or OpenRC? » 2021-10-22 19:10:15

I am using openrc since ASCII. Works fine.

My first encounter with runit in a virtual machine a while ago was frustrating. Didn't realy work. Though there are people that are using it with success now. Maybe its time for another try.

rolfie

#798 Re: Installation » How to have updated firefox-esr in Chimaera? » 2021-10-22 19:07:26

What is wrong with firefox-esr 78.15.0? When it is no more supported Chimaera will update to the next release.

Anyhow, I am using firefox-esr downloaded from upstream. It will tell me when the Upgrade to 91.2 is due. I can wait.

rolfie

#799 Re: Other Issues » Devuan on Virtualbox share not working » 2021-10-18 19:38:00

You have to define the shared folder in the VBox Manager and then you need to mount it within Devuan. Refer to VBox manual.

#800 Re: Other Issues » Devuan on Virtualbox share not working » 2021-10-18 19:07:56

Not a Devuan problem. What exactly do you want to achieve, and what have you done as preparation?

Board footer

Forum Software