<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: hard disk clonning! in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608277#M19247</link>
    <description>Hi Ajay ,&lt;BR /&gt;&lt;BR /&gt;Nice to know that you have successfuly done the clone.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks  &amp;amp; cheers,&lt;BR /&gt;RajD.&lt;BR /&gt;----</description>
    <pubDate>Wed, 24 Aug 2005 07:30:29 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2005-08-24T07:30:29Z</dc:date>
    <item>
      <title>hard disk clonning!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608267#M19237</link>
      <description>Hi everybody,&lt;BR /&gt;&lt;BR /&gt;i want to clone my mail server hard disk in to a new hard disk as like we can do with norton ghost for windows. in linux is there any way to copy entire hardisk in to a new one?&lt;BR /&gt;&lt;BR /&gt;example:&lt;BR /&gt;1.i have 20 GB hardisk A(linux installed) with important data.&lt;BR /&gt;2.i have one more harddisk B(20 GB). i want to copy each and every file and directory from harddisk A to harddisk B.&lt;BR /&gt;3.can i boot from the harddisk B with out installing anything after copying entire disk.?&lt;BR /&gt;&lt;BR /&gt;please advise me the steps to do that.&lt;BR /&gt;&lt;BR /&gt;thanks in advance..&lt;BR /&gt;ajay</description>
      <pubDate>Sun, 21 Aug 2005 23:06:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608267#M19237</guid>
      <dc:creator>ajay_25</dc:creator>
      <dc:date>2005-08-21T23:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: hard disk clonning!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608268#M19238</link>
      <description>Ajay,&lt;BR /&gt;&lt;BR /&gt;You should be able to copy the disk using the dd command (check man dd), but first take a look at the next url: &lt;A href="http://www.mondorescue.org" target="_blank"&gt;http://www.mondorescue.org&lt;/A&gt; this softwarepackage will work like Ghost is doing for Window$.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Peter</description>
      <pubDate>Mon, 22 Aug 2005 01:29:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608268#M19238</guid>
      <dc:creator>Hoefnix</dc:creator>
      <dc:date>2005-08-22T01:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: hard disk clonning!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608269#M19239</link>
      <description>&lt;BR /&gt;dd is one method but it requires both hard disks to be exactly of same size (including geometry).&lt;BR /&gt;&lt;BR /&gt;* otherwise you can connect the backup harddisk as secondary to the mail server. &lt;BR /&gt;* Boot with a rescue CD (you can use RH or SUSE installation CD 1 and enter in to rescue mode)&lt;BR /&gt;* create partitions on it in exactly same way as the primary hard disk. &lt;BR /&gt;* copy corresponding partitions from primary hard disk to secondary hard disk (remember to use cp  with options -avxf which will handle links)&lt;BR /&gt;* run lilo/grub boot loader on the secondary hard disk (chroot &lt;SECONDARY-HD-BOOTPARTITION&gt;; grub-install &lt;SECONDARY device="" name=""&gt;)&lt;BR /&gt;&lt;BR /&gt;now you should be able to boot back with ur backup harddisk.&lt;BR /&gt;&lt;BR /&gt;You can also use any rescue utilities like Ghost has its own linux edition. you can also use HP's RDP product which can do this and much more.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi&lt;/SECONDARY&gt;&lt;/SECONDARY-HD-BOOTPARTITION&gt;</description>
      <pubDate>Mon, 22 Aug 2005 06:35:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608269#M19239</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-08-22T06:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: hard disk clonning!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608270#M19240</link>
      <description>I've been pretty successfull using Ghost. I've even gotten away with using whole disk replication using the Windows product.&lt;BR /&gt;&lt;BR /&gt;Mondorescue has good long term possibilities as well.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 22 Aug 2005 12:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608270#M19240</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-08-22T12:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: hard disk clonning!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608271#M19241</link>
      <description>Hi Ajay ,&lt;BR /&gt;&lt;BR /&gt;For cloning linux disk , you can use own dd command , thats best for linix and unix.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;-------&lt;BR /&gt;&lt;BR /&gt;If you have filesystems like that :&lt;BR /&gt;&lt;BR /&gt; Device Boot    Start       End    Blocks   Id  System &lt;BR /&gt;/dev/sda1             1         9     72261   83  HPFS/NTFS &lt;BR /&gt;/dev/sda2            10        75    530145   82  Linux swap &lt;BR /&gt;/dev/sda3            76       467   3148740   fd  Linux raid autodetect &lt;BR /&gt;/dev/sda4           468      2200  13920322+  83  Linux &lt;BR /&gt;---------------------------------&lt;BR /&gt;And if you have a similar 2nd disk connected as sdb (IDE or SCSI).&lt;BR /&gt;&lt;BR /&gt;you can do as follows:&lt;BR /&gt;&lt;BR /&gt;1. Partition second disk sdb identical :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  Device Boot    Start       End    Blocks   Id  System &lt;BR /&gt;/dev/sdb1             1         9     72261   83  HPFS/NTFS &lt;BR /&gt;/dev/sdb2            10        75    530145   82  Linux swap &lt;BR /&gt;/dev/sdb3            76       467   3148740   fd  Linux raid autodetect &lt;BR /&gt;/dev/sdb4           468      2200  13920322+  83  Linux &lt;BR /&gt;&lt;BR /&gt;2. Run the dd command:&lt;BR /&gt;a. copy MBR.&lt;BR /&gt;dd if=/dev/sda of=/dev/sdb  bs=446 count=1 &lt;BR /&gt;&lt;BR /&gt;b. clone rest partition except swap , no need to copy swap , as its raw.&lt;BR /&gt;dd if=/dev/sda1  of=/dev/sdb1                      &lt;BR /&gt;dd if=/dev/sda3  of=/dev/sdb3  &lt;BR /&gt;------------------------------&lt;BR /&gt;This may help you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Aug 2005 17:23:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608271#M19241</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2005-08-22T17:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: hard disk clonning!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608272#M19242</link>
      <description>Ajay , &lt;BR /&gt;&lt;BR /&gt;Simply dd it and check if it works , Data will transfer not not sure about booting..&lt;BR /&gt;&lt;BR /&gt;1. Create identical partition.&lt;BR /&gt;2. dd if=/dev/sda of=/dev/sdb bs=446 count=1 ( MBR copy).&lt;BR /&gt;&lt;BR /&gt;3.&lt;BR /&gt;dd if=/dev/sda1 of=/dev/sdb1 &lt;BR /&gt;skip sda2 ( swap )&lt;BR /&gt;dd if=/dev/sda3 of=/dev/sdb3 &lt;BR /&gt;dd if=/dev/sda4 of=/dev/sdb4.&lt;BR /&gt;-------------------------------&lt;BR /&gt;Remember it will take time to clone..&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;RajD.&lt;BR /&gt;-----&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Aug 2005 17:28:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608272#M19242</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-08-22T17:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: hard disk clonning!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608273#M19243</link>
      <description>Hi Ajay ,&lt;BR /&gt;&lt;BR /&gt;Have you done the disk cloning in linux , got any luck.&lt;BR /&gt;Pls update ..&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Tue, 23 Aug 2005 08:43:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608273#M19243</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-08-23T08:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: hard disk clonning!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608274#M19244</link>
      <description>Hi friends,&lt;BR /&gt;I really appreciate your help.&lt;BR /&gt;&lt;BR /&gt;1st of all i followed RAJ&amp;amp;RAJD's  solution .that works gr8.&lt;BR /&gt;I created identical partitions as like my 1st harddisk using fdisk coammand in my 2nd harddisk .&lt;BR /&gt;After that I used dd command to copy MBR and other partitions to the 2nd harddisk.&lt;BR /&gt;i booted through 2nd harddisk. It was successfully booted. but what about swap partition? Anyway i created swap partition manually.&lt;BR /&gt;&lt;BR /&gt;Gopi! what are the benefits in the way you suggested instead of using dd command. Here also I need to create the partitions exactly same way, as the primary hardisk isnâ  t it? I need a bit clarity.&lt;BR /&gt;&lt;BR /&gt;Next I will try Gopi,peter and stevens suggestions and get back to you guys.&lt;BR /&gt;&lt;BR /&gt;If you help me in this way for a few months I will be an expert in Linux soon. LOL.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot guys.&lt;BR /&gt;ajay&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Aug 2005 00:33:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608274#M19244</guid>
      <dc:creator>ajay_25</dc:creator>
      <dc:date>2005-08-24T00:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: hard disk clonning!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608275#M19245</link>
      <description>&lt;BR /&gt;The only and main distinctive advantage of my suggestion is the procedure can be used on any type and size of the hard disk. Incase of dd if you are having 40GB source disk then you should have 40GB destination disk (minimum) for replication to work successfully. &lt;BR /&gt;&lt;BR /&gt;In my suggestion you can have 80 GB or 20GB destination disk and it will work properly. &lt;BR /&gt;&lt;BR /&gt;Hope i am clear this time,&lt;BR /&gt;Gopi</description>
      <pubDate>Wed, 24 Aug 2005 00:55:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608275#M19245</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-08-24T00:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: hard disk clonning!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608276#M19246</link>
      <description>Hi Ajay,&lt;BR /&gt;I had used ghost for clonning linux disks and was successful. You need to do a disk to disk clone.&lt;BR /&gt;&lt;BR /&gt;Sudeesh</description>
      <pubDate>Wed, 24 Aug 2005 01:14:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608276#M19246</guid>
      <dc:creator>Sudeesh</dc:creator>
      <dc:date>2005-08-24T01:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: hard disk clonning!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608277#M19247</link>
      <description>Hi Ajay ,&lt;BR /&gt;&lt;BR /&gt;Nice to know that you have successfuly done the clone.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks  &amp;amp; cheers,&lt;BR /&gt;RajD.&lt;BR /&gt;----</description>
      <pubDate>Wed, 24 Aug 2005 07:30:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hard-disk-clonning/m-p/3608277#M19247</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-08-24T07:30:29Z</dc:date>
    </item>
  </channel>
</rss>

