LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-07-2012, 12:06 AM   #1
ryu
LQ Newbie
 
Registered: May 2012
Posts: 9

Rep: Reputation: Disabled
Second Internal Hard drive detected but cannot access


I have formatted my second internal hard drive, and partitioned it using GParted.
I can see it in the "files" window, and am able to unmount (and mount) it, but i cannot edit it - add files.

When i open it in files, there is a lost+found folder, but when i right-click, i cannot: create new document, create new folder, or paste anything in the harddrive.

can anyone help me? thanks
 
Old 06-07-2012, 02:42 AM   #2
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
I think you do not have sufficient permissions. Usually the root directory of a hard drive is owned by root and obviously you are not allowed to do any modifications (including creating folders). I don't know if you can do it by mouse clicks, but you should open terminal, "cd" to the corresponding dir, and create a personal folder like "sudo mkdir my_personal_directory" (it asks for your password). Thereafter you have to give yourself the right permissions like "chown your_user_name.your_user_name my_personal_directory".
 
1 members found this post helpful.
Old 06-07-2012, 09:04 PM   #3
ryu
LQ Newbie
 
Registered: May 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
thanks for your help..
i think youre right!
i followed your instructions, created a folder "abc" with my password.
With the chown command, (My username is "ryu", so i typed "chown ryu.ryu abc")
it printed out a line after
"chown: changing ownership of `abc': Operation not permitted"


do you know how i can fix this?
I'll reformat the harddrive or something if i need to, theres nothing on there.
 
Old 06-07-2012, 11:26 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
If you don't have user permissions you will have to run the command as root or use sudo, depending on which distribution of Linux you have. That would be the reason you got the error you posted.
 
1 members found this post helpful.
Old 06-08-2012, 03:08 AM   #5
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
yes, you shoud say "sudo chown ryu.ryu abc"

Afterwards you should be able to create files in abc dir under your usual account.
 
1 members found this post helpful.
Old 06-09-2012, 08:12 AM   #6
ryu
LQ Newbie
 
Registered: May 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
thanks for your help!
 
  


Reply

Tags
hard disk, hard drives, harddrive, partitition, recognized



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
[SOLVED] transfer data from a SATA external hard drive to a IDE internal hard drive Cabtech Linux - Newbie 7 04-22-2012 02:55 PM
Copy an internal hard drive as backup? Restore an internal drive? Peufelon Linux - Hardware 2 06-15-2008 03:28 PM
Copying files from internal Hard drive to USB 2.0 Hard Drive is NOT Behaving tubatodd Ubuntu 4 02-19-2007 04:32 PM
Why Will ubuntu not let me access my internal hard drive on my laptop? linuxuser2003 Ubuntu 3 03-18-2006 01:15 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:54 PM.

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