hda1 and sda1 are read-only..why?


Forum: HD Install
Topic: hda1 and sda1 are read-only..why?
started by: j.robinson

Posted by j.robinson on Sep. 20 2006,09:41
Greetings,
I've installed to hard disk, now I want to save files there too. However I can't make a dir or save a file. Even when I attempt to change permissions I can't.

External drive on USB can be read, again not writable (I'm using emelfm).  

Warning...I'm a newbie!

Regards
JR

Posted by mikshaw on Sep. 20 2006,12:28
removeable disks are mounted by root, which means root owns them. Try adding a directory (as root) which is owned by dsl, and you should be able to write to that directory.

I can't explain the harddisk issue yet....too many unspecified variables.
Are you using frugal or a traditional harddrive install?
What portion(s) of the disk are you trying to write?
What user is trying to write?

Most of the system, in any linux distro, is writeable by root only.  Regular users like dsl can write only to directories owned by dsl, which makes for a more secure and stable system.

Posted by ^thehatsrule^ on Sep. 20 2006,13:08
Also, make sure that the filesystem is rw supported by DSL (it seems some are using ntfs for their external usb drives)
Posted by mfmjos on Oct. 05 2006,03:04
I have a similar problem.  I am running from CD, and want to download and save to my USB drive.  It is mounted rw, and using usbdevfs, and I am root.  When I try to create a directory I get "cannot create directory 'name': no such file or directory."  Any ideas?

Thanks!

Posted by ^thehatsrule^ on Oct. 06 2006,18:25
Please give your output of `mount`, and a log of the commands (+output) you used.
Posted by mfmjos on Oct. 06 2006,21:51
Well, I found my problem.  My usb drive wasn't mounted.  I guess I assumed that it was mounted automatically.  "mount /dev/sda1" fixed my problem.  At least until I ran out of space.....  oops
Posted by se2schul on Oct. 07 2006,03:25
Quote (j.robinson @ Sep. 20 2006,05:41)
Greetings,
I've installed to hard disk, now I want to save files there too. However I can't make a dir or save a file. Even when I attempt to change permissions I can't.

External drive on USB can be read, again not writable (I'm using emelfm).  

Warning...I'm a newbie!

Regards
JR

I had the same problem mounting my hard drive after a frugal install.
I wasn't mounting the drive in read/write mode.
This command worked for me:
sudo mount -w /dev/hda6

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.