On 29 Aug 2002 at 13:19, H.S.Rai wrote:

> I want to replace  my old HDD 20 GB with new 40  GB HDD. Old HDD has a
> number of  partition and is dual  boot. I want to know  easiest way to
> copy complete content  of all partitions (Linux & Window)  on new HDD,
> first by making new HDD as secondry, and them moving it to primary.

You can take a shot at dd.

# dd if=/dev/hda of=/dev/hdb

Though you will loose any extra space. I recommend partitioning the second disk 
first, format all partitions with respective OS's with bad block checking and 
then do a DD partition by partiton. This way you will have usable space left on 
second drive.

Then you will need to copy the MBR. Or make the linux 'Installation' on second 
disk bootable thr. primary linux. Boot into second hard disk and run it's own 
lilo to point to mbr of second HDD.

HTH..


Bye
 Shridhar

--
algorithm, n.:  Trendy dance for hip programmers.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to