James Pifer wrote:
I know this topic is discussed a lot and I've googled for a lot of
information. I still wouldn't mind some help, because of information
overload...
I have a system with a 20gig drive. I'd like to move the whole install
to another drive, 120 gig, so I can use the 20 gig drive in another
system. I have the 120 gig drive installed right now as a slave.
Can I?:
1) Create the same partitions on the new drive (boot, /, and swap)
2) boot off Knoppix and mount all the drives, 20 GB and 120 GB
3) use cp and copy the data from the 20 to the 120
4) remove the 20 and make the 120 the primary and only drive
5) reinstall(or restore) grub on the 120
Is there an easier way to do this with both drives in the same machine?
Maybe dd? Are there step-by-step instructions anywhere for doing this on
dd? (of course I found a lot on dd, but not specifically what I'm trying
to do)
If I should it the way I described are there specific parameters I
should use with cp to make sure all the correct rights go along as well?
Any help is appreciated.
James
Well, you can go here: http://www.sysresccd.org/ and download the gentoo
linux system rescue CD, then burn it. It will give you a bootable CD
with system tools. It has partitioning programs, and you should be able
to just copy a partition instead of just all the files. You will have to
install grub on the new drive also, so make sure you make a grub
installer floppy or something.