HDD access asks for password, why?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
vilsu
Level 3
Level 3
Posts: 146
Joined: Wed Jan 16, 2013 2:31 pm

HDD access asks for password, why?

Postby vilsu » Mon Jul 10, 2017 3:50 pm

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-

User avatar
Flemur
Level 13
Level 13
Posts: 4540
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: HDD access asks for password, why?

Postby Flemur » Mon Jul 10, 2017 4:14 pm

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
Mint 18.2 Xfce/fluxbox/pulse-less - Xubuntu 16.10/fluxbox/pulse-less
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: 146
Joined: Wed Jan 16, 2013 2:31 pm

Re: HDD access asks for password, why?

Postby vilsu » Tue Jul 11, 2017 11:09 am

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
Level 3
Level 3
Posts: 159
Joined: Tue Jan 08, 2013 11:35 am

Re: HDD access asks for password, why?

Postby srq2625 » Wed Jul 12, 2017 7:11 am

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: 11696
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: HDD access asks for password, why?

Postby austin.texas » Wed Jul 12, 2017 7:59 am

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 2017


Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 1 guest