usb not mounted

Help on all MX Re-spins
Message
Author
abd_bela
Posts: 20
Joined: Tue Dec 22, 2020 9:56 am

usb not mounted

#1 Post by abd_bela »

Hi
I checked the minimal MX 21.3 ( I want to customize the distro)
I installed it , that is OK.
I plugged and USB, it is not mounted automatically, I opened the thunar manager but there is no button for the usb.
the program thunar-volman is there.
Please what is the procedure used (by other distros) to mount the usb, or maybe a bug in thunar,thunar-volman?

Thanks a lot

User avatar
CharlesV
Global Moderator
Posts: 7171
Joined: Sun Jul 07, 2019 5:11 pm

Re: usb not mounted

#2 Post by CharlesV »

Please post you QSI so we know what computer, drivers etc you have
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
user-green
Posts: 326
Joined: Sat Mar 14, 2020 1:40 am

Re: usb not mounted

#3 Post by user-green »

Hello, abd_bela

In MX 21.3-minimal, USB drives are not automatically here, too. I think some library for the function is missing.
You can use pmount command instead as the example below:
$ pmount /dev/sdb1
To unmount mannually, excute as below:
$ pumount /dev/sdb1
Best regards.

fan_of_LTS
Posts: 102
Joined: Sat Jun 13, 2020 11:49 am

Re: usb not mounted

#4 Post by fan_of_LTS »

In MX 21.3 we are using Thunar 4.18.3. I think it changed a little from the last version.

In Thunar, click Edit, Preferences, then the Advanced tab. under Volume Management click the word Configure. Now you can check the removable storage behavior that you want.

I like this improvement over the older version of Thunar.

abd_bela
Posts: 20
Joined: Tue Dec 22, 2020 9:56 am

can't create kernel program

#5 Post by abd_bela »

Hi,
I tried to create a simple " hello" module, but I got this error: ( The source header is installed :
apt-get install kmod linux-headers-6.0.0-6mx-amd64
515 apt-get install build-essential kmod)

ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.

Here is the hello program, the make file and the error:



#include <linux/module.h> /* Needed by all modules */
#include <linux/printk.h> /* Needed for pr_info() */
int init_module(void) {
pr_info("Hello world 1.\n");
return 0;
}
void cleanup_module(void) {
pr_info("Goodbye world 1.\n");
}
MODULE_LICENSE("GPL");

/** Makefile

obj-m += hello-1.o
PWD=/home/abela/tmp
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
**/

make
make -C /lib/modules/6.0.0-6mx-amd64/build M=/home/abela/tmp modules
make[1]: Entering directory '/usr/src/linux-headers-6.0.0-6mx-amd64'

ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.

make[1]: *** [/usr/src/linux-headers-6.0.0-6mx-common/Makefile:753: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-6.0.0-6mx-amd64'
make: *** [Makefile:8: all] Error 2





Thanks for help

Post Reply

Return to “MX Respins”