[SOLVED] -x86 current loading external hdd as read only
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been facing this issue that is driving me crazy (because is anoying)
after updating my netbook to current, suddenly my external hdd is been mounting automatically as read only.
I have to mount it manually as root in order to have write access to it.
does anybody suffer of the same thing¿?
any advice¿?
Code:
weput@netbook:~$ uname -a
Linux netbook 3.2.13-smp #2 SMP Sat Mar 24 04:02:23 CDT 2012 i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux
weput@netbook:~$
As previously state by some other people, I also think the partition you're trying to access is formatted NTFS. I always get that read-only message with NTFS partitions.
I'm wondering if either of these will work:
Code:
mount -t ntfs /dev/sdb1 /mnt/hd
mount -tw ntfs /dev/sdb1 /mnt/hd
Technically "mount -w" is a default that gives read-write access, but just in case we need it.
Code:
$ grep -i ntfs /usr/src/linux-2.6.37.6/.config
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y
On the 2.6.37.6 kernels NTFS-rw is built into the kernel. I'm not sure if it's the same on the new 3.2.13 kernels but I don't see why it wouldn't be.
If you still fail to mount use ntfs-3g. It's a program that I've used successfully to mount NTFS rw. Use it the same way you would use the mount command:
@TommyC7: thank you for the lecture... I have installed ntfs-3g; and as you see.... I can mount the hdd with no issues MANUALLY.
before the upgrade it mounted read-write AUTOMATICALLY by just plugging the drive in. It's happening on both, my x86_64 desktop and my atom based netbook.
Code:
weput@slackdragon:~$ uname -a
Linux slackdragon 3.2.13 #2 SMP Sat Mar 24 03:43:56 CDT 2012 x86_64 AMD Phenom(tm) 9850 Quad-Core Processor AuthenticAMD GNU/Linux
weput@slackdragon:~$ grep -i ntfs /usr/src/linux-3.2.13/.config
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y
weput@slackdragon:~$
here is some more stuff
Code:
weput@slackdragon:~$ su
Password:
root@slackdragon:/home/weput# fdisk -l
.
.
.
Disk /dev/sdh: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb27084e0
Device Boot Start End Blocks Id System
/dev/sdh1 2048 976769023 488383488 7 HPFS/NTFS/exFAT
root@slackdragon:/home/weput#
root@slackdragon:/home/weput# mount /dev/sdh1 /mnt/tmp/
mount: warning: /mnt/tmp/ seems to be mounted read-only.
root@slackdragon:/home/weput# umount /dev/sdh1
root@slackdragon:/home/weput# ntfs-3g /dev/sdh1 /mnt/tmp/
root@slackdragon:/home/weput#
notice it mounts read only by usual mount. I have no idea if it did like this before as i didn't had to mount it manually to have read-write access to it.
Last edited by kernel-P4N1C; 04-27-2012 at 06:34 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.