LinuxQuestions.org
Register a domain and help support LQ
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 11-03-2005, 01:08 PM   #1
novkhan
Member
 
Registered: Jan 2004
Posts: 59

Rep: Reputation: 15
Read only Harddisk problem


Goodday

I have posted a thread in the newbie section and only "ydoih8u" has been helping me to solve my problems but still unsucessful yet.

Perhaps i have posted in the wrong section. Hence i hope to have more respond here.

you all could access the following thread and helpful "ydoih8u" has been helping me alot.
http://www.linuxquestions.org/questi...hreadid=378979


I am Having some trouble copying files into a external Harddisk i just bought as well

The error states this
" Error while copying to "/mnt/windows." The Destination disk is read-only."

My system is Redhat 9
FAT for my external harddisk

And this is the command i used to mount my harddisk/
"mount /dev/sda1 /mnt/windows"

Hope the info i supplied below is enough.

Thankyou.



Below is my working!

.
Attempt 1)
[root@localhost root]# chmod a+rw /mnt/windows
[root@localhost root]# mount /dev/sda1 /mnt/windows -t vfat
Tried copying and
"Error while copying to"/mnt/windows". The destination disk is read only.

Attempt 2)
so i did
[root@localhost root]# chmod a+rw /mnt/windows
chmod: changing permissions of `/mnt/windows': Read-only file system

Attempt 3)
[root@localhost root]# cd /mnt
[root@localhost mnt]# umount windows
[root@localhost mnt]# mount /dev/sda1 /mnt/windows -t vfat -o UMASK=0000
Tried copying and
"Error while copying to"/mnt/windows". The destination disk is read only.

And i followed your advice, but what should i do next

[root@localhost root]# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
/dev/hda10 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/sda1 /mnt/thumbdrive vfat user,noauto,umask=0 0 0
/dev/hda5 /mnt/windows vfat defaults,users,umask=0000

I notice that meant for /dev/sda1 is in /mnt/thumdrive folder?????

And i tried the same procedure for thumbdrive folder is still the same
 
Old 11-03-2005, 01:59 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,331

Rep: Reputation: 141Reputation: 141
With the external drive connected and powered on, run and post the output of:

# fdisk -l

and

# mount

Finally, try this for your fstab line for sda1:

/dev/sda1 /mnt/thumbdrive vfat umask=0,user,iocharset=iso8859-1,codepage=850,noauto,exec 0 0
 
Old 11-05-2005, 10:57 PM   #3
novkhan
Member
 
Registered: Jan 2004
Posts: 59

Original Poster
Rep: Reputation: 15
Please hekp me buddy

[root@localhost root]# fdisk -l

Disk /dev/sda: 200.0 GB, 200049648128 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 24321 195358401 c Win95 FAT32 (LBA)

Disk /dev/hda: 40.0 GB, 40020664320 bytes
240 heads, 63 sectors/track, 5169 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2709 20480008+ 7 HPFS/NTFS
/dev/hda2 2710 5169 18597600 f Win95 Ext'd (LBA)
/dev/hda5 2710 2723 105808+ 83 Linux
/dev/hda6 2724 3162 3318808+ 83 Linux
/dev/hda7 3163 3536 2827408+ 83 Linux
/dev/hda8 3537 4983 10939288+ 83 Linux
/dev/hda9 4984 5052 521608+ 83 Linux
/dev/hda10 5053 5121 521608+ 82 Linux swap
/dev/hda11 5122 5152 234328+ 83 Linux
/dev/hda12 5153 5169 128488+ 83 Linux

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hdb2 1 10337 78147688+ c Win95 FAT32 (LBA)

[root@localhost root]# mount
/dev/hda8 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda5 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda11 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda12 on /tmp type ext3 (rw)
/dev/hda6 on /usr type ext3 (rw)
/dev/hda9 on /var type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

[root@localhost root]# /dev/sda1 /mnt/thumbdrive vfat umask=0,user,iocharset=iso8859-1,codepage=850,noauto,exec 0 0
bash: /dev/sda1: Permission denied


Last edited by novkhan; 11-05-2005 at 11:00 PM.
 
  


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
harddisk and mouse problem sadun Suse/Novell 1 07-16-2005 06:34 AM
harddisk read speed is too slow halcyon Linux - Hardware 4 10-05-2004 10:26 AM
Low Harddisk space. Can I just transfer the entire Linux to a bigger harddisk? davidas Linux - Newbie 12 04-13-2004 03:03 AM
How to read the whole tracks from harddisk? yukchan Programming 2 11-13-2001 08:58 AM
read blocks directly from the harddisk Gregory Programming 0 03-08-2001 12:51 PM


All times are GMT -5. The time now is 06:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration