-
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

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

Critical BIOS ROM HPE ProLiant DL160 DL180 Gen9 (U20) U20_3.40_08_29_2024+iLO4
$7.99

Critical BIOS ROM HPE ProLiant BL460cWS46 Gen9 (I36) I36_3.40_08_29_2024+iLO4
$7.99

Critical BIOS ROM HPE ProLiant DL560 Gen9 (P85) P85_3.40_08_29_2024+iLO4
$7.99

Microsoft Windows 11 Pro 64-Bit USB Flash Drive Sealed with Product Key Card
$39.99

New Samsung FIT Plus 64GB USB 3.1 Flash Drive MUF-64AB/AM
$34.95

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC
$49.99

NEW Samsung USB Type-C 256GB Flash Drive USB 3.2 Gen 1 Genuine OEM -MUF-256DA/AM
$55.99

Critical BIOS ROM HPE ProLiant DL580 Gen9 (U17) U17_3.40_08_29_2024+iLO4
$7.99

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00