LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-23-2006, 01:59 PM   #1
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 24

Rep: Reputation: 64
Copy Problem.


Unable to Copy Files/Directories from one partition to another. Mounted both partitions, choose chmod 777 for the related directories, partitions, files, still issue persists. Please assist.

Thanks.

Vijay
 
Old 09-23-2006, 02:18 PM   #2
flipwhy
Member
 
Registered: Jul 2006
Posts: 102

Rep: Reputation: 15
what exactly are you typing to copy it? just to make sure
 
Old 09-23-2006, 03:22 PM   #3
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921

Original Poster
Blog Entries: 24

Rep: Reputation: 64
First I tried to drag and drop from KDE browsers. this failed. Then I used the cp command as root. Even tried a simple text file. Copy for this also failed. Am able to copy within the same partition but not from one partition to another. Just an idea, can this be something to do with either /etc/fstab or mtab ?
 
Old 09-23-2006, 03:44 PM   #4
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Rep: Reputation: 30
What type of partitions are these? Are you sure you have read-write access? If one is a windows partition, check the mount parameters.
 
Old 09-23-2006, 05:43 PM   #5
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Please be a lot more specific about what you are trying to do, and include some specific examples. If you only describe things in generalities, the only answers you'll get will be guesses.
 
Old 09-23-2006, 07:56 PM   #6
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921

Original Poster
Blog Entries: 24

Rep: Reputation: 64
Here are the related lines:

drwxrwxrwx 2 root root 48 Sep 23 12:20 hda6
drwxrwxrwx 4 root root 4096 Sep 23 11:42 hda7
root@box:/media# cp /media/hda6/home/vijay/Desktop/Notes /media/hda7
cp: cannot create regular file `/media/hda7/Notes': Read-only file system
root@box:/media#
 
Old 09-23-2006, 08:05 PM   #7
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921

Original Poster
Blog Entries: 24

Rep: Reputation: 64
/etc/fstab

# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda5 / reiserfs defaults 0 1

proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cdrom iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/cdrom1 /media/cdrom1 iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/dvd /media/dvd iso9660 defaults,ro,users,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda1 /media/hda1 ntfs noauto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hda2 none swap defaults 0 0
# Added by KNOPPIX
/dev/hda6 /media/hda6 reiserfs noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda7 /media/hda7 ext2 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda8 /media/hda8 reiserfs noauto,users,exec 0 0

Here is /etc/mtab

/dev/hda5 / reiserfs rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
usbfs /proc/bus/usb usbfs rw,devmode=0666 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
automount(pid6078) /mnt/auto autofs rw,fd=4,pgrp=6078,minproto=2,maxproto=4 0 0
/dev/hda7 /media/hda7 ext2 ro,nosuid,nodev 0 0
/dev/hda6 /media/hda6 reiserfs rw,nosuid,nodev 0 0
 
Old 09-23-2006, 08:20 PM   #8
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921

Original Poster
Blog Entries: 24

Rep: Reputation: 64
/dev/hda7 /media/hda7 ext2 ro,nosuid,nodev 0 0

I changed the ro to rw in the above line after changing permissions of /etc/mtab and then saved this file. Next time I get a chance, I will reboot my machine and see if this solves the problem.
 
Old 09-23-2006, 09:13 PM   #9
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921

Original Poster
Blog Entries: 24

Rep: Reputation: 64
I had a chance to reboot. The above solved the problem. It is hard to remember all the Linux basics and use them appropriately in context. Hence, when there is an issue, reflecting here with others helps. Thanks for the support everyone.
 
Old 09-24-2006, 12:20 PM   #10
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
That's great news. Congrats rvijay on solving the problem and thank you for posting back with the followup
 
Old 09-24-2006, 12:35 PM   #11
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921

Original Poster
Blog Entries: 24

Rep: Reputation: 64
Quote:
Originally Posted by J.W.
That's great news. Congrats rvijay on solving the problem and thank you for posting back with the followup
Thank You. You are welcome.

Vijay
 
  


Reply



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
Copy(cp) problem shipon_97 Linux - General 2 02-28-2006 02:19 AM
Copy problem CloudBuilder Linux - Newbie 1 11-19-2005 01:03 PM
copy problem suguname Mandriva 2 01-28-2005 12:54 AM
boot error after using Copy Commander to copy debian system onto larger new drive Interceptor Linux - Hardware 7 05-04-2003 12:40 PM
copy problem feind Linux - Networking 11 04-06-2003 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:20 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
Open Source Consulting | Domain Registration