LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 12-14-2006, 07:15 PM   #1
tuluks
LQ Newbie
 
Registered: Apr 2006
Posts: 8

Rep: Reputation: 0
Question unmounted hard disk volume/CD ROM: permission denied


im new to linux. really new. i have windows and suse 10 linux on one hard disk on different partitions. windows(ntfs) has failed to boot up so im using linux.

problem is when i try to open anything, partitions or CD drives, in 'my computer' i get an error message:

"could not mount device
the reported error was:
mount: can't open /etc/mtab for writing: permission denied"

could this have anything to do with my windows os failing to boot?

please help!
 
Old 12-14-2006, 08:35 PM   #2
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by tuluks
im new to linux. really new. i have windows and suse 10 linux on one hard disk on different partitions. windows(ntfs) has failed to boot up so im using linux.

problem is when i try to open anything, partitions or CD drives, in 'my computer' i get an error message:

"could not mount device
the reported error was:
mount: can't open /etc/mtab for writing: permission denied"

could this have anything to do with my windows os failing to boot?

please help!

hi for whatever wise reason
In suse you cannot read NTFS drives unless you are root user.

I'm not at my Suse machine so please bare with me

you need to open
Yast2 (System Config) > System > partitioner

look for your Windows (NTFS drive) > edit >
DO NOT Format option

and choose a mount point
'/mnt/windows' is good

you also need to add chmod=0555 to the append section

this is so a normal user can read the drive using /mnt/windows.
 
Old 12-15-2006, 01:45 AM   #3
live_dont_exist
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257

Rep: Reputation: 30
Its not only about NTFS partitions though they too by default cannot be mounted by a user. The "mount" command is privileged and can be used only by a root user. I'm not sure about the GUI for Suse but I do know that if you do have the root password for you system you could switch to root by 'su' , run your mount command and then return to a normal user and access your files. This to me is the best solution.

Cheers
Arvind
 
Old 12-15-2006, 02:57 AM   #4
tuluks
LQ Newbie
 
Registered: Apr 2006
Posts: 8

Original Poster
Rep: Reputation: 0
thanks very much for the reply carl0ski and Arvind.
I did what you explained carl0ski but couldnt find the append section you said, so i still have the same error...
on the other hand, how do i be the root user all the time? that sounds more simpler for me to do..

really appreciate you guys replies....
 
Old 12-15-2006, 06:14 PM   #5
tuluks
LQ Newbie
 
Registered: Apr 2006
Posts: 8

Original Poster
Rep: Reputation: 0
i logged in as root user and tried to open hda1, hda5, hda7, cd rom, but still same error message:

"could not mount device
the reported error was:
mount: can't open /etc/mtab for writing: permission denied"

what the heck could be wrong?
 
Old 12-17-2006, 12:18 AM   #6
live_dont_exist
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257

Rep: Reputation: 30
Can you paste the contents of your terminal whenever you're trying to do this?

Also please paste outputs of:

1./sbin/fdisk -l
2.ls -la /etc/mtab
3.cat /etc/fstab

Cheers
Arvind
 
Old 12-18-2006, 01:50 AM   #7
tuluks
LQ Newbie
 
Registered: Apr 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by live_dont_exist
Can you paste the contents of your terminal whenever you're trying to do this?

Also please paste outputs of:

1./sbin/fdisk -l
2.ls -la /etc/mtab
3.cat /etc/fstab

Cheers
Arvind
bro, really appreciate your reply, but, i just did the shortcut and clean install and start agan from scratch. i think i mustve done something in root that i didnt kno and messed it up.

any advice on wat not to do to repeat any mistakes when reinstall?

cheers mate.
 
Old 12-18-2006, 02:17 AM   #8
live_dont_exist
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257

Rep: Reputation: 30
No problems . I'm not really sure on what you did so I cant advise you, but if its working fine then dont bother. Just post back incase you ever have any problems again.

Cheers
Arvind
 
  


Reply

Tags
denied, permission, unmounted


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission denied when I try to see the files on my CD ROM riba43 Suse/Novell 10 10-10-2006 02:08 AM
9.2 zip disk permission denied Rotwang Mandriva 5 05-10-2006 03:51 PM
BOOT DISK PERMISSION DENIED? plz help fucxt Slackware 1 03-18-2006 03:26 PM
permission denied! floppy cd-rom dvd-rom HELP! OMEGA-DOOM Linux - Software 17 10-15-2004 05:40 PM
how to add cd-rom, dvd-rom, floppy, hard disk icons on gnome desktop? spyghost Linux - Software 6 09-21-2003 05:44 PM


All times are GMT -5. The time now is 04:33 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration