| Ubuntu This forum is for the discussion of Ubuntu 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-29-2011, 10:19 AM
|
#1
|
|
Member
Registered: Dec 2009
Posts: 60
Rep:
|
Can't Access Partition After GParted Install
Hi,
I installed 'GParted' on my Ubuntu 11.10, and now on boot all my partitions are not showing up on Nautilus even though they are mounted, as shown on GParted and also Terminal.
I ran
Code:
$ sudo chown -R username /media/Cine
and it displayed:
Code:
chown: changing ownership of `/media/Cine': Read-only file system
And
Code:
$ sudo chmod -R 755 /media/Cine
and got the same thing.
Then, I ran 'fsck' and got this:
Code:
$ sudo fsck /dev/sda7
fsck from util-linux 2.19.1
fsck: fsck.ntfs: not found
fsck: Error 2 while executing fsck.ntfs for /dev/sda7
I searched the web and someone wrote that the partition has to be unmounted as 'read-only' and remounted as 'read-write', so I typed and got this:
Code:
$ sudo mount -o rw,remount /media/Cine
mount: warning: /media/Cine seems to be mounted read-only.
When I execute
Code:
sudo mount -o rw /media/Cine
it says the partition has been mounted as 'read-only'.
And also I don't know why, but now when I plug in a USB drive and try to copy files into it, I get a notification that the drive is 'read-only'.
Pls how do I resolve this USB problem, change the partition permission and get the partition to show on Nautilus as before?
Thanks.
Last edited by jay_pablo_69; 10-29-2011 at 10:25 AM.
|
|
|
|
10-29-2011, 07:34 PM
|
#2
|
|
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,591
|
You can only fsck an unmounted device, otherwise you destroy the contents. For an NTFS device, you should be checking it on Windows, not Linux. There is a very basic ntfsfix command, but if you like your data I don't recommend using it.
|
|
|
|
10-29-2011, 08:10 PM
|
#3
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,231
|
I'd be guessing you don't have ntfs-3g installed, and are using the in-kernel NTFS support.
And yes, NTFS fsck is (deliberately) of only limited use.
|
|
|
|
10-30-2011, 08:16 AM
|
#4
|
|
Member
Registered: Dec 2009
Posts: 60
Original Poster
Rep:
|
Thanks guys for your replies.
I just installed NTFS-3G and changed the FSTAB 'ntfs' handler for the partitions to 'ntfs-3g' and now the HDD partitions are all mounted and placed on Nautilus. However, I still have the USB problem. All connected USB drives are auto-mounted with 'ntfs' as 'read-only', so I cannot write to it.
This is the printout of [ $ sudo mount ]:
Code:
/dev/sda9 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sda5 on /media/abc12 type fuseblk (rw,allow_other,blksize=4096)
/dev/sda6 on /media/abc34 type fuseblk (rw,allow_other,blksize=4096)
/dev/sda7 on /media/abc56 type fuseblk (rw,allow_other,blksize=4096)
/dev/sda8 on /media/abc78 type fuseblk (rw,allow_other,blksize=4096)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/USERNAME/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=obiora)
/dev/sdb on /media/My2GBFlashDrive type ntfs (ro,nosuid,nodev,allow_other,blksize=4096,default_permissions)
I tried this: [ $ sudo ln -s /sbin/mount.ntfs-3g /sbin/mount.ntfs ] and here's the result:
Code:
/dev/sdb on /media/My2GBFlashDrive type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
It did change the handler to 'ntfs-3g' (fuseblk) but when I try to copy files into it I get an error message:
Quote:
Error while copying <filename>
There was an error while copying the file into /media/My2GBFlashDrive
|
Under "Show more details":
Quote:
|
Error opening file '/media/my2GBFlashDrive/<filename>': input/output error
|
Pls how do I resolve this USB issue? How do I change the USB handler from 'ntfs' to 'ntfs-3g'?
Thanks for your assistance.
Last edited by jay_pablo_69; 11-01-2011 at 07:48 AM.
|
|
|
|
10-30-2011, 09:25 AM
|
#5
|
|
Member
Registered: Dec 2009
Posts: 60
Original Poster
Rep:
|
Also after shutdown and startup, on Ubuntu splash screen, it says:
Quote:
Error mounting partitions
Press S to skip mounting this partition or M to manually mount this partition
|
I skipped the step.
Then boot and login, the partitions show up on Nautilus but when I click on any one (for example, if I click on 'abc12' partition) it says:
Quote:
Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sda5 on /media/abc12
|
Pls I need some help.
Thanks.
|
|
|
|
10-30-2011, 11:22 AM
|
#6
|
|
Member
Registered: Dec 2009
Posts: 60
Original Poster
Rep:
|
Quote:
Also after shutdown and startup, on Ubuntu splash screen, it says:
Quote:
Error mounting partitions
Press S to skip mounting this partition or M to manually mount this partition
I skipped the step.
Then boot and login, the partitions show up on Nautilus but when I click on any one (for example, if I click on 'abc12' partition) it says:
Quote:
Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sda5 on /media/abc12
|
This error has been fixed.
But the USB problem above still remains.
Pls any assistance is appreciated.
Last edited by jay_pablo_69; 11-01-2011 at 03:26 PM.
|
|
|
|
11-10-2011, 12:57 AM
|
#7
|
|
Member
Registered: Sep 2011
Posts: 44
Rep: 
|
Hi
Don't know if its too late for you but I had this problem as well.
I installed ntfs-3g AND ntfsprogs and it worked like a charm after.
Good luck
|
|
|
|
11-11-2011, 12:01 AM
|
#8
|
|
Member
Registered: Dec 2009
Posts: 60
Original Poster
Rep:
|
poly_s.... I can't thank you enough. THANK YOU! THANK YOU! THANK YOU!
|
|
|
|
11-11-2011, 10:05 AM
|
#9
|
|
Member
Registered: Sep 2011
Posts: 44
Rep: 
|
YAY
Thats the first time I've helped someone in the linux community. Im so happy.
THANKYOU for the bash wallpaper on your blog
Take it easy.
|
|
|
|
11-28-2011, 09:39 AM
|
#10
|
|
LQ Newbie
Registered: Nov 2011
Posts: 1
Rep: 
|
how to install both...?
I am having the same problem with my ntfs drives being read-only after installing gparted on 11.10.
When I try to install ntfs-3g or ntfsprogs from synaptic package manager or via terminal the other one is removed.
How can I have both installed?
|
|
|
|
01-25-2012, 03:49 AM
|
#11
|
|
LQ Newbie
Registered: Jan 2012
Location: Great Persia
Distribution: Ubuntu 11.10
Posts: 1
Rep: 
|
Please
Quote:
Originally Posted by jay_pablo_69
poly_s.... I can't thank you enough. THANK YOU! THANK YOU! THANK YOU!
|
I've same problem, i installed ubuntu 11.10 a month ago, and i have full access on my hard disk drive and USB hard disks, but one day i setup GPARTED and from this day all of my hard disks have Read-Only permission, i use power codes in linux shell but my problem does not solve... last night i cut and create a new partition bye gparted, i have a drive that has 100G volume, i cut 70G and format it to EXT4, i know it is unbelievably, but the EXT4 drive that has 70G volume, was Read-Only .. !!!!!!
i think this problem is form Windows FileSystem, but last night i found that all partition that create by Gparted will be Read-Only...
i read this page and i guess if i install "ntfs-3g" package, the ntfs drives will be Read\Write permission, how i can solve the problem about EXT4 drives,
Furthermore... Why Gparted kill my Hards, Why Gparted Betrays Linux ?!! x-(
I thought Gparted is a unique application for partition management, but at now, i think this application work as VIRUS... i wanna report this bug but i don't know how... if you can't solve my problem show a way to me for reporting this bug.
Last edited by amerllica; 01-25-2012 at 04:46 AM.
Reason: Bad Title, I forgot write Title completely
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:35 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|