-
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

HP 2x 10GB OPNsense Quad Core i5-8500 8GB RAM 3Port Gigabit Firewall AES-NI SSD
$199.95

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

OPNsense Firewall 16-Core Atom C3958 16GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI
$195.00

Barracuda NextGen CloudGen Cloud Based Firewall F280 BNGF280a w/ 8.3.1 Firmware
$89.99

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$145.00

Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN
$219.99

OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN
$258.00

Firewalla Gold Gigabit 4-Port Router Firewall VPN Security Appliance Working
$298.00

SONICWALL TZ380 SECURE UPGRADE ADVANCED EDITION 3 YR(03-SSC-6961 )
$1600.00

HPE Networking Instant On Secure Gateway Smart-Managed Switch (S0G33A#ABA) - New
$269.99