On Tuesday 19 January 2010 09:00:04 [email protected] wrote: > I have a friend's HDD which has a Slackware server install. It is > essential that It stay intact but I need to clone it to another drive. > On the original drive the installer fixed the partition at 4 GB but I > wish to let it have a bit more space - say 20 GB. > Do I need to use dd or is there a simple gui way. I need to copy ALL the > files across.
Your question reveals helpme-howto rather than helpme-bestway. Here is a recipe, change it to suit: install the second disk in the machine, partition and format it. boot the machine from knoppix (or any live CD) (I'm using knoppix as an eg) and as root mkdir /mnt/a mkdir /mnt/b mount /dev/sda1 /mnt/a mount /dev/sdb1 /mnt/b rsync -av /mnt/a/ /mnt/b shutdown and remove the original disk from the machine shuffle connectors so this is the first ATA disk and boot again mkdir /mnt/a mount /dev/sda1 /mnt/a reinstall grub grub-install --root-directory=/mnt/a /dev/sda you might need --recheck too) boot and run from your new disk. This is not a magic spell but rather systematic predictable steps, understand them and you will never need to learn them. The reason for coping a not-live system is that your live disk system populates /proc /sys maybe /dev and you do not want to copy those dynamic entries. Also note the /s in the rsync arguments, they are important James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
