HDD access asks for password, why?

Archived topics about LMDE 1 and LMDE 2
Locked
vilsu
Level 3
Level 3
Posts: 175
Joined: Wed Jan 16, 2013 2:31 pm

HDD access asks for password, why?

Post by vilsu »

Hello!

I just installed LMDE 2 Cinnamon 64 bit.

Nice thing this new system. I like it.

Can anyone tell me how to mount HDD without it asking password? Once I click the HDD in file manager it lasks for my password? I want to access my HHD right away.

Thank you!

-vilsu-
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: HDD access asks for password, why?

Post by Flemur »

You can make the disk ("partition(s)", actually) mount at boot by adding a line to the file /etc/fstab

To get the info to do that, run these with HDD connected, and post the output here inside "Code" tags:

Code: Select all

blkid
sudo parted -l
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
vilsu
Level 3
Level 3
Posts: 175
Joined: Wed Jan 16, 2013 2:31 pm

Re: HDD access asks for password, why?

Post by vilsu »

Hey!

I got first:

Code: Select all

/dev/sda1: UUID="1b237c63-d4cb-45e3-a863-50ae68c5b443" TYPE="swap" PARTLABEL="primary" PARTUUID="90a51892-ad4e-4b01-9241-f7c2d2966c86"
/dev/sda2: UUID="ea58511b-de78-4397-9c3d-c069838d0392" TYPE="ext4" PARTLABEL="primary" PARTUUID="f67bba45-2d0e-4915-b20b-8cf0ac682d9e"
/dev/sda3: UUID="4bec03b1-82c9-433e-9efd-85a2297a58d1" TYPE="ext4" PARTUUID="34314a0a-4381-4c0d-86c6-a7767d9962bc"
from the first, then :

Code: Select all

Model: ATA TOSHIBA DT01ACA3 (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name     Flags
 1      2097kB  4202MB  4200MB  linux-swap(v1)  primary
 2      4203MB  191GB   187GB   ext4            primary
 3      191GB   2791GB  2599GB  ext4

from the second.

I need to get the 191 GB disk partition to appear without the need to enter admin password first. What should I do?

Thanks,

-vilsu-
srq2625

Re: HDD access asks for password, why?

Post by srq2625 »

In the spirit of teaching on to fish ....

The ArchWiki for fstab is a very good resource to get you started. Read through it, make your updates to your /etc/fstab file and you're off and running.
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: HDD access asks for password, why?

Post by austin.texas »

Create a mount point.
Make sure you have ownership of the mount point.
Add the 191 GB partition to your fstab.

Detail on the process are in this tutorial:
HOWTO: Create & Use a Separate DATA Partition - by gold_finger
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Locked

Return to “LMDE Archive”