You are not logged in.
Pages: 1
Topic closed
whenever i try to mount my usb hard drive with
mount /dev/disk/by-id/MYHDD /mnt/usbstick/
or
mount -w /dev/disk/by-id/MYHDD /mnt/usbstick/
and try to cp or mv a file to it i get
cannot create regular file `/mnt/usbstick/': Read-only file system
i was able to mount and write to the hdd just a few weeks ago.
Last edited by murfMan (2009-12-06 16:11:18)
Offline
Are you performing those mounts with root permission?
If not, can we see your /etc/fstab ?
If so, are you trying to write using user permissions or root permissions?
What is the file system on the usbstick?
Did you try the 'users' or 'umask=xxx' mount options?
Is there anything entertaining in your system logs about the volume?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
im mounting with root
and trying to cp with root
the fs is ntfs
i can't even cd to /mnt/usbstick with a normal user
Last edited by murfMan (2009-12-06 07:56:33)
Offline
Use ntfs-3g for sure.
# pacman -S ntfs-3g
$ sudo mount -t ntfs-3g -o uid=1000,gid=1000 /dev/disk/by-id/MYHDD /media/usbstick
Substitute your uid/gid in for 1000/1000 in that line. You can get them from /etc/passwd
Last edited by graysky (2009-12-06 09:38:05)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
@ murfMan
> i was able to mount and write to the hdd just a few weeks ago.
With no ntfs-3g? Was the disk formated as NTFS at that time?
Offline
Use ntfs-3g for sure.
# pacman -S ntfs-3g $ sudo mount -t ntfs-3g -o uid=1000,gid=1000 /dev/disk/by-id/MYHDD /media/usbstick
Substitute your uid/gid in for 1000/1000 in that line. You can get them from /etc/passwd
awesome that gave me drwxrwxrwx permissions on my device.
also @karol i think i was using a different usb device a few weeks ago that must have been formatted in fat or fat32
thanks again for your help guys!
Offline
Use ntfs-3g for sure.
# pacman -S ntfs-3g $ sudo mount -t ntfs-3g -o uid=1000,gid=1000 /dev/disk/by-id/MYHDD /media/usbstick
Substitute your uid/gid in for 1000/1000 in that line. You can get them from /etc/passwd
...
My flash is fully formatted now. Why didn't you put a WARNING! message?
It was bad........
Can the deleted files be rescue?
Last edited by Dentrax (2019-05-14 12:38:53)
Offline
Mounting via ntfs-3g does not format your pen drive. You must have done that yourself.
Also you should refrain from necrobumping.
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
Mounting via ntfs-3g does not format your pen drive. You must have done that yourself.
Also you should refrain from necrobumping.
I'll work on it, to figure it out why it was happen.
Thanks for "necrobumping" advice.
Last edited by Dentrax (2019-05-14 12:45:00)
Offline
As schard notes, please do not necrobump, especially topics marked [SOLVED].
Closing..
Offline
Pages: 1
Topic closed