Latest Ubuntu related questions

Score: 0
How do I reschedule mdadm resyncs? Where is /etc/cron.d/mdadm?
cn flag

I've got a software RAID setup using mdadm on a fully updated Ubuntu 20.04. I experience monthly ~31h array resyncs. I suspect this comes from /etc/default/mdadm, which includes:

# AUTOCHECK:
#   should mdadm run periodic redundancy checks over your arrays? See
#   /etc/cron.d/mdadm.
AUTOCHECK=true

I'd like to change when this is scheduled, but I don't seem to have /etc/cron.d/mdadm:

# apt policy mdadm
m ...
Score: 0
tongyao xue avatar
Compile the Linux kernel and select the corresponding version
ng flag

I want to write Linux character drivers on Ubuntu and load it, so I need to download the Linux kernel source code corresponding to Ubuntu and compile it。After uname -r is executed, the result is 5.11.0-41-generic,but I can't find the 5.11.0-41 version in the kernel website as https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/. I tired to download linx-5.11 and compile it ,but when I insmod modu ...

Score: 0
maesterdaemon avatar
Issues enabling NFS from Ubuntu Server to macOS
cl flag

I'm relatively new to all this and appreciate the help.

I'm trying to access my Linux server /home directory from macOS via NFS. I've taken the below steps, but macOS Finder is unable to connect to the server.

Error message: There was a problem connecting to the server “192.168.86.114”. The server may not exist or it is unavailable at this time. Check the server name or IP address, check your n ...

Score: 0
R Kirk avatar
Trying to install Ubuntu 20.04 along side windows 10
gg flag

I have a windows 10 machine with 750GB hard drive it shows 4 partitions 3 show windows the 4th is blank but when Itry to install ubuntu it wants to wipe out my entire harddrive I must be missing a step. Also I did fdisk -l and it showed the partition 277GB as linux the other 3 as windows how do I tell ubuntu to install on that linux partition?

Score: 0
Athena Wisdom avatar
Set USB3 Ports to USB2
gr flag

There are 4 USB3 Gen1 ports on my motherboard's rear IO panel that needs to be running in USB2 mode in order to use more than 32 USB devices on this machine.

The BIOS settings does not appear to work (setting XHCI Gen1 to 0) because lsusb -t in Ubuntu shows the ports to be 5000M.

Is there a way in Ubuntu to set these USB3 ports to work as USB2?

Output of lsusb:

USB3 Gen1 ports still appear as USB3 Gen1  ...

Score: 7
dsha256 avatar
System has not been booted with systemd as init system (PID 1). Can't operate
ca flag

I use WSL2 on Windows 11. I want to run the systemctl command in Ubuntu 20.04, but it gives me the following error:

System has not been booted with systemd as init system (PID 1). 
Can't operate. Failed to connect to bus: Host is down

How can I fix it?

Score: 1
Belinda Fan avatar
No sound on Chromebook 11e converted from ChromeOS
es flag

Converted Chrome OS to Xubuntu 21.10 (tried 20.04) as well. All good but nod sound.

Mixer only shows dummy output. Tried some tricks from here but no luck: Fix No Sound (Dummy Output) Issue In Ubuntu With SND HDA Intel

dmesg showing error:

[    6.040092] sof-audio-acpi-intel-byt 80860F28:00: error: tplg request firmware intel/sof-tplg/sof-byt-max98090.tplg failed err: -2
[    6.040100] sof-audio-acpi-int ...
Score: 0
Steven Berg avatar
Ubuntu 20.04. SSD & HD. Permissions good on SSD. Permissions wrong on HD. Want to change permissions HD. UDATA at /dev/sda3 Terminal command?
ru flag

Inspiron 3891. Running 20.04. Gnome version 3.36.8. Ubuntu on a SSD. My data drive is 2 TB hard disk located at /dev/sda3/ Partition has several folders. Folders have some files. Both the folders and the files show "Me" as the owner and "steve" as group with no write delete authority. I have no idea where "Me" came from. But I (steve) am the owner and the superuser on the SSD and all the files  ...

Score: 0
configure lan card for ASRock H510 PRO BTC+
cn flag

I'm trying to install Ubuntu 20.04 on a machine with a ASRock H510 PRO BTC+ motherboard, but the lan card is not recognized.

This is what is listed on the spec page:

- Gigabit LAN 10/100/1000 Mb/s
- Giga PHY Intel® I219V
- Supports Wake-On-LAN
- Supports Lightning/ESD Protection
- Supports Energy Efficient Ethernet 802.3az
- Supports PXE

(from https://www.asrock.com/MB/Intel/H510%20Pro%20BTC+/i ...

Score: 0
bmellot2 avatar
How do I create a bash script that starts a screen session which can be detached and resumed?
eg flag

Extremely new to this (first actual script I'm writing) but I'm trying to automate some things with my minecraft server. I'm creating a bash script that will be scheduled by chron to

  1. switch the cpu governor to performance
  2. use java to start the server.jar file

Using terminal commands I've been entering screen -r java -Xmx6800M -Xms6800M -jar server.jar nogui from the /home/user/minecraft directo ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.