Results 1 to 7 of 7

Thread: cant boot off of clone.

  1. #1
    Join Date
    Mar 2014
    Beans
    32

    cant boot off of clone.

    I recently made a clone of two partitions of my 64bit Ubutnu 14.04 install, but can not boot off the new clone.
    First off let me say , the source disk was larger than the destination, so I decided to only copy the partitions (and not the entire disk using) the dd method. Before doing though, this I prepared the destination disk by creating a replica of the source partition table on the destination disk as described by Malte Skoruppa here.

    The method of cloning was to plug in an external drive that had working clone of my original install and copy that using:

    Code:
    sudo -s 
    dd if=/dev/sda1 of=/dev/sdb1 & pid=$! 
    while kill -USR1 $pid; do sleep 1; done

    Code:
    dd if=/dev/sda2 of=/dev/sdb2 & pid=$! 
    while kill -USR1 $pid; do sleep 1; done
    While I thought this was going to work, I had my suspicions that the boot part might not be configured, so I booted up in BOOT-Repair LIVE to see if I could fix the issue. I selected to reinstall GRUB and purge the old one, but I still can not boot from this drive.

    In any case, I copied the output to file to have a look below:
    (be advised that /dev/sda/ is the destination drive of the cone that isnt working and that /dev/sdb was the source during the dd cloning operation.

    http://pastebin.ubuntu.com/14504085/

    If someone could have a look a this output, and my method, and tell me where I went wrong, or what needs to be fixed I would be happy
    Last edited by mikee2; January 15th, 2016 at 12:47 PM.

  2. #2
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: cant boot off of clone.

    That's a bit of a mess. You've ended up with two UEFI partitions and no grub installed anywhere.

    Could you run boot repair again, please, and choose 'Advanced' and select to install grub to sda. Not a partition, just sda. Once that's done, finish up and reboot.

    That may get somewhere, but you need more expertise than I have to help clean up. Those two EFI partitions I would imagine will cause issues. I'm no expert with EFI but there's others about who are and will hopefully be able to lend a hand.

    * You made a clone on the internal disk of the working clone on an external disk. How did you know it was a working clone? Were you able to boot that from the external drive, or from another clone of it, and all ran normally?
    Last edited by Bucky Ball; January 15th, 2016 at 01:53 PM.

  3. #3
    Join Date
    Sep 2011
    Beans
    692

    Re: cant boot off of clone.

    Clonezilla is your friend.

  4. #4
    Join Date
    Mar 2014
    Beans
    32

    Re: cant boot off of clone.

    Thank you Bucky Ball for your reply! Of course its a mess, I have no idea what im doing and the documentation I found online was hardly adequate to help a novice like me. (Also I tried 5 times using clonezilla and I couldnt figure it out that way. It has issues with smaller disks being the destination)

    Quote Originally Posted by Bucky Ball View Post
    You made a clone on the internal disk of the working clone on an external disk. How did you know it was a working clone? Were you able to boot that from the external drive, or from another clone of it, and all ran normally?
    Heres how it went: I have a nice stable working environment that has all the app I like on an internal 128GB SSD so I cloned that to a 250BG external drive. Once I realized that the drive i made the was older and harder to hookup (its a SATA that needs a converter etc) I decided it would be best to try and jsut clone it to a 64GB flash USBd rive. I know the clone on the 250GB drive works because I can actually boot to it.

    The reason there might be no grub is because I asked BOOTpart LIVE to reinstall it, but it looks like it failed.

    EDIT: I successfully reinstalled GRUB and got to booting off of the 64G clone (great news) but it is VERY VERY slow to load. The last part of the GRUB repair/install with BOOTrepair said something about make sure your BIOS on sda/EFI/ubuntu/shimx64.efi file !

    How do i go about this?When i boot ubuntu there are several options:



    If i choose the EFI menus I get into some text mode UI where they ask about a key for the boot, but I dont know what or where to choose the file.
    ALmost done !
    Last edited by mikee2; January 16th, 2016 at 01:06 AM.

  5. #5
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: cant boot off of clone.

    Yes, Clonezilla will only clone a partition to a target partition that is the same size or larger (which makes sense). There is other software I think that doesn't have this limitation (perhaps fsarchiver is one of them).

    You have marked this thread as solved. If this is the case, protocol here is to share with the community your fix to help others, so please do.

  6. #6
    Join Date
    Mar 2014
    Beans
    32

    Re: cant boot off of clone.

    ok thank you, I still need to figure the rest out, but I guess thats a new thread. How do I share this then?

  7. #7
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: cant boot off of clone.

    Sorry. My mistake. You re-installed grub. Yes, UEFI questions about this probably better on a new thread as you can now boot cloned OS. Good luck.

Tags for this Thread

Bookmarks

Posting Permissions

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