Results 1 to 4 of 4
I am moving my install from an jfs partition to an ext3 partition. I was copying and...
Code:
debian:/# cp -a / /media/disk
cp: cannot copy a directory, `/', into ...
- 10-10-2008 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 6
I am moving my install from a jfs partition to an ext3 partition
I am moving my install from an jfs partition to an ext3 partition. I was copying and...
I am assuming that I used a bad command. It did not drop me back at a prompt, as if it were still working, but there was no hard drive activity. Should I cancel it? Should I reformat the partition I am copying to? What command should I use to copy?Code:debian:/# cp -a / /media/disk cp: cannot copy a directory, `/', into itself, `/media/disk/' cp: cannot copy a directory, `/', into itself, `/media/disk/' cp: cannot copy a directory, `/', into itself, `/media/disk/' cp: cannot copy a directory, `/', into itself, `/media/disk/' cp: cannot copy a directory, `/', into itself, `/media/disk/' cp: cannot copy a directory, `/', into itself, `/media/disk/' cp: cannot copy a directory, `/', into itself, `/media/disk/' cp: cannot copy a directory, `/', into itself, `/media/disk/' cp: cannot open `/proc/acpi/event' for reading: Device or resource busy cp: cannot open `/proc/sys/net/ipv4/route/flush' for reading: Permission denied cp: cannot open `/proc/sys/net/ipv6/route/flush' for reading: Permission denied cp: reading `/proc/sysrq-trigger': Input/output error
more info at Debian User Forums :: View topic - I installed with JFS, thinking about ext3
- 10-10-2008 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
well /media/disk is a subdirectory of /
So you might need to rephrase or be more specific, otherwise it could cause a loop. I would recommend doing this offline. There will be files that are locked and won't be moveable. The proc directory is causing this kind of trouble in your output above, and you can imagine how the kernel will be blocked
Maybe a live disc?
- 10-11-2008 #3Just Joined!
- Join Date
- Oct 2008
- Posts
- 6
- 10-11-2008 #4Just Joined!
- Join Date
- Oct 2008
- Posts
- 6
It worked and now everything seems to be going great.


Reply With Quote

