Linux - Newbie This 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! |
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.
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.
|
|
07-14-2012, 01:43 AM
|
#1
|
LQ Newbie
Registered: Jan 2004
Location: lynn massachusetts
Distribution: kubuntu
Posts: 17
Rep:
|
which forum for help with enabling write access on my different drives? please
I have a bunch of partitions that I need write access too... the usb drive seems to be the problem and i've tried the man pages but cant make sense of it. I would appreciate help
|
|
|
07-14-2012, 01:50 AM
|
#2
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,236
|
You'll get much better help by providing data.
What have you done, what messages do you get. What evidence do you have to suspect a dud drive ?.
|
|
|
07-14-2012, 04:38 AM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
When you connect the drive, what happens?---eg does anything appear in the file manager? If not, open a terminal and do and see if your partitions are listed.
|
|
|
07-15-2012, 02:43 AM
|
#4
|
LQ Newbie
Registered: Jan 2004
Location: lynn massachusetts
Distribution: kubuntu
Posts: 17
Original Poster
Rep:
|
I can see the partitions but when i try to access files to view or modify i cant....
Disk /dev/sdc: 1000.2 GB, 1000215674880 bytes
255 heads, 63 sectors/track, 121602 cylinders, total 1953546240 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: 0x00035292
Device Boot Start End Blocks Id System
/dev/sdc1 * 63 204796619 102398278+ 7 HPFS/NTFS/exFAT
/dev/sdc2 204796620 622984634 209094007+ 83 Linux
the /dev/sdc2 is the one i dont have proper access too... sorry about the lack of info, I didnt know how to get that before
Last edited by lynnsbomb; 07-15-2012 at 02:44 AM.
|
|
|
07-15-2012, 02:53 AM
|
#5
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,636
|
Microsoft Windows formatted drives ( NTFS) are normally auto mounted as READ ONLY
for your protection from windows viruses ,for one
i take it this is AUTO mounted and was not set by you in /etc/fstab
one way is to add a mount point in that file and set it "rw"
just google " fstab" and you will get more information than you will ever need
something like this
Code:
/dev/sdc1 /mnt/Windows ntfs-3g defaults 1 0
oops i was looking as the first (sdc1)
Last edited by John VV; 07-15-2012 at 01:08 PM.
|
|
|
07-15-2012, 02:59 AM
|
#6
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,236
|
O.K., let's see the output from
Code:
mount | awk '/^\/dev\/sdc2/ {print ; system("ls -al "$3) ; }'
Update: John, sdc2 isn't NTFS.
Last edited by syg00; 07-15-2012 at 03:00 AM.
|
|
|
07-15-2012, 04:05 PM
|
#7
|
LQ Newbie
Registered: Jan 2004
Location: lynn massachusetts
Distribution: kubuntu
Posts: 17
Original Poster
Rep:
|
bomber@daquadcore:~$ mount | awk '/^\/dev\/sdc2/ {print ; system("ls -al "$3) ; }'
/dev/sdc2 on / type reiserfs (rw,notail)
total 18311
drwxr-xr-x 25 root root 744 Jun 29 04:09 .
drwxr-xr-x 25 root root 744 Jun 29 04:09 ..
drwxr-xr-x 2 root root 3920 Jun 22 04:12 bin
drwxr-xr-x 3 root root 1056 Jun 29 04:10 boot
drwxr-xr-x 2 root root 80 Jun 23 2011 .config
drwxr-xr-x 14 root root 4460 Jul 15 16:58 dev
drwxr-xr-x 152 root root 7448 Jul 15 16:58 etc
drwxr-xr-x 3 root root 104 Jun 23 2011 home
lrwxrwxrwx 1 root root 33 Jun 29 04:09 initrd.img -> /boot/initrd.img-3.2.0-26-generic
lrwxrwxrwx 1 root root 33 Jun 13 20:27 initrd.img.old -> /boot/initrd.img-3.2.0-25-generic
drwxr-xr-x 25 root root 2584 May 4 13:30 lib
drwxr-xr-x 2 root root 88 Apr 27 01:38 lib64
-rw-rw-r-- 1 501 501 18708232 Aug 3 2011 libflashplayer.so
drwxr-xr-x 9 root root 392 Jul 15 16:58 media
drwxr-xr-x 2 root root 48 Apr 21 2011 mnt
drwxr-xr-x 2 root root 48 Jun 23 2011 opt
dr-xr-xr-x 179 root root 0 Jul 15 12:57 proc
drwx------ 16 root root 536 Nov 1 2011 root
drwxr-xr-x 21 root root 780 Jul 15 16:58 run
drwxr-xr-x 2 root root 5088 Jun 13 00:31 sbin
drwxr-xr-x 2 root root 48 Mar 21 2011 selinux
drwxr-xr-x 2 root root 48 Jun 23 2011 srv
drwxr-xr-x 13 root root 0 Jul 15 12:57 sys
drwxrwxrwt 15 root root 576 Jul 15 17:00 tmp
drwxrwxr-x 13 501 501 296 Oct 13 2011 usr
drwxr-xr-x 13 root root 360 Jul 15 03:45 var
lrwxrwxrwx 1 root root 29 Jun 29 04:09 vmlinuz -> boot/vmlinuz-3.2.0-26-generic
lrwxrwxrwx 1 root root 29 Jun 13 20:27 vmlinuz.old -> boot/vmlinuz-3.2.0-25-generic
bomber@daquadcore:~$
thanks for the help guys
|
|
|
07-15-2012, 06:19 PM
|
#8
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Code:
/dev/sdc2 on / type reiserfs (rw,notail)
Notice the "on /" part. /dev/sdc2 is your main system (root) partition. As a regular user you can't write to it. Nor should you.
|
|
|
07-15-2012, 08:47 PM
|
#9
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,236
|
The reference to USB threw me - I was expecting a mount at /media or somesuch. What does "df -hT" show ?.
|
|
|
07-16-2012, 01:46 AM
|
#10
|
LQ Newbie
Registered: Jan 2004
Location: lynn massachusetts
Distribution: kubuntu
Posts: 17
Original Poster
Rep:
|
the drive in question is definitely a usb drive..i have a 1 terrabyte external usb and the partition is 200 gigs that i use for downloads and storage.... something went sour..
|
|
|
All times are GMT -5. The time now is 12:51 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.
|
Latest Threads
LQ News
|
|