LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-07-2005, 10:38 PM   #1
z_t
LQ Newbie
 
Registered: Sep 2005
Posts: 12

Rep: Reputation: 0
Cannot go to file:/mnt/Ekstern


Yup. Just installed Mandriva Linux today (first time I'm trying Linux btw. Thats why I posted this in the Newbie forum.), just to find out I couldn't load my external hdd because I don't have the permission. The error message was something like this, when I tried double clicking the icon on the desktop (maybe not exactly what it would say in English. I use Norwegian.)

Quote:
Cannot go to file:/mnt/Ekstern. You don't have permissions for this folder (or something like that at least)
In Norwegian:
Quote:
Kan ikke gå til file:/mnt/Ekstern. Du har ikke tilgangsrettigheter til dette stedet.
I tried on another forum, but am in a bit of a hurry. I was told to post the contents of my /etc/fstab, so here it is:
Quote:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda5 / ext3 defaults 1 1
/dev/hdc /mnt/cdrom iso9660 user,iocharset=iso8859-1,noauto,ro,exec 0 0
/dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/sda1 /mnt/Ekstern ntfs pamconsole,exec,noauto,utf8,iocharset=iso8859-1,managed 0 0
Any suggestions for me to get it to work?

The HDD is btw a Maxtor Onetouch II, wich I have connected through the computer via USB.

Any help would be appriciated.
 
Old 09-07-2005, 10:57 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
Add umask=000 to the options section for that drive (just like the /mnt/windows drive has).
 
Old 09-07-2005, 11:13 PM   #3
z_t
LQ Newbie
 
Registered: Sep 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Can you please tell me how? Remember. I am completely new to the whole Linux thingy...
 
Old 09-07-2005, 11:15 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
Code:
    # This file is edited by fstab-sync - see 'man fstab-sync' for details
    /dev/hda5 / ext3 defaults 1 1
    /dev/hdc /mnt/cdrom iso9660 user,iocharset=iso8859-1,noauto,ro,exec 0 0
    /dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-1,ro 0 0
    none /proc proc defaults 0 0
    /dev/sda1 /mnt/Ekstern ntfs pamconsole,exec,noauto,utf8,iocharset=iso8859-1,managed,umask=000 0 0
 
Old 09-07-2005, 11:20 PM   #5
z_t
LQ Newbie
 
Registered: Sep 2005
Posts: 12

Original Poster
Rep: Reputation: 0
It seems I can't edit the file fstab...
 
Old 09-07-2005, 11:22 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
Only root can edit it, so su to root or use sudo, if available on your system.
 
Old 09-07-2005, 11:23 PM   #7
z_t
LQ Newbie
 
Registered: Sep 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Yeah... I really am THE newbie here. I don't know either how to go to root or if sudo is available on my syste.

Sorry to keep bugging you guys so much.
 
Old 09-07-2005, 11:32 PM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
No, it's cool, I hate to be condescending so I try not to go too low... more experienced people get annoyed.

Open up a console and do 'su -'. Put in the root password. Type 'nano /etc/fstab'. If nano is unavailable, try pico instead.
 
Old 09-07-2005, 11:39 PM   #9
z_t
LQ Newbie
 
Registered: Sep 2005
Posts: 12

Original Poster
Rep: Reputation: 0
I get "command not found", if I use either of them.
 
Old 09-07-2005, 11:44 PM   #10
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
How the heck does Mandriva NOT have some sort of command line editor? You could use vi, but that would be a PITA.
 
Old 09-07-2005, 11:44 PM   #11
z_t
LQ Newbie
 
Registered: Sep 2005
Posts: 12

Original Poster
Rep: Reputation: 0
I found out I can edit it via Kwrite now, but when I paste the code given above, nothing happens really, I still cant access my HDD. Do I have to reboot?
 
Old 09-07-2005, 11:47 PM   #12
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
You need to unmount and remount the drive. Use umount and mount, in that order.
 
Old 09-07-2005, 11:54 PM   #13
z_t
LQ Newbie
 
Registered: Sep 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Yay! I got it!
Thanks a bunch everybody, and especially you, Matir!
 
Old 09-07-2005, 11:58 PM   #14
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
I'm just glad I was able to help.
 
Old 09-08-2005, 06:13 PM   #15
z_t
LQ Newbie
 
Registered: Sep 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Is there any way to make this change permanent? The way it is now, I have to do this everytime I boot...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/mnt ...Read Only File System rblampain Linux - Distributions 4 12-30-2004 12:16 AM
copying data to file:/mnt/hd on mandrake 10 star2a Linux - General 0 06-15-2004 09:34 AM
/mnt crashes konqueror file browser (Mandrake 10) Tremendo Linux - Newbie 1 04-08-2004 07:12 AM
/mnt/cdrom & /mnt/scd0 locks up machine RIgimp75 Mandriva 7 09-01-2003 10:32 PM
mount -t //192.168.0.1/mnt /mnt/windows -o password='' generates error broadsoft Linux - Networking 3 08-07-2003 05:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration