The officially official Devuan Forum!

You are not logged in.

#226 Hardware & System Configuration » [SOLVED] syslinux.cfg help » 2024-12-26 20:33:30

Altoid
Replies: 7

Hello:

After a scare or two I have taken to, besides my usual BackInTime+Timeshift routines, make full images of my system drive and store them locally, in a makeshift *NAS* (MyBookLive / WRT) and in a set of four IBM 73Gb SAS drives which rotate weekly.

In another life I used Norton Ghost to do something similar at the office but now I am using clonezilla-live-3.2.0-5 to generate the compressed images which I then copy to the MBL/WRT via FTP. Turns out that it is much faster (~40Mb/s) than the native WRT rsync.

The thing is that I need to streamline the clonezilla-live booting process, at least to avoid having to choose various options to get the right keyboard layout every time I run it.

My usual keyboard option is a generic 105 key PC keyboard with Spanish Latin American layout, dead tilde, right AltGr and no compose key but I have not been able to figure out how to insert all that in the syslinux.cfg file.

eg:
These are the options I have to choose at boot time:

model:     generic 105-key PC
layout:     latam
variant:    deadtilde
option:     right AltGr and no compose

--- snip ---
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live union=overlay username=user config components quiet loglevel=0 noswap
edd=on nomodeset enforcing=0 noeject locales= keyboard-layouts= ocs_live_run="ocs-live-general"
ocs_live_extra_param="" ocs_live_batch="no" vga=788 net.ifnames=0  nosplash i915.blacklist=yes
radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
--- snip ---

Where do I put all that if there is only locales= and keyboard-layouts= to use?
What would the correct syntaxis be?

Thanks in advance.

Best,

A.

#227 Re: Freedom Hacks » the right procedure ? » 2024-12-25 14:23:46

Hello:

Just a (belated) comment / heads-up:

aluma wrote:

... enough RAM (4 GB or more) ...

My Devuan Daedalus system runs on a box with a 120GB SSD and 8GB RAM.
As my conky swap file use always read nought, I decided to reduce it to 2.6GB just in case some application looks for a swap file.
I plan to reduce it further should I need more space in / or /home.

Long after that, I set up a tmpfs like you suggested.
It ran without a hitch till a couple of days ago when I had a system lock-up while streaming a video.
Something I had never encountered before and made me fear for my system's SSD.

After making a full Clonezilla image of my system drive, I had a look (among other things) at df -h and found that it was set up with a capacity of 3.9GB, something I was not aware of:

$ df -h
--- snip ---
tmpfs           3.9G   18M  2.0G   1% /home/groucho/.cache/mozilla/firefox
--- snip ---
$ 

This is 50% of the available physical system RAM in my box.
And the default value tmpfs claims when it is set up without specifying the desired size.
In this specific case, it was more than the amount assigned* to /dev/shm:

$ df -h | grep tmpfs
tmpfs           788M  800K  787M   1% /run
tmpfs           5.0M  8.0K  5.0M   1% /run/lock
tmpfs           2.1G     0  2.1G   0% /dev/shm
tmpfs           3.9G   20M  2.0G   1% /home/groucho/.cache/mozilla/firefox
tmpfs           788M  8.0K  788M   1% /run/user/1000
$

* apparently limited by the amount of available RAM in a system

Suspecting some sort of conflict (?) somewhere, I did some searching and found this tidbit which may be of use.

I have now set it up with a specified size of 2GB:

$ cat /etc/fstab
--- snip ---
tmpfs     /home/groucho/.cache/mozilla/firefox  tmpfs nosuid,nodev,noatime,user,uid=1000,size=2G  0  0
$ df -h
--- snip ---
tmpfs           2.0G   18M  2.0G   1% /home/groucho/.cache/mozilla/firefox
--- snip ---
$ 

I really don't really know if the two lockups I had were caused by my system using a 3.9GB tmpfs but I'll report back if I get another lock-up.

Best,

A.

#228 Re: Devuan » Xfce 4.20 released in Dec 15,2024 » 2024-12-25 00:28:59

Hello:

brocashelm wrote:

Hooray for ...

It seems that the term enshitification was coined especially this type of crap.

Unbelievable (albeit not unexpected).
The Xfce crowd have been heading towards it for the longest while.

Best,

A.

#229 News & Announcements » Merry Christmas » 2024-12-24 10:08:16

Altoid
Replies: 13

Hello:

A hearty season's geeting (Merry Christmas / other celebrations, etc.) to all here at Dev1.
Especially so to all those who keep the Devuan project moving forward.

Best,

A.

#230 Re: Devuan » Xfce 4.20 released in Dec 15,2024 » 2024-12-24 10:02:07

Hello:

sonichy wrote:

When to upgrade?

Hmmm ...
Never?

sonichy wrote:

... meet a bug:

See?

Best,

A.

#231 Re: Documentation » How to: Devuan 5 Daedalus an pipewire » 2024-12-15 17:06:52

Hello:

greenjeans wrote:

... the only old geezer who runs pure ALSA and nothing else?

Let's see ...

Old               ☑   
Geezer         ☑  -> actually, one of the US english slang terms for 'old'.
Pure ALSA   ☑

Yes, add me to the list.

golinux wrote:

Add me to that list!

Nope.
Nocando Miss ...

Just using pure ALSA is not enough to qualify for that list.

Best,

A.

#232 Re: Installation » Has anyone got Devuan to run on HP + Intel RST? » 2024-12-10 00:45:32

Hello:

systemnaut wrote:

... like to get Devuan going on it!

Check one of these, there may be something useful.

https://www.youtube.com/watch?v=UTXXvxUjd-A
https://www.youtube.com/watch?v=B9wbCOajZ2A
https://www.youtube.com/watch?v=_M_yOwBoCA8

No, I have not seen the videos.

Best,

A.

#233 Re: Installation » Devuan Daedalus - hibernation settings » 2024-12-07 01:07:15

Hello:

ralph.ronnquist wrote:

... had a disruptive space on the line making it be "RESUME= none" .

I could have sworn I did a copy/paste of the original text by fsmithred.
Evidently not.

ralph.ronnquist wrote:

... the file gets processed as a shell script ...
... experience the shell script difference between the two lines lines:

RESUME=none
RESUME= none

In other words, a syntax error (?)

ralph.ronnquist wrote:

... first line sets RESUME to "none" ...
... second line sets RESUME to  the empty string for a sub shell attempting to execute a program named "none".

Thank you for taking the time to explain all this.
Learn something every day.

ralph.ronnquist wrote:

... simple mistake to make ...
... usability coefficient for initramfs-tools has room to be raised.

And I should have checked ...  8^°

But it worked, I am no longer getting that line in my dmesg:
ie:

--- snip ---
[   24.068315] PM: Image not found (code -22)
--- snip ---

Thank you very much for your input.

Best,

A.

#234 Re: Installation » Devuan Daedalus - hibernation settings » 2024-12-06 13:03:53

Hello.

Altoid wrote:

Not so sure ...

Not willing to let it go at that, I went over the error message again ...

# update-initramfs -u
--- snip ---
/usr/sbin/mkinitramfs: 5: /etc/initramfs-tools/conf.d/resume: none: not found
--- snip ---
#

... because it had to be a spelling or syntax problem.
ie: my bad.

I tried with misspelling none -> nones and got this:

# update-initramfs -u
--- snip ---
W: initramfs-tools configuration sets RESUME=nones
W: but no matching swap device is available.
--- snip ---
#

The system does not find a matching swap device, but that is not the error I previously had.

So I tried using the syntax that the error message actually printed out, ie: resume: none <- a space in the wrong place
and then got the original error message:

# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.1.0-28-amd64
/usr/sbin/mkinitramfs: 5: /etc/initramfs-tools/conf.d/resume: none: not found
I: The initramfs will attempt to resume from /dev/sda3
I: (UUID=f0187ff0-be52-4bbc-9461-40f744554b85)
I: Set the RESUME variable to override this.
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
# 

So ...
Mystery solved.
ie: a severe case of PEBCAK.  8^°

Once again, thanks for your input.

Best,

A.

#235 Re: Installation » Devuan Daedalus - hibernation settings » 2024-12-06 12:24:15

Hello:

ralph.ronnquist wrote:

Please show the file in that failing use case, when you set RESUME=none ...

I had deleted the edited file and returned to the back-up I saved.
So I re-edited it now.

$ cat /etc/initramfs-tools/conf.d/resume
# changed 06122024
# see https://dev1galaxy.org/viewtopic.php?pid=53266#p53266
# this box does not use hibernation / resume

RESUME=none

# RESUME=UUID=f0187ff0-be52-4bbc-9461-40f744554b85
$ 

But now it works.

# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.1.0-28-amd64
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
#

I'm sure I had written / spelled it correctly.

But if it did not work, there was obviously something amiss.
Maybe the added comments?
Not so sure now.  8^/

Thank you very much for your input.

Best,

A.

#236 Re: Installation » Devuan Daedalus - hibernation settings » 2024-12-06 11:39:25

Hello:

ralph.ronnquist wrote:

Please show ...

$ cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=f0187ff0-be52-4bbc-9461-40f744554b85
$ 
$ sudo blkid
--- snip ---
/dev/sdb3: UUID="f0187ff0-be52-4bbc-9461-40f744554b85" TYPE="swap" PARTUUID="0004a8f4-03"
--- snip ---
$ 
ralph.ronnquist wrote:

Is there another file ...

No, just that one.

$ ls /etc/initramfs-tools/conf.d/
resume
$ 

Thank you for your input.

Best,

A.

#237 Installation » Devuan Daedalus - hibernation settings » 2024-12-06 10:39:25

Altoid
Replies: 7

Hello:

This topic is a split from this this thread.
(See posts #19 / #20)

--- split ---

fsmithred wrote:

... want to hibernate to disk, replace "none" with the uuid of your swap partition.

--- /split---

That is exactly what my box has and the UUID is the swap file.
But it happens that I do not keep my system on all day, just shut down and reboot as needed.
ie: there is no hibernation image present, never set it up to hibernate.

At some point my dmesg printout reads:

--- snip ---
[   24.068315] PM: Image not found (code -22)
--- snip ---

Q:
Does the system look for a hibernation image at boot time because the line in /etc/initramfs-tools/conf.d/resume is not set to =none and there is a valid (swap file) UUID present?

If I edit /etc/initramfs-tools/conf.d/resume and set RESUME=none, on updating I get this:

# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.1.0-28-amd64
/usr/sbin/mkinitramfs: 5: /etc/initramfs-tools/conf.d/resume: none: not found
I: The initramfs will attempt to resume from /dev/sdb3
I: (UUID=f0187ff0-be52-4bbc-9461-40f744554b85)
I: Set the RESUME variable to override this.
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
# 

The system looks for a swap file and not finding one with a UUID of none, finds one with a valid UUID and uses it.
But like I said, I never set the system up for hibernation and although the system finds a swap file to hibernate, it does not (as dmesg indicates) find an image. (I am assuming it is a hibernation image)

How to solve this?
Thanks in advance.

Best,

A.

#238 Re: Hardware & System Configuration » Swapon bash:command not found ? » 2024-12-05 15:46:30

Hello:

greenjeans wrote:

@Altoid no worried from me about thread-jacking ...

Thanks, but it is your thread ie: started by you.

greenjeans wrote:

... forum decorum being what it is ...

... is the reason I made reference to thread-jacking.

But I see no need to change anything.

My piggybacked question was posted on the answer fsmithred posted for you.
Still your thread.

Best,

A.

#239 Re: Hardware & System Configuration » Swapon bash:command not found ? » 2024-12-05 11:56:26

Hello:

This post caught my eye.

Don't want to hijack the thread but seems relevant.
So just one question, if I may.
Please let me know if it warrants a separate thread.

fsmithred wrote:

... want to hibernate to disk, replace "none" with the uuid of your swap partition.

That is exactly what my box has and the UUID is the swap file.
But it happens that I do not keep my system on all day, just shut down and reboot.
ie: there is no hibernation image present, never set it up to hibernate.

At some point my dmesg printout reads:

--- snip ---
[   24.068315] PM: Image not found (code -22)
--- snip ---

Q:
Does the system look for a hibernation image at boot time because the line in /etc/initramfs-tools/conf.d/resume is not set to =none and there is a valid (swap file) UUID present?

If I edit /etc/initramfs-tools/conf.d/resume and set RESUME=none, on updating I get this:

# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.1.0-28-amd64
/usr/sbin/mkinitramfs: 5: /etc/initramfs-tools/conf.d/resume: none: not found
I: The initramfs will attempt to resume from /dev/sdb3
I: (UUID=f0187ff0-be52-4bbc-9461-40f744554b85)
I: Set the RESUME variable to override this.
live-boot: core filesystems dm-verity devices utils udev blockdev dns.
# 

The system looks for a swap file and not finding one with a UUID of none, finds one and uses it.
What to do?

Best,

A.

#241 Re: Other Issues » Clearing the DNS cache » 2024-11-25 23:52:14

Hello:

@Ron
See https://www.linux.org/threads/clearing- … ost-250695

GatorsFan wrote:

Since you are using Devuan you do not need to flush the DNS Cache it does not cache DNS lookups - depending if you installed it with SysVInit or RunIt - since there is no systemd any systemd commands will not work such as systemctl
You router may cache them but all non-systemd Linux OSes do not DNS cache as far as I know

That said, I run a Chimaera VM with pi-hole and unbound inside my Daedalus box.
There is a DNS cache but it is mine.
It can be flushed though the UI.

Best,

A.

#242 Re: Off-topic » systemd v257 requires the merging of /bin and /sbin » 2024-11-15 12:21:02

Hello:

They cannot be disabled, there are no options to do so ...

That is a proper developer / programmer reply, states facts as they are and (sort of) explains why.
ie: textbook proper

... feel free to send a patch upstream to implement such a feature if you want to do so.

That is a proper assholican / idiotic reply.
ie: textbook proper

A.

#243 Re: Off-topic » systemd v257 requires the merging of /bin and /sbin » 2024-11-15 11:21:24

Hello:

steve_v wrote:

... sky is blue, the sun rose in the east again, and Lennart is still an asshole.

I used to think more or less along the same lines.
But after reflecting on the matter (on and off fashion) I came to the conclusion that he may be an asshole, an idiot of sorts too.

---> But he is quite clearly a capable developer / programmer. <---
Just why do you think he is working for YouKnowWho?

I'd try to avoid continuing to underestimate Poettering, at your+everyone else's peril.

What I once labelled as being an asshole+idiot was the result of my frustration at what was going on.
But then I realised that it was my reaction (questionable and angry ad hominem manner) against the fact that he had evidently been working to infect Debian with the infamous systemd* for quite a long time, maybe years.

You do not come up with such complex shit overnight, no matter how capable you are.

After that, he outed himself by openly going to work for MS, where he now continues with the classic +30 year old Embrace Extend and Extinguish process we are all familiar with, process that he surely started from inside Debian much before systemd was ever heard of.   

* nothing but an MS registry for the Linux ecosytem

And here we are.

Best,

A.

#244 Re: Installation » New bpo Kernel Upgrade 6.10.11+bpo-amd64 fails to boot » 2024-11-10 17:23:03

Hello:

alexkemp wrote:

... could not find an easy way to do that ...

You can also do it via email.

See here: https://www.debian.org/Bugs/Reporting

Sending the bug report via e-mail
--- snip ---
You can report bugs in Debian by sending an e-mail to submit@bugs.debian.org with a special format described below. reportbug (see above) will properly format the e-mails for you; please use it!
--- snip ---

I guess that as long as it is properly formatted, it will not bounce / be ignored.
Maybe just avoid mentioning Devuan ...  8^°

Best,

A.

#245 Re: Desktop and Multimedia » Pluma bug and proposed fix: Where do I report, and what happens next? » 2024-11-04 12:25:35

Hello:

Ron wrote:

... Devuan 5's repos is 1.26.0, so it may be already fixed ...

The changelog file in pluma_1.26.1-2.1_amd64.deb does not seem to mention it (?): 

### pluma 1.26.1

 * Translations update
 * Fix out-of-bounds write
 * Fix double activation of extensions
 * pluma-plugins-engine: fix memory leak

### pluma 1.26.0

 * Translations update
 * filebrowser-plugin: fix segfault on open-terminal action
 * update copyright to 2021
 * build: fix shebangs
 * warning: declaration of  shadows a global declaration
 * pluma: Use EXIT_SUCCESS macro instead of int value (portability)
 * help: update help for sort plugin
 * sort plugin: Port sort plugin to the new GtkSourceView api.
--- snip ---

Cannot be tested in Daedalus; GDebi won't install -> non-satisfiable dependency: gir1.2-pluma-1.0 (=1.26.1-2.1).

Best,

A.

#246 Re: Desktop and Multimedia » Firefox 128.3.1esr *not* clearing history on closing » 2024-10-17 20:22:12

Hello:

stargate-sg1-cheyenne-mtn wrote:

... comfortable using Firefox "about:config" ...

That is usually, albeit not always, a good way to start.

I went looking and through trial and error finally managed to (?) domesticate the beast a bit.
But the jury is still deliberating, so caveat emptor.

What I did in about:config was this:

1. looked for all instances of recent
2. set browser.bookmarks.editDialog.maxRecentFolders to 0
3. set browser.download.manager.addToRecentDocs to false
4. set browser.engagement.recent_visited_origins.expiry to 1*
5. set browser.urlbar.recentsearches.featureGate to false
6. set browser.urlbar.suggest.recentsearches to false
7. set privacy.restrict3rdpartystorage.heuristic.recently_visited_time to 1*
8. set services.sync.prefs.sync.browser.ctrlTab.sortByRecentlyUsed to false

* the default values are (probably) in seconds so I used 1 in case nought (0) means forever.

There's probably more to edit, time will tell.

Thank you all for your input.

Best,

A.

#247 Re: Desktop and Multimedia » Firefox 128.3.1esr *not* clearing history on closing » 2024-10-17 14:14:38

Hello:

stargate-sg1-cheyenne-mtn wrote:

... comfortable using Firefox "about:config" ...

Sure, no problem with that.

stargate-sg1-cheyenne-mtn wrote:

... start investigating by searching these ...

Thanks for that info.

stargate-sg1-cheyenne-mtn wrote:

... keep us posted ...

Of course, always.

But ...
On one hand, I have not heard from anyone (yet) with the same issue and on the other, I have not been able to reproduce it.
Not has it happened again.

What I know for sure is that I had not ever seen it happen before the last two Firefox *esr updates.
ie: the versions without the upper left hand View recent browsing across windows and devices icon.

Can that new crap feature be disabled?

And then it may be a fluke, a hardware problem or worse, allucinations. 8^°
No idea, but I don't like it.

Thanks for your input.

Best,

A.

#248 Re: Desktop and Multimedia » Firefox 128.3.1esr *not* clearing history on closing » 2024-10-16 18:31:23

Hello:

quickfur wrote:

... you can always ...
... probably also includes profiles and settings ...

I'd rather it worked as intended.

One thing though: while testing today I found that I cannot reproduce this at will, which is strange.
I'll have to do some more testing.

Thanks for your input.

Best,

A.

#249 Desktop and Multimedia » Firefox 128.3.1esr *not* clearing history on closing » 2024-10-16 15:00:27

Altoid
Replies: 18

Hello:

Devuan Daedalus now running Firefox 128.3.1esr but the same thing was happening with the previous browser version.

I have (as I have done ever since I can recall) the Privacy and Security -> History setting as 'Use custom settings for history' with 'Clear history when Firefox closes' checked.

Always worked, but now I find that closing Firefox does not do what I set it to do.

I return home, boot my box, open Firefox and instead of getting the usual blank page, I get the last web site I was looking at when I closed the browser.
Quite annoying.

Has anyone else seen this same behaviour?
Any idea as to what may be going in?

Thanks in advance.

Best,

A.

#250 Re: Hardware & System Configuration » 6.12 kernel and Renesas USB 3.0 USB host controllers » 2024-10-16 11:12:09

Hello:

mirrortokyo wrote:

... wasted several hours bisecting the failure of the 6.12-rc? kernels ...

I beg to differ.

I don't think you have wasted your time.
You have spent / invested it. ie: in doing part of the legwork needed to make progress in the testing of the upcoming 6.12 kernel release.
Not the same by any means.

Thank you for that.

mirrortokyo wrote:

... hardware affected was identified ...

Yes.
My box running Devuan Daedalus has a card with one of those  ubiquitous controllers, works properly:

~$ lspci
--- snip ---
04:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03)
--- snip ---
~$ 
~$ lspci -n
--- snip ---
04:00.0 0c03: 1912:0014 (rev 03)
--- snip ---
~$ 
/boot$ cat config-6.1.0-26-amd64 | grep -i CONFIG_USB_XHCI_PCI_RENESAS
# CONFIG_USB_XHCI_PCI_RENESAS is not set
/boot$ 

Being 6.12 a release candidate (ie: in testing) this glitch will probably be ironed out by the time 6.12 is released, possibly by mid/end of november.

You may want to consider filing a bug report upstream bug report to make both your efforts count and the maintainers aware of the problem.

Best,

A.

Board footer

Forum Software