Ghost Solution Suite

 View Only
  • 1.  Issues with cloning hard disks with Linux

    Posted Jan 04, 2010 04:57 PM
    I have disk 1 with Linux installed, I want to do a disk clone onto disk 2.  I am using this command:

    ghost -clone,mode=copy,src=1,dst=2 -IB -IR -SURE

    I am using the Linux Thinstation boot CD.  After I get the message that the cloning was completed, I tried to boot off disk #2, I get this error:

    "Missing Operating System"

    I'm guessing there was an issue with grub.  This CD was created using the Ghost Boot Wizard that came with GSS 2.5

    Is there an issue with GSS2.5 and grub, or am I not using the right tags?


  • 2.  RE: Issues with cloning hard disks with Linux

    Posted Jan 05, 2010 02:11 PM
    Tonto,

    I am going to recommend this command line:

    ghost -clone,mode=copy,src=1,dst=2 -IAL -NOLILO -SURE

    This is considered the "best practice" array of switches for Linux. The -IAL switch is a less aggressive version of the -IR switch for use with Linux, and the -NOLILO switch addresses issues with the GRUB and LILO bootloaders. Sometimes, a patch of the bootloader from the Linux disk is required, but this typically works. What distribution of Linux are you using? Here is an article that may help, also:

    Ghost Solution Suite 2.5 support for Linux
    http://service1.symantec.com/SUPPORT/on-technology.nsf/docid/2008071416033360

    Thank you,

    Randy


  • 3.  RE: Issues with cloning hard disks with Linux

    Posted Jan 05, 2010 06:16 PM
    I am using SELinux.  I called earlier, and the support person recommended running with just the -IAL tag.  I just checked, and the clone was successful, was able to boot off disk #2.


  • 4.  RE: Issues with cloning hard disks with Linux

    Posted Jan 06, 2010 04:13 PM
    Excellent! The -IAL switch is the most common, but some Linux distributions require the switch that deals with the bootloader. I'm glad that worked!


  • 5.  RE: Issues with cloning hard disks with Linux

    Posted Jan 06, 2010 04:38 PM
    Actually, ran into the grub issue on a different machine.  On this machine, the destination disk had NTFS on it.  I started doing a diskwipe, then terminated it since I figured it wasnt needed.  I then ran with the -IAL switch, but this time upon booting from the destination disk, all I see is "GRUB" .  So do I need to run with the -NOLILO switch in addition to -IAL?  Looking at the help, it says the -NOLILO switch does not attempt to patch the LILO or GRUB boot loader after a clone.

    Since the -IAL is a sector-by-sector copy, it should not care what exists on the destination disk?