On Fri, Apr 20, 2001 at 12:06:53PM -0500, Jason Pepas wrote:
> i seem to remember reading that you have to use tar in order to get a
> complete copy of a filesystem. unfortunately i dont remember the
> details.
GNU cp has the "-a" option. I've copied my hd several times now using
cp -vax / /
check it
http://www.linuxdoc.org/HOWTO/mini/Hard-Disk-Upgrade/index.html
jason
[EMAIL PROTECTED]
jason.pepas.com
- Original Message -
From: "Philipp Lehman" <[EMAIL PROTECTED]>
To: "Debian User"
Sent: Friday, April 06, 2001 2:52 PM
Subject: Moving to a new hd
i seem to remember reading that you have to use tar in order to get a
complete copy of a filesystem. unfortunately i dont remember the
details.
- Original Message -
From: "Philipp Lehman" <[EMAIL PROTECTED]>
To: "Debian User"
Sent: Friday, April 06, 2001 2:
I've done this a few times and it's been a while, but what I recall
doing was:
1. mke2fs /dev/hdb1.
2. mount -t ext2 /dev/hdb1 /mnt
3. 'cp -ax' from / to /mnt each of the directories which do not exist
on a separate partition. Do not include /proc or /tmp. Use mkdir to
create /mnt/proc and /mnt
A while ago a bought a new IDE hd for one of my Debian boxes,
hooked it up as hdb, moved /home, /usr, and /var there, but left
the root file system on hda1 (on the old drive). Now I want to
get rid of the old hd altogether (it's slow and noisy).
So, after performing some extensive surgery on a liv
5 matches
Mail list logo