Newsgroups: comp.os.linux.misc
From: Douglas Mayne <d...@localhost.localnet>
Date: Fri, 17 Feb 2006 08:36:01 -0700
Local: Fri, Feb 17 2006 10:36 am
Subject: Re: copying entire dual-boot hard drive
On Fri, 17 Feb 2006 03:31:49 -0800, nmdc69 wrote: This is quite easily done (if you know what you're doing.) You could also > Hi folks, > I have a hard drive (200Gb 7200rpm Maxtor) that I'd like to copy onto > another drive (200Gb 7200rpm WD). The Maxtor hard drive has several > partitions, with Windows XP and Linux installed, and GRUB. I have a lot > of programs installed and I want to maintain everything exactly as is. > Is there an easy way to copy everything? > thanks. review this HOWTO: http://www.tldp.org/HOWTO/Hard-Disk-Upgrade/ The method below isn't the only way, but this is what I'd do. DISCLAIMER: Verify all commands are appropriate for your system Substitute values appropriate for you system in the examples shown Steps: Partition Used for Filesystem Size or % Comments 1. Use fdisk to create matching partitions on the target disc. 2. Format the linux partitions using the filesytem of your choice. Ignore 3. Make mount points for all target partitions and mount. You can omit example: 4. Prepare to copy each linux partitions. Assuming you are working 4.a. Select which top level directories will be backed up. Begin with a total listing of all directories at the root: This list is too big, so edit it manually to omit directories which you 4.b. Use the cut-down list (~/dirs) to start building a copy of the SOURCE=/ 4.c. Recreate omitted entries. example: The for-list would also include /home, /usr or anything else you omitted 4.d. Copy any partitions mounted as a directories example: 4.e. Copy windows partitions. FAT32 partitions can be copies using the You would copy _each_ NTFS partition to the target partition using SOURCE=/dev/hda1 5. Fix grub loader. Assuming grub is installed at the MBR and all of # grub If no errors were reported on "setup" you should be alright. 6. All done. Reward yourself with a nice beverage. -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||