You are not logged in.
Pages: 1
I installed Arch Linux on a partition on my machine with a few complications, but painlessly enough I suppose.
So anyway, I rebooted back into it today with the express purpose of doing some more config (primarily, to get ALSA and static IP/ssh working), and noticed that when I mounted my external HDD... well, see for yourself:

I've been using debian for about a month but I am by no means proficient with Linux systems and I have no idea what to do with this.
For the record, the disk in question is /dev/sdc1, mounted in ~/free. I created a directory ~/test and mounted a flash drive, /dev/sdd1, to it (also in the screenshot), for purposes of comparison. test has the right permissions but still doesn't have the right owner/group (which I suppose isn't that big of a deal because it might actually be possible to sudo chown/chgrp that directory).
I had an fstab line for /dev/sdc1:
/dev/sdc1 /home/casey/free auto auto,user 0 0but it failed to mount at startup.
I can access the disk as root but still can't do anything with the files as the disk is mounted (for some reason) as read-only, any help would be very appreciated.
Last edited by apokatastasis (2012-08-24 01:46:11)
Arch/dwm
Offline
It would have been nice to know which filesystem you've got on your external HDD,
since, for example, write access on NTFS filesystems is only possible using ntfs-3g,
so you might need that if you've got NTFS on your HDD...
Laptop: Arch Linux (x86_64) and Win10 (x86_64); Intel Core i7-3630QM @ 2.40GHz, 8 GiB RAM, NViDiA GeForce GT 650M w/ 2 GiB
Desktop: Arch Linux (x86_64) and Win10 (x86_64); Intel Core i7-4771 @ 3.50GHz, 32 GiB RAM, AMD Radeon RX 480 w/ 8 GiB
Offline
Show the results of these commands
cat /etc/fstab
mount
Also look in your system log for errors.
Offline
Also please resize (or just ditch) the image to fit forum guidelines. That is an enormous image, of which only a small portion is relevant, and for which the only relevance is 2 lines of text.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Also please resize (or just ditch) the image to fit forum guidelines. That is an enormous image, of which only a small portion is relevant, and for which the only relevance is 2 lines of text.
Done.
It would have been nice to know which filesystem you've got on your external HDD,
since, for example, write access on NTFS filesystems is only possible using ntfs-3g,
so you might need that if you've got NTFS on your HDD...
Thanks, this was it. I never really knew you had to have ntfs-3g to mount NTFS as writable because all that was done automatically in debian.
Anyway, I replaced the first 'auto' with 'ntfs-3g' in my fstab and the mounting works fine. I also replaced the gid and uid so that the disk will be owned by myself and not by root (as per the ntfs-3g wiki documentation).
Also, here's the output of cat /etc/fstab (even though I guess this is solved now someone might still want it):
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
# UUID=c47aab07-d7d0-4728-a735-7af63b007777
/dev/sda4 / ext3 rw,relatime,data=ordered 0 1
/dev/sdc1 /home/casey/free ntfs-3g gid=casey,uid=casey,auto,user 0 0Arch/dwm
Offline
After installing ntfs-3g, there should already exist a symlink /usr/bin/mount.ntfs -> ntfs-3g in order to use it with the auto keyword.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Pages: 1