Results 1 to 7 of 7

Thread: Disk Cloning?

  1. #1
    Senior Member registered user
    Join Date
    Oct 2004
    Posts
    260

    Disk Cloning?

    Hi, I have tried three open source disk cloning programs but they didn't work .
    I have a disk that s.m.a.r.t says is failing. Partlogic-.0.53 & g4u do not load/boot
    Does anyone have any experiance with software that can clone a drive-not just stuff
    that claims to. Or am I better off using, yuck, propriatary software?
    BTW I'm not running windows and the drive that's failing has 7 different partitions on it.
    Thanks.

  2. #2
    Member registered user
    Join Date
    Jan 2004
    Posts
    65
    Knoppix contains everything you need to clone a disk.
    If you'd describe exactly what you're trying to do, someone
    will probably tell you how to accomplish it.
    Some programs you might want to research:
    dd and nc
    partimage

    I've used both of these methods, but you'll need to rtfm. If you want
    point-and-click, you'll probably need to spend some $.

    Possibly, the programs you tried didn't "load/boot" because
    you neglected to read the manual. Did you write the images properly,
    or did you just copy them to a floppy/cd?

    At google:
    clone.disk knoppix

    http://www.rajeevnet.com/hacks_hints...s_cloning.html

    http://www.partimage.org/

    You'll find that point-and-click windows-like apps usually cost $$,
    while open source projects would just like you to read their docs.
    It's your choice.

    Have Fun

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    dd will work , but it wil sadly also copy the errors over with it.
    personally i would make a full "image" of the drive, then mount that and copy from there to a hdd partition, being certain i mount READ ONLY, why? so i have a "good" image to do any "rescue" from.

  4. #4
    Senior Member registered user
    Join Date
    Oct 2004
    Posts
    260
    Quote Originally Posted by ghaze
    Knoppix contains everything you need to clone a disk.
    If you'd describe exactly what you're trying to do, someone
    will probably tell you how to accomplish it.
    Some programs you might want to research:
    dd and nc
    partimage

    I've used both of these methods, but you'll need to rtfm. If you want
    point-and-click, you'll probably need to spend some $.

    Possibly, the programs you tried didn't "load/boot" because
    you neglected to read the manual. Did you write the images properly,
    or did you just copy them to a floppy/cd?

    At google:
    clone.disk knoppix




    http://www.rajeevnet.com/hacks_hints...s_cloning.html

    http://www.partimage.org/

    You'll find that point-and-click windows-like apps usually cost $$,
    while open source projects would just like you to read their docs.
    It's your choice.

    Have Fun
    Yes I did rtfm! and I know how to write iso images to cd and how to use dd or cat to write to floppy.
    I also have used dd to copy partitions but I've found it doesn't work so well if the new partition has a different partition number. My post probably sounded terse because I had spent the better part of the day trying to get one of the cloning programs I mentioned to work only to discover that it's buggy, and that's borne out by the reviews of it at freshmeat, which I didn't read fully until after I had problems.

    So what I want to do Is clone this entire drive with all the partitions intact i.e usable and bootable.
    I have debian woody, knoppix, slackware, mepis, and kanotix on the drive I want to clone, and i want to
    copy them all keeping permissions and ability to boot. I can use mkcdrec but it is alot of work and I'll have to
    do each partiton indivually-maybe that's the way I'll end up with because I know that program and it does work.
    As OErjan said sometimes dd seems to work until you try to access the data.

  5. #5
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    what os are you cloning?
    i hasve used cp to make fully working clones of my linux installs to new disks.
    i just parttion it with same number of parttions and then use cp -ax to move everything over (one partiton at a time)
    i then chroot into the install that was "hosting" the bootloader and reinstall that from there. not very complicated and works in most cases.

  6. #6
    Senior Member registered user
    Join Date
    Oct 2004
    Posts
    260
    Thax OErjan, I'm cloning linux-all the distros I mentioned above. I already have a grub set up on my 1st disk and it's pretty easy to edit menu.1st. The problem or concern I have is if I try to move all the different distros they obviously won't be in the same partition order that they are now. (I already have one install on the 1st disk-there's plenty of room on the disk-but I don't know if the bootloaders will work right. i.e in installing these system I installed the loader (lilo or grub) to the partition instead of the MBR so in my lead distro I can just use rootnoverify and chainload from there.

    In my experiance when I've moved a partition the boot fails it might start but something goes wrong. Sorry for the long reply but that's my best explanation of where I'm at. And thanks again for the cp -ax command-argument. Perhaps I would be better off trying to install to a same size hard drive which means buying another drive. (?)

  7. #7
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    just edit lilo.conf and grub.1st on those to point to the right partition if you are woried.
    to be honest i would not, as long as you point first grub right it should be OK to boot any linux distribution without any aditional loader/s.
    works for me, and yes i have done it multiple times.
    last week was latest, after a disk crash i moved my / on the server to a new disk, worked great (and still does).

    and to resure you i have done it to disks with up to 6 (six) OS; win 98, Slackware, Debian, redhat, mandrake and suse. With win i used a start diskette and did a SYS C: to get booting, I then chrooted into the linux withch "hosted" the loader and reinstalled it, yes ALL the linuxes shared same bootloader.

Similar Threads

  1. Cloning a hard disk
    By ferrel in forum General Support
    Replies: 2
    Last Post: 07-02-2005, 01:39 PM
  2. cloning HD using Knoppix
    By drjawn in forum General Support
    Replies: 10
    Last Post: 01-17-2005, 12:23 PM
  3. cloning locally-- please help
    By xeoron in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 09-03-2004, 10:31 AM
  4. Networked disk cloning HOWTO?
    By MethodMan in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 08-30-2004, 09:25 PM
  5. Cloning a harddisk
    By Balaam in forum General Support
    Replies: 15
    Last Post: 04-07-2004, 12:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES picture

IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES

$27.25



IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server  picture

IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server

$209.98



IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server picture

IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server

$191.99



IBM Power 710 Express Server Power7 4.2Ghz 8-Core CPU 64GB DDR3 No HDD 74Y523 picture

IBM Power 710 Express Server Power7 4.2Ghz 8-Core CPU 64GB DDR3 No HDD 74Y523

$499.99



IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs picture

IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs

$65.02



IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server picture

IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server

$319.99



Lenovo IBM x3500 M5 Tower Server E5-2670 V3 2.30GHz picture

Lenovo IBM x3500 M5 Tower Server E5-2670 V3 2.30GHz

$999.99



IBM System X3500 M4 7383AC1 (E5-2650 v2 2.60GHz - 192GB RAM - M2000 - NO OS/HDD) picture

IBM System X3500 M4 7383AC1 (E5-2650 v2 2.60GHz - 192GB RAM - M2000 - NO OS/HDD)

$264.92



IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED picture

IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED

$99.99