-
HD Mounting problems in 5.0.1
Hi,
I just installed Knoppix 5.0.1 and i'm pretty mucha a total noobs when it comes to Linux.
I tried to access my other NTFS partitions through the hard drive shortcuts on the desktop, but it gives me this error for all of them:
"Could not mount device.
The error reported was:
Error opening partition device : Permission denied.
Failed to startup volume : Permission denied.
Couldn't mount device '/dev/hda6' : Permission denied.
Mount failed."
I'm sure this must be the easiest problem to fix, i'm just an idiot. If the solution involves complicated stuff, such as adding stuff to my etc/fstab or the like, I need explicit instructions, not just a narrow idea of what I have to do.
Can anybody help?
-
Senior Member
registered user
Knoppix only allows root to mount an NTFS partition. So to mount it, you first have to open up a root shell (click the Penguin) and issue a command like this:
mount /dev/hda6 /media/hda6 -t ntfs -o umask=0222
This will allow you to click on the icon and view read the contents of the ntfs partition. The umask option of 0222 allows everybody read-only access to the partition. I am assuming that read-only is all you want. Linux can read an ntfs partition just fine but there are risks in trying to write to an ntfs partition. I do not advise trying to write to an ntfs partition until you are more experienced and can understand the issues and risks involved.
If you want to share data between Windows and Linux, I suggest setting up a fat32 partition. Both Windows and Linux can read and write to fat32 with no problems, and you do not have to be in root to mount it.
Regards.
-
Sad, but true. But why Knoppix v4.0 allows mount an NTFS partition without root account?
-
Originally Posted by
Jacky
Knoppix only allows root to mount an NTFS partition. So to mount it, you first have to open up a root shell (click the Penguin) and issue a command like this:
mount /dev/hda6 /media/hda6 -t ntfs -o umask=0222
This will allow you to click on the icon and view read the contents of the ntfs partition. The umask option of 0222 allows everybody read-only access to the partition. I am assuming that read-only is all you want. Linux can read an ntfs partition just fine but there are risks in trying to write to an ntfs partition. I do not advise trying to write to an ntfs partition until you are more experienced and can understand the issues and risks involved.
If you want to share data between Windows and Linux, I suggest setting up a fat32 partition. Both Windows and Linux can read and write to fat32 with no problems, and you do not have to be in root to mount it.
Regards.
hey thnx a lot... this command works for me.. but is there any other way that i dont need to type this command again and again every time i want to mount ntfs? how can i give my self permissions that every time i restart computer.. i can just right click and mount the dive?
Similar Threads
-
By Digitalrover in forum Hardware & Booting
Replies: 3
Last Post: 06-29-2009, 11:34 PM
-
By TheBoyMole in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 11-19-2006, 03:00 AM
-
By jehan60188 in forum MS Windows & New to Linux
Replies: 1
Last Post: 07-24-2005, 09:46 PM
-
By kuser123 in forum Networking
Replies: 3
Last Post: 08-27-2004, 11:49 PM
-
By NASAce in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 08-25-2003, 09:04 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Cisco GLC-FE-100LX 100BASE-LX SFP Transceiver Module
$15.59
Cisco GLC-FE-100LX-RGD 100BASE-LX SFP Transceiver Module
$17.99
Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 100m LC MMF
$68.99
Cisco Meraki MA-SFP-1GB-SX 1000BASE-SX SFP Transceiver Module
$24.99
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
SFP-10G-SR Original Cisco 10GBASE-SR SFP+ V02 Multi mode Transceiver 10-2415-02
$5.00
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$13.89
Genuine Cisco GLC-TE 30-1475-01 V01 1000BASE-T SFP COPPER RJ-45 100M TRANSCEIVER
$11.90
LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module
$89.00
New HP HPE Aruba J9150D 10G SFP+ LC SR 850nm 300m MMF XCVR Transceiver Module
$49.99