Mounting Hard drive partition as writable with -rw swich using mount command
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I was having nothing but trouble for the longest time mounting my sd cards with my usb card reader and thought it was either my internal hardware or just Linux to blame. Even after I switched to a newer motherboard (to take advantage of hardware virtualization) the usb card reader didn't work well. I also often suspected the usb hub I use was to blame but then trying bypassing it I could still have trouble.
So what hasn't giving me any trouble at all with the card reader is I got an internal 3.5" card reader which includes a usb port on it, and every single time I plug my card reader into the usb port on the internal card reader it picks it up in a matter of seconds. Still, though on this new internal card reader, the actual sd card reader included on it doesn't seem to want to read any sd cards. Still, I am happy, no more toying for minutes to hours trying just to access my files, and yes I was trying to mount command and the different switches, and chown and chmod and ls /dev | grep sd and df and getting pretty frustrated.
I'm trying to do the same thing and keep getting read-only file system
Have mounted the drive with:
mount -t hfsplus -o rw /dev/sde2 /mnt/machd
mount -t hfsplus /dev/sde2 /mnt/machd -rw
(The MAN documents specify rw as for read/write not w by itself under the 'Mount Options')
I've tried chmod 777 the mounted drive and still get a read-only directory. Logged in as root, Debian 6. Any solution that doesn't involve using fstab?
I don't use Debian but you might take a look at the link below. It's more likely a matter of not having the right programs installed to do this as Apple is notoriously proprietary. If the link below doesn't do it, I got a number of results from google with "hfsplus filesystem debian linux".
However, mount /dev/hda2 /mnt/hda2 -w still only mounts the partition read only. same with -o rw
Is there any UI in UBUNTU to do this?
if the automagically mounter did not detect the drive then no.
what type of drive is this? hda is typically IDE connection.
what is the file system type? ext2/3/4, NTFS, FAT32, other?
answer those questions and we will be more then happy to help troubleshoot what is going on.
also have you verified that the device is labeled /dev/hda# either via fdisk -l or by monitoring /var/log/messages as you connect the drive if it is external, if it is internal you will still find it there, but you will have to dig much deeper to locate the data.
Did in my first post. Debian 6. Perhaps I shouldn't hijack an old thread that came up in searches to be helpful for someone later.
Already tried the -o force option and even though it worked. It killed SSH and couldn't connect after.
yes always a bad idea to hijack an other thread. well i will say this, HFS+ support in linux is more experimental then NTFS ever has been. i just use a mac and scp or rsync the data around that way i dont have to fight with the issues you are dealing with now.