Menu

Cloning and Restoring Win8.1 in UEFI mode

Help
2016-01-08
2016-01-11
  • Jack Denver

    Jack Denver - 2016-01-08

    Hi All,

    I am am trying to clone and restore Win8.1 Pro x64 with clonezilla. The disk to image clone is working flawlessly (getting the success message in the terminal). After that I restore the image onto a brand new SSD.

    During restoration clonezilla is displaying messages which say

    .
    Running: update-efi-nvram-boot-entry -r /home/partimag/GENRERICWIN81PRO64/efi-nvram.dat /dev/sda
    Updating boot entry of EFI NVRAM...
    EFI system partition: /dev/sda2
    The EFI system partition UUID 7bf7965c-8841-4225-9066-ed6d08a66846 in EFI NVRAM does NOT match the one on partition /dev/sda2. UUID of /dev/sda2 is:
    Removing the stale boot entry 0002 by command:
    efibootmgr -B -b 0002
    BootCurrent: 0006
    Timeout: 2 seconds
    BootOrder: 0000,0001,0003,0004,0005,0006
    Boot0000 Diskette Drive
    Boot0001 P3: SanDisk SD7SN3Q064G
    Boot0003 USB Storage Device
    Boot0004 CD/DVD/CD-RW Drive
    Boot0005 Onboard NIC
    Boot0006 UEFI: INT13(USB,0x80)
    BootFFFA Internal Shell
    BootFFFB Diagnostic Boot
    BootFFFC Temporary Boot Menu
    BootFFFD Graphic Setup
    BootFFFE Text Setup
    .
    EFI boot file "\EFI\Boot\bootx64.efi" in partition /dev/sda2 was found.
    Updating the boot entry 0002 by command:
    efibootmgr -c -d /dev/sda -p 2 -L "Windows Boot Manager" -l "\EFI\Boot\bootx64.efi"
    Warning: Disk has a valid GPT signature but invalid PMBR.
    Assuming this disk is not a GPT disk anymore.
    Use gpt kernel option to override. Use GNU Parted to correct disk.
    Error: no partition information on disk /dev/sda.
    Cowardly refusing to create a boot option.
    .
    Setting network boot in the 1st order of uEFI NVRAM...
    End of restoreparts job for image GENRERICWIN81PRO64.
    End of restoredisk job for image GENRERICWIN81PRO64.*


    During the restore NO boot entry is created and as a result windows fails to boot

    I have tried creating the windows install using both GPT and MBR for UEFI and while restoring both of them get the same message.
    The version of clonezilla that I am using is 3.12.8-drbl1 and ubuntu 14.0.4.3
    I am not using Clonezilla Live. I am using ocs-sr and below are the commands that i use for cloning and restoring

    FOR CLONING
    /usr/sbin/ocs-sr -q -c -j2 -nogui -ntfs-ok -z1p -i 20000000 -sc -p true savedisk IMAGE_NAME sda

    FOR RESTORING
    /usr/sbin/ocs-sr -g auto -e1 auto -e2 -nogui -k1 -v -r -icrc -icds -j2 -p true restoredisk IMAGE_NAME sda

    What do you think the problem is?
    Thanks for your help in advance

     

    Last edit: Jack Denver 2016-01-08
  • Jack Denver

    Jack Denver - 2016-01-08

    Regarding the log in the post above, Even when I install WIN8.1 with MBR for UEFI, while restoring the image, clonezilla mentions that "Warning: Disk has a valid GPT signature but invalid PMBR."
    even though the image should not have a GPT signature

     
  • Steven Shiau

    Steven Shiau - 2016-01-11

    Clonezilla is confused by the GPT and MBR in the same disk. You can use gdisk to clean that. Just keep the one you want.
    //NOTE// Use gdisk carefully, and backup important data before you use Clonezilla. Just in case.

    Steven.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.