Moving all data to different HD
I've outgrown my current HD. I did a search on moving data to a completely different disk, but only saw info on using 'cp -a'.
What about doing something like this:
1) Create new filesystem on 2nd (new) HD & mount somewhere
2) Use 'find . -depth -print | cpio -pdlmv' to copy everything from root to mounted 2nd HD (excluding /mnt, /proc, /cdrom & /floppy)
Now what about the lilo boot loader? I'll be removing the original HD, so the HD assignments in fdisk will be the same (no worries about fstab or anything).
If I run lilo to install the MBR on the 2nd disk, that should work, right?
Anything else I missed?
Sal
|