Ask Linux

107 readers
5 users here now

Ask the community any questions about Linux

founded 1 year ago
MODERATORS
1
 
 

Although I work with Audio, I have no real clue on how audio works on Linux, despite using it since Kernel 0.97...

What I have: I've got a machine with normal onboard audio IOs and a BT dongle. It is running Ubuntu Server.

What I want: I want it to take the analog signal from LineIn and forward this to a BT speaker linked to the BT dongle. This should preferably run like a service, so it autostarts when booting the server.

Any idea where to start, which programs and systems to look for?

2
 
 

These 18TB drives I have (two of them) are both fine. If I put in my Windows 7 hard drive, windows mounts just fine.

But on my Linux Mint iso usb boot stick, and on my rescuezilla usb boot stick, both sticks refuse to mount these usb drives.

They worked until last night, when my main OS crashed, and won't boot at all now. Luckily I made a backup last night using rescuezilla before I updated.

Which doesn't do me much good when the backup is 600gb, and I don't have a usb stick that big to transfer to, and rescuezilla isn't mounting my hard drives it's saved on.

What do I do?

3
 
 

At times a package I install later on wants to take packages previously installed while going out. Some even try to take out core system packages. This mean trying out something is fraught with risk of permanently staining the installation.

Why does this happen?

4
 
 

I tried and the installer encounters an unexpected error as it reaches 100%. This removes all the files from the Program Files folder.

If I rename the folder before clicking the continue button I can keep all the binaries installed, but the application won't run saying it's missing a core dll.

Has anyone tried and succeeded?

5
 
 

Hello,

I have a desktop PC which I'll be running Kubuntu 24.04 LTS as my main OS. No Windows dualboot or anything.

I have 2 hard drives.

  • My main one is a 1TB SSD NVME disk which will contain my Linux OS on a single BTRFS partition.
  • My second one is a 1TB HDD NTFS formatted disk which contains only my data files (Pictures, Documents, Downloads, Desktop, Music, Videos, etc. Symlinked in my /home/user directory to replace the folders of the same name)

Since I'll be using BTRFS, I'll be performing snapshots (daily, weekly, monthly) with a certain retention for each.

But I want to also take snapshots of my whole system on a monthly basis or so on an external 8TB external backup drive (one of those big ones as big as a book that's permanently hooked up to my PC) for safety's sake.

My external USB backup HDD is exFAT formatted (out of the box).

Doing an rsync from from my NTFS data drive to my external drive won't be a problem. But I can't do an rsync from my BTRFS SDD to my external drive because of permissions, ownership, etc.

What do you suggest I do in that case for my SDD drive?

I was thinking of creating a mountable ext4 disk image of maybe 2-4TB and mounting it at boot, then doing an rsync to that disk image on a monthly basis.

What do you think?

EDIT:

I've since installed Kubuntu on my PC and I decided to go with BTRFS + snapshots of my filesystem on a daily, weekly and monthly basis with retention rules using TimeShift. BTRFS is a powerful filesystem that has volumes and snapshots built in. And it's SUPER easy to use, either throug command line or TimeShift app. (If you're using a non-Ubuntu based distro, make sure you configure your volumes properly. I use this to create snapshots of my root filesystem. I have a separate disk for my data.

I also found out about KDE Plasma's backup tools in the control center. There's an option to create synchronized backups. You select a folder to back up and set a schedule (daily, weekly, etc) to back up your files on a regular basis. Be careful though. Because it's synchronized, if you delete a file in the original location, it will be deleted in the backup destination. I've setup mine to back up my data disk to an external HDD once a week. This gives me some time to recover if I mess up. You can also browse the backed up files as you would any directory.

This is the perfect solution for me. My files are not SUPER important, but having the option of being able to recover from a problem or a mistake is really nice. I feel much more at peace this way. I highly recommend this solution to anyone, especially if you're using a more unstable, bleeding edge distribution. It's super easy to set up and to recover.

6
 
 

I am trying to create an entry in nvram to boot an os of my choice. I have the xxxxxxxxx.efi file for it ready and placed in the second partition that is 32 bit FAT formatted for EFI and also contains my Windows and other OS loaders.

I have understood the syntax for referring to a HDD and its partitions as sda1, sda2 etc. so that I can type /dev/sda2 for eg. But with nvme I am not sure.

I have a single such nvme sdd in the only M2 slot on motherboard. How to address the second partition in it for efibootmgr command?

7
 
 

In both Fedora and PCLinuxOS Debian edition which I have installed recently it seems I need to add the only user to sudoers list to perform certain actions.

How to do this?

8
 
 

Fedora KDE version does not seem to have all packages available through Discover.

How can I see all software from Fedora repos?