LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-18-2010, 12:07 AM   #1
criacuervo
Member
 
Registered: Dec 2008
Location: Herrera
Distribution: Debian GNU/Linux 5.0
Posts: 74

Rep: Reputation: 15
Cannot write into my hard disk


Well appears to be that i have two partitions..one of 300gb i did
on windows time ago and one of 100gb where i place my DEBIAN LENNY 5.0
, the problem is that i cannot write into it..only i can copy stuff from
it.
 
Old 03-18-2010, 04:12 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Please be clearer about which disk you want to write to. Also post the output of cmds (as root)

fdisk -l

cat /etc/fstab
 
1 members found this post helpful.
Old 03-22-2010, 10:20 PM   #3
criacuervo
Member
 
Registered: Dec 2008
Location: Herrera
Distribution: Debian GNU/Linux 5.0
Posts: 74

Original Poster
Rep: Reputation: 15
juanchy:/home/criacuervo# fdisk -l

Disk /dev/hda: 400.0 GB, 400088457216 bytes
240 heads, 63 sectors/track, 51681 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0x0009213d

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13413 101402248+ 83 Linux
/dev/hda2 13414 51680 289298520 f W95 Ext'd (LBA)
/dev/hda5 13414 51680 289298488+ 7 HPFS/NTFS
juanchy:/home/criacuervo# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 errors=remount-ro 0 1
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
juanchy:/home/criacuervo#
 
Old 03-22-2010, 11:22 PM   #4
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,252

Rep: Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685
Well one possible answer would be based on the following line from your fstab:

Quote:
/dev/hda1 / ext3 errors=remount-ro 0 1
Meaning that you have had errors on boot up and the system is in read-only mode.
 
Old 03-22-2010, 11:34 PM   #5
criacuervo
Member
 
Registered: Dec 2008
Location: Herrera
Distribution: Debian GNU/Linux 5.0
Posts: 74

Original Poster
Rep: Reputation: 15
YES..THAT's fine..but what should i do? i still cant write into the disk!

juanchy:/home/criacuervo# cd /mnt/hda5/
juanchy:/mnt/hda5# ls
books Mis Webs.zip
ctv movies
David Lynch music
debian-40r6-i386-netinst.iso pandodl-0.9.2.0.tar.bz2
debian-502-i386-DVD-1(1).iso para el phone
descargas plugins-show-song
driversound programas
fileowner.html proyecto html
finnix-92.1.iso RECYCLER
focus spearfish_grass60data-0.3.tar.gz
fotojuanchy.jpg spearfish_grass60data-0.3.zip
fotolaura.jpg System Volume Information
fuck html The.Idiots.1998.PL.DVDRip.DivX-TML5080
house torrents
imagenes Unix.rar
Listado de italiano.doc videos u2
logo 5.jpg videos youtube
Mis Webs Woody Allen A Life in Film (TV) [2002]
juanchy:/mnt/hda5# mkdir cosa
mkdir: cannot create directory `cosa': Read-only file system
juanchy:/mnt/hda5#
 
Old 03-23-2010, 12:08 AM   #6
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,252

Rep: Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685
hmmm .. it would appear chrism01's question has now made this clearer with your reply.

Now we know you are trying to write to the windows partition (this is kind of vital information)

So now the question is, how are you mounting /dev/hda5?
 
Old 03-23-2010, 12:29 AM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
Originally Posted by grail View Post
Meaning that you have had errors on boot up and the system is in read-only mode.
No, that line is from the fstab, it indicates that if there are errors to remount ro, it does not necessarily represent the current situation. To find out how the disks are currently mounted the OP should post the output of:

Code:
mount
Evo2.
 
Old 03-23-2010, 01:37 PM   #8
criacuervo
Member
 
Registered: Dec 2008
Location: Herrera
Distribution: Debian GNU/Linux 5.0
Posts: 74

Original Poster
Rep: Reputation: 15
THAT'S NICE..haha..but what now,

This is the message i got when i start gnome:

USER'S $HOME/.dmrc file is being ignore. This prevents the default session and language from being saved .File should be own by user and have 644 permission. USER'S $HOME directory must be owned by user and not writable by other users.

And remember i still can't write on my 300gb partition.
 
Old 03-23-2010, 08:26 PM   #9
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
Originally Posted by criacuervo View Post
And remember i still can't write on my 300gb partition.
To get help, you need to answer the questions people ask you. Please read back through the thread and check that you have provided all the information that has been requested.

Evo2.
 
Old 03-23-2010, 08:34 PM   #10
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
You are trying to write to a Windows file system that is mounted read only. Of course you can't write.

Remount the file system as read/write using the ntfs-3g drivers. Then you'll be able to do what you want to do.
 
Old 03-24-2010, 01:57 AM   #11
criacuervo
Member
 
Registered: Dec 2008
Location: Herrera
Distribution: Debian GNU/Linux 5.0
Posts: 74

Original Poster
Rep: Reputation: 15
Thank man..i really fixed the problem ..

ntfs-3g /dev/hda5 /mnt/hda5
 
  


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
how to read and write to a hard disk drive connected to Airport Extreme jai134 Linux - Networking 0 06-24-2008 07:46 AM
Trouble giving write access to non root users to the hard disk (FC-5) mystic_durle12 Linux - Newbie 6 06-03-2008 07:44 AM
Continuous Hard Disk Read/Write on Mandrake kernel 2.6.8 lm317t Linux - General 7 01-01-2006 10:22 AM
Hard disk failing? write error: Bad file descriptor glt Linux - Hardware 4 12-14-2005 11:41 AM
Cant read/write to second hard disk under normal user Nukem Linux - General 8 01-28-2004 08:03 AM


All times are GMT -5. The time now is 05:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration