Brant Fitzsimmons wrote:
> On Thu, 2005-06-02 at 10:36 -0500, Mikkel L. Ellertson wrote:
> 
>>Brant Fitzsimmons wrote:
>>
>>>
>>>You really should have a separate /home partition.  It makes re-installs
>>>much easier.
>>>
>>>You could try this:
>>>
>>>Boot up into your Linux install and run as root.
>>>        dd if=/dev/hda of=/dev/hdb
>>>As far as I know that will make a bit for bit copy of the first drive to
>>>the second.  *Someone please correct me if I'm wrong.*
>>>
>>>Disconnect the old drive.  Boot up on the new one.  Then use diskdrake
>>>to create a /home partition on the free space left on the 80GB drive.
>>>It should give you the option to copy over the existing information in
>>>your current /home to the new /home partition.
>>>
>>>Sound good?
>>>
>>
>>This is NOT a good idea. Why? Because it will copy the partition table
>>and everything over. So your new drive will look like an 8 GB drive. Not
>>exactly what you are after. Going from this point to using the full
>>drive is a real pain.
> 
> 
> diskdrake won't allow you to do that with minimal fuss?
> 
> <snip>
Nope, because it sees the drive as an 8 GB drive. The problem is that
the partition table/mbr contain information about the logical geometry
of the drive. You can override this by telling fdisk to use the geometry
that you supply. This will work for a Linux only drive, but you run into
problem with the Windows partitions when you do this.

I am not sure how you tell diskdrake about it. With the fdisk x menu,
you can change the number of heds, sectors/track, and cylinders to see
the entire drive. I guess you could do that, and then use diskdrake on
it. You have to be carefull that you only change the number of
cylinders, or you will end up with corrupted file systems.

It can be done, but there are better tools to do the job.

Mikkel
-- 

Registered Linux User #16148  (http://counter.li.org/)

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to