[RISOLTO] Disabilitare automount HD-Partizioni al boot

Forum italiano degli utenti MX
Message
Author
balarm
Posts: 147
Joined: Thu Dec 07, 2017 3:15 pm

Re: Disabilitare automount HD-Partizioni al boot

#11 Post by balarm »

@fehlix here the parted --list and inxi with all the options this time.

Code: Select all

mx17@mx:~
$ parted --list
mx17@mx:~
$ su
Password: 
root@mx:/home/mx17# parted --list
Model: ATA ST3160815AS (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system     Flags
 1      1049kB  525MB   524MB   primary  ntfs
 2      525MB   80,3GB  79,8GB  primary  ntfs
 3      80,3GB  155GB   74,9GB  primary  ext4            boot
 4      155GB   160GB   4780MB  primary  linux-swap(v1)


Model: ATA Hitachi HDT72103 (scsi)
Disk /dev/sdb: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  320GB  320GB  primary  ntfs


Model: Kingston DataTraveler 3.0 (scsi)
Disk /dev/sdc: 31,0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  31,0GB  31,0GB  primary  ntfs         boot


root@mx:/home/mx17# 

Code: Select all

mx17@mx:~
$ inxi -Fxpolz
System:    Host: mx Kernel: 4.15.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 Desktop: Xfce 4.12.3 
           Distro: MX-17.1_x64 Horizon December 15  2017 base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Desktop Mobo: ASUSTeK model: P5SD2-VM v: Rev x.xx serial: <filter> BIOS: American Megatrends 
           v: 0515 date: 06/29/2009 
CPU:       Topology: Dual Core model: Intel Core2 Duo E7500 bits: 64 type: MCP arch: Penryn rev: A 
           L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 bogomips: 11733 
           Speed: 1600 MHz min/max: 1596/2926 MHz Core speeds (MHz): 1: 1600 2: 1604 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] RV516 [Radeon X1300/X1550 Series] driver: radeon 
           v: kernel bus ID: 01:00.0 
           Display: x11 server: X.Org 1.19.2 driver: ati,radeon unloaded: fbdev,modesetting,vesa 
           resolution: 1280x1024~60Hz 
           OpenGL: renderer: Gallium 0.4 on ATI RV515 v: 2.1 Mesa 13.0.6 direct render: Yes 
Audio:     Device-1: Silicon Integrated Systems [SiS] Azalia Audio driver: snd_hda_intel v: kernel 
           bus ID: 00:0f.0 
           Sound Server: ALSA v: k4.15.0-1-amd64 
Network:   Device-1: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter driver: sis190 v: 1.4 
           port: dc00 bus ID: 00:04.0 
           IF: eth0 state: down mac: <filter> 
Drives:    Local Storage: total: 475.98 GiB used: 145.42 GiB (30.6%) 
           ID-1: /dev/sda vendor: Seagate model: ST3160815AS size: 149.01 GiB 
           ID-2: /dev/sdb vendor: Hitachi model: HDT721032SLA360 size: 298.09 GiB 
           ID-3: /dev/sdc type: USB vendor: Kingston model: DataTraveler 3.0 size: 28.88 GiB 
Partition: ID-1: / size: 68.17 GiB used: 7.76 GiB (11.4%) fs: ext4 dev: /dev/sda3 label: rootMX17.1 
           ID-2: /media/mx17/DATIN size: 298.09 GiB used: 102.05 GiB (34.2%) fs: ntfs dev: /dev/sdb1 
           label: DATIN 
           ID-3: /media/mx17/F248A33E48A30089 size: 74.30 GiB used: 29.30 GiB (39.4%) fs: ntfs dev: /dev/sda2 
           label: N/A 
           ID-4: /media/mx17/Riservato per il sistema size: 500.0 MiB used: 27.1 MiB (5.4%) fs: ntfs 
           dev: /dev/sda1 label: Riservato per il sistema 
           ID-5: /media/mx17/W7ProAgo64wpi size: 28.87 GiB used: 6.29 GiB (21.8%) fs: ntfs dev: /dev/sdc1 
           label: W7ProAgo64wpi 
           ID-6: swap-1 size: 4.45 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda4 label: N/A 
Unmounted: Message: No unmounted partitions found. 
Sensors:   System Temperatures: cpu: 37.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 169 Uptime: 12m Memory: 2.93 GiB used: 458.0 MiB (15.2%) Init: SysVinit runlevel: 5 
           Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.25 
mx17@mx:~
@penguin: I installed gnome-disk, I knew this utility and I used other options time before, I admit didn't use this about mount.
Thanks.
Of course i can use this utility, but i can't understand why in my Thinkpad i don't need gnome-disk.
I would like to understand why the same distro has different actions.
mx Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Xfce 4.14.2
Distro: MX-19.3x64 patito feo October 21 2019
Machine: Type: Laptop System: LENOVO product: 1951A47 v: ThinkPad T60

User avatar
fehlix
Developer
Posts: 10304
Joined: Wed Apr 11, 2018 5:09 pm

Re: Disabilitare automount HD-Partizioni al boot

#12 Post by fehlix »

balarm wrote: Tue Oct 30, 2018 2:04 pm Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ntfs
2 525MB 80,3GB 79,8GB primary ntfs
3 80,3GB 155GB 74,9GB primary ext4 boot
4 155GB 160GB 4780MB primary linux-swap(v1)

[/code]
There are missing partition-flags like msftdata, hidden etc. for the Win7 partitions on /dev/sda1 and /dev/sda2.
I would probably first check if disabling Thunar#s automout will stop those internal devices showing up under /media/.
If so, do check with bios or motherbord if you are using eSATA ports, as mentioned already.
PS: disabling automounting within fstab noauto entry you can always do later.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

balarm
Posts: 147
Joined: Thu Dec 07, 2017 3:15 pm

Re: Disabilitare automount HD-Partizioni al boot

#13 Post by balarm »

Please would you mind telling me what shall i do step by step using thunar#s automount and checking bios> SATA ports???
I add that i was using the same distro months before and everything was fine; I installed again the updated distro since the Pc location is without internet line. I didn't do any change into Bios during or before installation.
thanks.
mx Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Xfce 4.14.2
Distro: MX-19.3x64 patito feo October 21 2019
Machine: Type: Laptop System: LENOVO product: 1951A47 v: ThinkPad T60

User avatar
fehlix
Developer
Posts: 10304
Joined: Wed Apr 11, 2018 5:09 pm

Re: Disabilitare automount HD-Partizioni al boot

#14 Post by fehlix »

balarm wrote: Tue Oct 30, 2018 3:45 pm Please would you mind telling me what shall i do step by step using thunar#s automount.
Disable Thunar's automount:
Menu-Whisker
-> Impostazioni
-> Unità rimovibili e dischi
=::> Dispositive di archiviszione rimovibilli
Disable all as shown :
Dispositive_di_archiviszione_rimovibilli.png
Now reboot to check automount is disbaled.
:puppy:
You do not have the required permissions to view the files attached to this post.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

balarm
Posts: 147
Joined: Thu Dec 07, 2017 3:15 pm

Re: Disabilitare automount HD-Partizioni al boot

#15 Post by balarm »

Good evening everybody, I installed and used the graphic tool "gnome-disk utility" as suggested by penguin and now to mount the internal HD "DATIN" I have to insert the root passwd as I used to do it both in thinkpad and desktopp PC.
It's strange that the same distro act differently according with different hardware.
I insert two different screenshot.
Thanks.
You do not have the required permissions to view the files attached to this post.
mx Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Xfce 4.14.2
Distro: MX-19.3x64 patito feo October 21 2019
Machine: Type: Laptop System: LENOVO product: 1951A47 v: ThinkPad T60

balarm
Posts: 147
Joined: Thu Dec 07, 2017 3:15 pm

Re: Disabilitare automount HD-Partizioni al boot

#16 Post by balarm »

Here the second one
You do not have the required permissions to view the files attached to this post.
mx Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Xfce 4.14.2
Distro: MX-19.3x64 patito feo October 21 2019
Machine: Type: Laptop System: LENOVO product: 1951A47 v: ThinkPad T60

User avatar
fehlix
Developer
Posts: 10304
Joined: Wed Apr 11, 2018 5:09 pm

Re: Disabilitare automount HD-Partizioni al boot

#17 Post by fehlix »

balarm wrote: Wed Oct 31, 2018 3:55 pm Good evening everybody, I installed and used the graphic tool "gnome-disk utility" as suggested by penguin and now to mount the internal HD "DATIN" I have to insert the root passwd as I used to do it both in thinkpad and desktopp PC.
It's strange that the same distro act differently according with different hardware.
I insert two different screenshot.
Thanks.
Gnome-disks mounts under /mnt and by this it requires authentication during manual mount operation.
You can use: MX-Tweak -> Other -> password less mount internal devices, to enable password-less mount.

As we have already installed Disk Manager you would actually not need to have Gnome-disks-utility installed,
as you can achieve this mounting/not-mounting by using Disk Manager.

Your issues comes from the fact that your desktop PC sees the internal drives as removable media,
and Thunar automounter defaults to automount during startup those devices under /media.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

balarm
Posts: 147
Joined: Thu Dec 07, 2017 3:15 pm

Re: Disabilitare automount HD-Partizioni al boot

#18 Post by balarm »

fehlix wrote: Wed Oct 31, 2018 5:58 pm Gnome-disks mounts under /mnt and by this it requires authentication during manual mount operation.
You can use: MX-Tweak -> Other -> password less mount internal devices, to enable password-less mount.

As we have already installed Disk Manager you would actually not need to have Gnome-disks-utility installed,
as you can achieve this mounting/not-mounting by using Disk Manager.

Your issues comes from the fact that your desktop PC sees the internal drives as removable media,
and Thunar automounter defaults to automount during startup those devices under /media.
:puppy:
It's very strange that the desktop pc sees the internal drives as removable media since i didn't do any change in the bios and with precedent installations everything was fine.
Today i tried again a new installation but nothing changed.
I attach the screenshot of disk manager.
You do not have the required permissions to view the files attached to this post.
mx Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Xfce 4.14.2
Distro: MX-19.3x64 patito feo October 21 2019
Machine: Type: Laptop System: LENOVO product: 1951A47 v: ThinkPad T60

User avatar
fehlix
Developer
Posts: 10304
Joined: Wed Apr 11, 2018 5:09 pm

Re: Disabilitare automount HD-Partizioni al boot

#19 Post by fehlix »

Would you please first respond to post #14
Thanks
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

balarm
Posts: 147
Joined: Thu Dec 07, 2017 3:15 pm

Re: Disabilitare automount HD-Partizioni al boot

#20 Post by balarm »

I did what you suggested in the post #14 but nothing changed. Anyway I' ll post a screenshot next week, sure.
Have a nice week-end.
mx Kernel: 4.19.0-6-amd64 x86_64 bits: 64 Desktop: Xfce 4.14.2
Distro: MX-19.3x64 patito feo October 21 2019
Machine: Type: Laptop System: LENOVO product: 1951A47 v: ThinkPad T60

Post Reply

Return to “Forum Italiano”