The officially official Devuan Forum!

You are not logged in.

#476 Re: Other Issues » [SOLVED] Beowulf kernel upgrade oddity » 2022-03-08 03:38:52

Hi, if you want a newer version of the kernel you might consider upgrading to chimaera

I have kernel ver 5.15.x from backports (bpo).

/etc/apt/sources.list

deb http://deb.devuan.org/merged/ chimaera main non-free contrib  
deb http://deb.devuan.org/merged/ chimaera-proposed-updates contrib non-free main    
deb http://deb.devuan.org/merged/ chimaera-updates contrib non-free main  
deb http://deb.devuan.org/merged/ chimaera-backports main non-free contrib  
deb http://deb.devuan.org/merged/ chimaera-security main non-free contrib  

The kernel you have may be stable, but slow turn-over to newer versions.

<edit> since posting this remark I just installed kernel 5.16... bpo chimaera.</edit>

#477 Re: Off-topic » What are you reading/want to read ? » 2022-02-23 22:43:33

biting the clouds By fiona foley

"...nationally renowned visual artist Fiona Foley addresses the inherent silences, errors and injustices from the perspective of her people, the Badtjala of K’gari (Fraser Island). She shines a critical light on the little-known colonial-era practice of paying Indigenous workers in opium..."

#478 Re: Desktop and Multimedia » [SOLVED] in which (cache) folder are installed packages » 2022-02-23 22:30:05

Hi, the apt cache is in /var/cache/apt/

In Synaptic (package manager) there is a switch (tick box) for keeping cached items, settings/preferences/files/temporary-files.

It won't empty the cache automagically.

So if your /var folder is large enough you may leave the cached packages there or copy them for archiving.

I hope this helps you. All the best.

<edit>
If you use aptitude (package manager) in the file: /etc/apt/apt.conf

there is 2 lines you could toggle to false...

Aptitude::Autoclean-After-Update "true";
Aptitude::Clean-After-Install "true";

I have little experience with aptitude. ymmv
</edit>

#479 Re: Hardware & System Configuration » Changing video cards » 2022-02-23 02:07:14

What if I just upgrade from a GT 1650 to a GT 1660? Do I have to completely remove and reinstall the drivers when simply upgrading in the same series?

It's been a while since I upgraded my video card, but...

I remember I changed the card (both nVidia) and booted to see if it broke. It didn't.

But I remember changing from a 9800 and it used an earlier driver (V340.x)
the 1060 uses 495.x

I think "you'll be right".

#480 Re: Other Issues » [SOLVED-BAD RAM] Browser crashes on Devuan 3 and 4,... » 2022-02-16 22:15:17

This kind of thing happened to me with my last motherboard system, but I found that it was corrosion in the motherboard slots that caused spurious ram errors. All quallity parts but bad location to live without air-cond.

#481 Re: Installation » The best init system » 2022-02-15 03:08:23

I'm using openrc as well, since ascii. I find it easy to manage.

#482 Re: Hardware & System Configuration » Severe damage to ext4 filesystem - advice needed » 2022-02-11 22:52:16

Altoid wrote:

Hello:

For whatever reasons (from carelesness to a USB drive with ID issues) I ended up dd'ing an *.iso image on to a 300Gb HDD containing relatively important stuff. I say relatively because I cannot exactly recall what was there.

[Please don't ask about the backup ...]

So I went to see what the testdisk 7.0 utility had to say with respect to the screwed up drive (/dev/sdf):

---
TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

TestDisk is free software, and
comes with ABSOLUTELY NO WARRANTY.

Select a media (use Arrow keys, then press Enter):
--- snip ---
> Disk /dev/sdf - 300 GB / 279 GiB - HITACHI HUS153030VLS300
---

As expected TestDisk detected an Intel/PC partition which I selected:

Disk /dev/sdf - 300 GB / 279 GiB - HITACHI HUS153030VLS300

Please select the partition table type, press Enter when done.
>[Intel  ] Intel/PC partition
--- snip ---

Disk /dev/sdf - 300 GB / 279 GiB - HITACHI HUS153030VLS300
     CHS 36472 255 63 - sector size=512

I then selected Analyse but it found this:

Disk /dev/sdf - 300 GB / 279 GiB - CHS 36472 255 63
Current partition structure:
     Partition                  Start        End    Size in sectors

No ext2, JFS, Reiser, cramfs or XFS marker
 1 * Linux                    0  32 33 36472 225 41  585934848
 1 * Linux                    0  32 33 36472 225 41  585934848

I then selected [Quick Search] and waited as it found the only partition (primary/300Gb) the drive had:

Disk /dev/sdf - 300 GB / 279 GiB - CHS 36472 255 63
     Partition               Start        End    Size in sectors
>* Linux                    0  32 33 36472 225 41  585934848 [300Gb]   <- black fg on green bg ...   =^D

Structure: Ok.  Use Up/Down Arrow keys to select partition.   <-- Says it is OK ...   =^D
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
     Enter: to continue
ext4 blocksize=4096 Large_file Sparse_SB Backup_SB, 299 GB / 279 GiB

I did not go for the [Deeper Search] option because I knew it was only one partition on the drive.

So I went ahead and selected [Write] to write the partition structure to the disk, confirming with (Y).

It (apparently) wrote the partition and informed me that I had to reboot:

You will have to reboot for the change to take effect.

>Ok

After rebooting I see that the drive is still an isoimage and that nothing was written to the drive.
Maybe because *.iso images are RO?

So I went to [Advanced] Filesystem Utils to see what it was about.

Disk /dev/sdf - 300 GB / 279 GiB - HITACHI HUS153030VLS300
     CHS 36472 255 63 - sector size=512

 [ Analyse  ] Analyse current partition structure and search for lost partitions
>[ Advanced ] Filesystem Utils
--- snip ---

I got this:

Disk /dev/sdf - 300 GB / 279 GiB - CHS 36472 255 63

     Partition                  Start        End    Size in sectors
> 1 * Linux                    0  32 33 36472 225 41  585934848

 [  Type  ] >[Superblock]  [*ist]  [Image Creation]  [  Quit  ]
                    Locate ext2/ext3/ext4 backup superblock

I first tried the [*ist] option but that went badly:

 [  Type  ]  [Superblock] >[ *ist ]  [Image Creation]  [  Quit  ]
                              List and copy files

Support for this filesystem hasn't been enable during compilation.

So I tried with the [Superblock] option and got this:

Disk /dev/sdf - 300 GB / 279 GiB - CHS 36472 255 63

     Partition                  Start        End    Size in sectors

  Linux                    0  32 33 36472 225 41  585934848 [300Gb]
superblock 819200, blocksize=4096 [300Gb]
superblock 884736, blocksize=4096 [300Gb]
superblock 1605632, blocksize=4096 [300Gb]
superblock 2654208, blocksize=4096 [300Gb]
superblock 4096000, blocksize=4096 [300Gb]
superblock 7962624, blocksize=4096 [300Gb]
superblock 11239424, blocksize=4096 [300Gb]
superblock 20480000, blocksize=4096 [300Gb]
superblock 23887872, blocksize=4096 [300Gb]
superblock 71663616, blocksize=4096 [300Gb]

To repair the filesystem using alternate superblock, run
fsck.ext4 -p -b superblock -B blocksize device

This is where I loose footing, way out of my depth.

Anyone know how to solve this problem?

I assume (?) that the partition and it's contents is recoverable by writing the partiton structure to the drive.

But TestDisk was not able to do that and I have no idea as to what to do to get it done.

Not to mention all that superblock/alternate superblock stuff.

I'd appreciate some input on this.

Thanks in advance,

A.

Hi, I've done this once or twice,

Generally just chose the last superblock before the trouble began.

superblock 884736, blocksize=4096 [300Gb]

I have also used photorec to recover files... but the names are all machine-like.

regards, Glenn

#483 Re: Installation » [SOLVED] How install nftables ? » 2022-02-07 22:16:05

Thank you for the info HoaS and Marjorie,

I didn't know that about (g)ufw and I'll be implementing your suggestions later today.

#484 Re: Installation » [SOLVED] How install nftables ? » 2022-02-07 06:37:42

I'm using gufw ufw (unified fire-wall)

installing will drag in nft firewalling packages as dep's.

Seems to ok.

#485 Re: Installation » Changing UUID of /root? » 2022-02-03 01:00:51

Well, if it's uuid of fs you require, You can check with lsblk and blkid and fstab, piping through grep for your disk /dev/sd*

Then changing the uuid in fstab for that system. Personally I find using a "live" varient simpler with a text editor and cut/copy/paste.

This is what I have done after changing a(n) fs, even swaps.

#486 Re: Documentation » Help - list all services » 2022-02-02 09:36:29

To su to root, type "su -"
I think that may be your solution. It's in the release notes.

#487 Re: Installation » Changing UUID of /root? » 2022-02-02 09:04:56

I had a couple of attemps at this but struck out time and again. sorry. I've only done this with filesystems. Changing system UID's is different... https://kerneltalks.com/tips-tricks/how … -in-linux/

#488 Re: Desktop and Multimedia » [SOLVED] firefox and asound.conf » 2022-01-26 23:33:46

I appologise, HoaS. I was on my way out yesterday when I posted that comment (Public holiday here in Aus).

I'll check out the link, thank you.

#489 Re: Other Issues » Security Alert: PolicyKit » 2022-01-26 23:23:03

I read that too. Thank you for the updates today :-)

#490 Re: Desktop and Multimedia » [SOLVED] firefox and asound.conf » 2022-01-26 08:08:45

yolobro wrote:

FF is somehow fixated on using the "default" sound output.
Having my asound.conf like this, fixed it and i can control FF*s sound output:

defaults.pcm.card 0
defaults.ctl.card 0

I have had those lines in my /home/glenn/.asoundrc for quite some time ... it didn't iron out any wrinkles for my system.

Currently I don't have /etc/asound.conf on my system, only in old backups.

This file is from October 2020 (ascii I think)

pcm.!default {
    type plug
    slave.pcm "dmixer"
}

pcm.dmixer  {
     type dmix
     ipc_key 1024
     slave {
        pcm "hw:0,0"
        period_time 0
        period_size 1024
        buffer_size 4096
        rate 48000
    }
    bindings {
        0 0
        1 1
    }
}

ctl.dmixer {
    type hw
     card UA25EX
}

ctl.equal {
    type equal;
}

pcm.plugequal {
    type equal;
    # Modify the line below if you do not
    # want to use sound card 0.
    #slave.pcm "plughw:0,0";
    # by default we want to play from more sources at time:
    slave.pcm "plug:dmix";
}

# pcm.equal {
# If you do not want the equalizer to be your
# default soundcard comment the following
# line and uncomment the above line. (You can
# choose it as the output device by addressing
# it with specific apps,eg mpg123 -a equal 06.Back_In_Black.mp3)
pcm.!default {
    type plug;
    slave.pcm plugequal;
}

In this case, where would I insert those 2 lines? Thank you

#491 Re: Desktop and Multimedia » [SOLVED] firefox and asound.conf » 2022-01-22 23:35:03

yolobro wrote:

Hi all,

I have this issue with firefox.
Audio will work out-of-the-box. But once I have a /etc/asound.conf, sound is gone.
These are the error messages:

aplay -L shows

...
default
hw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC236 Analog
    Direct hardware device without any conversions
...

Card 0, device 0 is the normal laptop speaker. aplay works with this device.

my /etc/asound.conf

pcm.!default {
    type hw
    card 0
    device 0
}

ctl.!default {
    type hw
    card 0
    device 0
}

This config will work with everything (aplay, mpg123) but firefox.

I dont use pulseaudio.

Any hints? Thanks!

Hi, I am interested in your post because it seems you have the same problem (no sound with some programs, firefox, palemoon, and other web-browsers) I get when ever I have tried to live without Pulse Audio on my system(s).

I don't have a solution, But I am watching for a solution. Thank you

#492 Re: Desktop and Multimedia » Game Managers » 2022-01-15 02:11:41

I would consider making the /opt/(game-name) folder part of the games group and then make the user a part of the games group.

#493 Re: Off-topic » Happy Holidays & Merry Christmas » 2021-12-25 21:35:53

golinux wrote:

The solstice is the only event worth noting.  All the rest is just human fantasy.  wink

Simple and direct.

#494 Re: Off-topic » Colour of the future? » 2021-12-24 00:49:37

Amber/Marigold... (edit) I suggest.

#496 Re: Installation » [SOLVED] laptop fan running too much: cyber currency miner? Clam inop? » 2021-12-18 22:18:44

Hi, if you are prepared to take it apart, be sure to check the heatsink compound (for any of the heatsinks) and re-apply. It maybe the one thing they did not do when refurbing.

#497 Re: Installation » [SOLVED] laptop fan running too much: cyber currency miner? Clam inop? » 2021-12-16 01:20:56

nobodyuknow wrote:

@GlennW

I updated the BIOS to the most recent one as soon as I acquired the laptop. I had to do it immediately because I was planning on replacing the low-capacity "value" SSD it arrived with (it had Windows installed and HP's BIOS update only works with Windows). And I have never used torrents, but it's good to know that rebooting after using them is recommended practice.

Correction...
I said the wrong thing about my fans, it's not that they switch off, it's that they switch to full ON, and the noise alerts me, then I feel the excessive heat with my hand. I have 2 fans on the Noctua cpu heatsink, and a psw internal fan, and 4 case fans, when they all switch to full speed it's very obvious/noticable.
Regards, Glenn

Forgot to mention the gpu fan, which hardly ever comes on.

#498 Re: Installation » [SOLVED] laptop fan running too much: cyber currency miner? Clam inop? » 2021-12-15 23:02:46

One thought, Bios update on new equipment.

And I think it's true what "andyprough" says about torrents...

I usually have to reboot after visiting torrent sites to stop my PC temps from running away when the fans turn off.

But not just downloading Torrents like Devuan iso's.

For your sake, I hope it's just a bios update. :-) all the best.

p.s.  I use Lynis, chkrootkit and rkhunter and clamav daily and they don't show anything in particular. Lynis helps with hardening tips, but I have found there is a limit to how "hard" and still being able to use my computer. Cheers!

#499 Re: Hardware & System Configuration » Making Devuan more secure. » 2021-12-06 00:37:09

golinux wrote:

GlennW . . . the isos at the above link are in the "unstable" directory.  IIUC, they are not part of the main distribution offered at files.devuan.org and the mini.iso is even more minimal than the netinstall iso.  Maybe have a look and correct me if I'm wrong . . .

Thanks, I see. They both serve a purpose.

#500 Re: Hardware & System Configuration » Making Devuan more secure. » 2021-12-05 00:03:58

golinux wrote:
artchad_777 wrote:

Devuan claims to be a minimalist base GNU+Linux distribution . . .

That, of course, depends on the definition of "minimalist".  That being said, there other Devuan installation media at https://pkgmaster.devuan.org/devuan/dis … s/netboot/.  I have installed from the mini.iso.  I can't remember the details but it was pretty "bare".  Anyway, you might poke around there to see if any of those options suit your criterion better.

I have to agree, Golinux.

The minimalist Devuan distributions are the "net install".iso.

The rest are full blown, "The Full Monty" (as described in another (rpm) distribution).

Board footer

Forum Software