LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-26-2012, 04:16 PM   #1
kernel-P4N1C
Member
 
Registered: Nov 2007
Location: Panama city, Republic of Panmaa
Posts: 167

Rep: Reputation: 18
-x86 current loading external hdd as read only


Hello guys

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:~$
 
Old 04-26-2012, 05:37 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
Have you checked your dmesg for unusual error message?
 
Old 04-26-2012, 08:33 PM   #3
kernel-P4N1C
Member
 
Registered: Nov 2007
Location: Panama city, Republic of Panmaa
Posts: 167

Original Poster
Rep: Reputation: 18
actually no.. however

I've reformated and clean install 13.37,.. then update to current using slackpkg on my 64bits desktop

same issue here.
 
Old 04-26-2012, 08:35 PM   #4
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,262
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Are you in group plugdev? Is the HDD formated ntfs?
 
Old 04-27-2012, 02:10 AM   #5
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 528

Rep: Reputation: Disabled
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:
Code:
ntfs-3g /dev/sdb1 /mnt/hd
 
Old 04-27-2012, 06:28 AM   #6
kernel-P4N1C
Member
 
Registered: Nov 2007
Location: Panama city, Republic of Panmaa
Posts: 167

Original Poster
Rep: Reputation: 18
@kingbeowulf> yes, my user is on plugdev group


@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.
 
Old 04-27-2012, 07:46 AM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
does it supposed to be like this?
Code:
mount -t ntfs-3g /dev/sdh1 /mnt/tmp
 
Old 04-27-2012, 09:06 AM   #8
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Rep: Reputation: 107Reputation: 107
running this command
Code:
ln -s /sbin/mount.ntfs-3g /sbin/mount.ntfs
as root will make it force it to always use the ntfs-3g driver. This should solve your problem.
 
Old 04-27-2012, 09:34 AM   #9
kernel-P4N1C
Member
 
Registered: Nov 2007
Location: Panama city, Republic of Panmaa
Posts: 167

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by Cultist View Post
running this command
Code:
ln -s /sbin/mount.ntfs-3g /sbin/mount.ntfs
as root will make it force it to always use the ntfs-3g driver. This should solve your problem.

nice elegant and simple solution for a lame problem

thank you very much!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
External HDD goes read only yogesh619 Linux - Server 4 11-10-2009 07:56 AM
How do I get Debian to read my USB external HDD? Hardcor3 Linux - Newbie 35 03-27-2009 12:14 PM
Is there a DVD that can read usb flash drives/external HDD? swalker23 General 2 11-21-2008 10:58 PM
USB External HDD Read Only!!! Mandriva 2005 LE ivancauso Linux - Newbie 4 12-01-2005 05:13 AM
Dual HDD Interface Problem, Linux on SATA, NTFS Part on IDE HDD LILO Not Loading Blade44 Linux - Hardware 2 02-01-2005 06:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration