-
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

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1499.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK
$799.00

Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots
$745.00

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99