Access to HDD

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: Access to HDD

Post by MagnusB »

You can just edit /etc/fstab to mount the partition automatically on boot.
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.
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
bth73
Level 2
Level 2
Posts: 96
Joined: Tue Apr 01, 2008 12:43 am

Re: Access to HDD

Post by bth73 »

I'd like to do the same for my 2nd internal hd (hddb). How do you do the editing?
I don't like having to enter passwords either. I figured out how to turn off log on screen, and i'd like to do away with the root requirement to. Nobody but me uses this computer.
THE COMPUTER SLAYER
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: Access to HDD

Post by MagnusB »

You can't fully remove root, the easiest way I find is to be root in a terminal:

Code: Select all

sudo su -
or if you have the root account enabled:

Code: Select all

su -
As for editing fstab, could you post it here, if it is an internal disk?
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
bth73
Level 2
Level 2
Posts: 96
Joined: Tue Apr 01, 2008 12:43 am

Re: Access to HDD

Post by bth73 »

Yes, I'm talking about an internal hard drive. I'm a real newbee ( 2 months old), so please be complete in you answer.

Thanks, The computer Slayer
THE COMPUTER SLAYER
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: Access to HDD

Post by MagnusB »

Could you post your /etc/fstab here?
use

Code: Select all

cat /etc/fstab
in a terminal window and post the output here.
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
bth73
Level 2
Level 2
Posts: 96
Joined: Tue Apr 01, 2008 12:43 am

Re: Access to HDD

Post by bth73 »

bt@bt-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
# Entry for /dev/hda1 :
UUID=d9412e5f-8feb-4613-ac61-9ed97f3cea19 / ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/hda5 :
UUID=23e81049-a6cf-4815-98b9-2935fc8aa357 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
/dev/hdc /media/cdrom1 udf,iso9660 user,noauto,exec 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
bt@bt-desktop:~$
THE COMPUTER SLAYER
MagnusB
Level 6
Level 6
Posts: 1252
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: Access to HDD

Post by MagnusB »

That does not list any NTFS partition, was it mounted when you ran cat?
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
bth73
Level 2
Level 2
Posts: 96
Joined: Tue Apr 01, 2008 12:43 am

Re: Access to HDD

Post by bth73 »

Yes second HD was mounted. I have no ntfs drives.
THE COMPUTER SLAYER
Fred

Re: Access to HDD

Post by Fred »

bth73,
All my video files were on their own physical drive. Because it's huge and my ext3-formatted drive is tiny, I left the video drive formatted as NTFS.
lol.... OK, Well, now you have me confused too. If you don't have an NTFS drive you are trying to access; what is the question again? :-)

Fred
bth73
Level 2
Level 2
Posts: 96
Joined: Tue Apr 01, 2008 12:43 am

Re: Access to HDD

Post by bth73 »

Hey I think your confusing me with some one else. Some one else started this thread, I just jumped in. I'll back out of this thread as I've started another one on the same topic. Sorry for the confusion.
I think my question has been answered on this link.
http://www.linuxmint.com/forum/viewtopi ... 90&t=11537
Thanks,
THE COMPUTER SLAYER
Fred

Re: Access to HDD

Post by Fred »

bth73,

I am sorry sir, It isn't your fault. I should have payed closer attention to what I was doing. :-)

Fred
bth73
Level 2
Level 2
Posts: 96
Joined: Tue Apr 01, 2008 12:43 am

Re: Access to HDD

Post by bth73 »

Sorry Fred, your the one helping me on the other thread I just realized.
It's fivedozenwhales that needs the help here on this thread.

Thanks again,
THE COMPUTER SLAYER
Fred

Re: Access to HDD

Post by Fred »

Well... This one will have to wait. I obviously need my beauty rest. :-)

Fred
Fred

Re: Access to HDD

Post by Fred »

fivedozenwhales,

Open a terminal and type:

sudo mkdir /media/sdb1

Change the drive/partition designator, (sdb1), if necessary to make it correct.

Open /etc/fstab for editiing and put the below lines in the file

# Entry for sdb1
/dev/sdb1 /media/sdb1 ntfs defaults,umask=007,gid=46 0 1

Change the drive/partition designators, (sdb1), if necessary to make them correct. There is only one return in the lines above. Don't confuse word wrap with a return. Save and exit.

Reboot and if one of us didn't make a mistake, hopefully you will now have access without a password.

Fred
Locked

Return to “Beginner Questions”