ext HD read only file system
Hi guys,
I am running Arch on a VM and, if I try to copy a directory (or a folder) in my external usb HD, I get: read only file system (even if I try to copy a file, already on the HD, in a folder on the same HD). I was not able to change permission. Why? What should I do? Thanks. |
Quote:
If it's formatted with NTFS and you did not un-mount it properly, the last time you used it; you may need to mount it in Windows, to clear the NTFS journal. |
you may need to check how it was mounted.
|
Quote:
file system is NTFS (I checked it typing df -T in a terminal), but honestly, I don't remember if I have un-mounted not properly the last time. Does I have to mount it manually in a terminal on arch(even if I see the HD in the devices lis?)? I think the problem is that I have never mounted (in a terminal) the external HD. I read that the best way is typing: Code:
mount -t ntfs-3g /dev/<your-NTFS-partition> /mnt/folder |
Quote:
Thanks. |
Quote:
|
you simply execute the mount command in a terminal and will see if it was mounted read only (or not)
|
Quote:
I think the issue here is the mount command was not done using sudo. Which actually is a very typical mount command error that many of us make. Yes, even those who have been using Linux for years. We sometimes type fast, and assume stuff and then figure it out once we've been forced to stop due to that type of error. Are you aware of the use of sudo? Which is the way to allow a regular user to have super-user privileges for the purpose of executing that command? What you should have done was to create the /mnt/folder using sudo: Code:
$ sudo mkdir /mnt/folder Code:
$ sudo mount -t ntfs-3g /dev/<your-NTFS-partition> /mnt/folder I'm not an Arch user myself, so if that is the type of distribution where you are always the root user, I do not know. Additionally, I can move this thread to the Arch forum to give it more Arch Linux specific attention. If you'd like that, then please click the Report button and in the dialogue, just state to please move the thread. The Arch forum is located here for any future thread questions which are Arch specific where you feel that forum may be more appropriate for your needs. |
Quote:
I was able to fix the problem. I try to explain: 1) First of all, typing the command lsblk -f, I checked which is the name of the NTFS partition (sdd1 in my case). 2) I could see the ext HD mounted (somenthing like "MICHELE HD EXT") on the desktop (most likely because of udisks2 already installed, I suppose. Does udisks mount automatically the HD?) and, for this reason, I have just un-mounted it, clicking with right mouse botton. 3) Than, I have created a dir in /mnt named hdext (mkdir /mnt/hdext), and typed mount /dev/sdd1 /mnt/hdext Now I can write in the disk (lunch and ./install from a folder, for instance). So, the problem was not the way I have unmounted the HD. I don't know if, the above, is a spartan way of doing. |
Quote:
Glad to hear you've fixed it, good job! :hattip: |
Quote:
As you can see in my last post (#9), I found a solution. I hope ahahahah! Well, I was in a terminal as root, for this reason I did not type the sudo command before mkdir and mount :D. What is strange for me, and don't understand is: if I could see the HD icon on the desktop and in devices list, it means that the HD was mounted. Is right? If yes, why I was not able to write on the disk? |
Quote:
|
Hi michele_deb:
For automatic mounting via GUI, depending on the DE you use (I use both LXDE and Gnome on different machines with Arch), the file manager usually takes care of it (pcmanfm is my favourite). Make sure the option for automounting removeable media is checked. I think you mentioned at the outset that you are running Arch in a VM - also make sure you have USB settings configured correctly in the VM management utility. Cheers - glad to hear you're up and running. |
Quote:
my DE is xfce4. Where I have to check whether the automounting is checked? pcmanfm comes with basic installation of arch? Thank you :) |
Quote:
xfce4 uses Thunar, if I remember properly. In Thunar, go to Edit / Preferences / Advanced tab, click "Enable Volume Management", "Configure" and then click the appropriate boxes in the dialogue that opens up. Hope this helps - Cheers ! |
All times are GMT -5. The time now is 01:02 PM. |