Originally Posted by bgeddy
This may be a weird request but here goes.. I currently have 2 hard disks installed on my box; hard disk 1 is 13Gb and is my primary bootable disk. It boot to lilo which then boot XP from disk 1 or Slackware from disk 2 (20Gb). Here is my "df -h" to give you a better idea :-
Filesystem Size Used Avail Use% Mounted on
/dev/hdb1 943M 477M 417M 54% /
/dev/hdb6 5.6G 3.4G 1.9G 65% /usr
/dev/hdb7 1.9G 1.1G 759M 58% /opt
/dev/hdb8 9.3G 4.2G 4.6G 48% /home
/dev/hda1 13G 12G 1.1G 92% /winxp
As you can see I mount hard disk 1 under Slack to be /winxp.
Thing is I am thinking of buying a 300Gb disk for this box and would like to devote half to WinXP and half to Slackware (I run Slackware 11 with a 2.6.17 kernel. I have spent AGES configuring my Win and SLack installations to be just how I like them and was wondering whether there was a way to "image" or "ghost" my existing partitions from the 2 hard disks to new (and obviously much larger) partitions on the new 300Gb disk so my system worked as it does now but with LOTS more space ? I know I would have to change my lilo configuration for the new booting from a single disk but I reckon that is the easy part - it's the "imaging" bit that worries me! I really don't want to have to install all my apps for both OS's again and tinker with all the settings I have taken months getting just right. The 2 existing disks would then be put into another box for other uses. Hope this is possible but I realize it may be a long shot. Thanks in advance..
Why not just use the 'dd' command to copy each partition to a new hard disk partition. You should read the LQ post on dd
that AwesomeMachine posted. Very informative!
You would have to do some drive swapping but that is just mechanical and should not be a big deal.