Is UEFI/GPT difficult

User discussion and information resource forum for BootIt Bare Metal and BootIt UEFI
AGH1965
Posts: 85
Joined: Sat Jul 09, 2016 1:36 pm
Location: Netherlands

Re: Is UEFI/GPT difficult

Post by AGH1965 »

TeraByte Support wrote:
> If you copy a single partition over an existing one using disk imaging,
> it will attempt to use the existing guid unless you force a change of
> guids.

Today I tried to do exactly what you wrote above. First I created 2 partitions named TEST1 and TEST2. Then I wrote down both GUIDs. Then I used the copy function of Disk Imaging to copy TEST 2 over TEST1. The result was that the disk contained 2 partitions named TEST2, but the one that replaced TEST1 did not have the old GUID of TEST1, neither did it have the GUID of TEST2. So I don't see how I can combine the content of one partition with the GUID of another by using the copy function of Disk Imaging.
TeraByte Support
Posts: 3613
Joined: Thu May 05, 2011 10:37 pm

Re: Is UEFI/GPT difficult

Post by TeraByte Support »

Are you using traditional mode? Presume so since otherwise it would
copy entire drive. Did you use the change disk id and guids option?
That should be disabled. Email the .log file created to support.

On 1/3/2020 9:41 AM, AGH1965 wrote:
> TeraByte Support wrote:
>> If you copy a single partition over an existing one using disk imaging,
>> it will attempt to use the existing guid unless you force a change of
>> guids.
>
> Today I tried to do exactly what you wrote above. First I created 2 partitions named TEST1 and TEST2. Then I wrote down both GUIDs. Then I used the copy function of Disk Imaging to copy TEST 2 over TEST1. The result was that the disk contained 2 partitions named TEST2, but the one that replaced TEST1 did not have the old GUID of TEST1, neither did it have the GUID of TEST2. So I don't see how I can combine the content of one partition with the GUID of another by using the copy function of Disk Imaging.
>
>

AGH1965
Posts: 85
Joined: Sat Jul 09, 2016 1:36 pm
Location: Netherlands

Re: Is UEFI/GPT difficult

Post by AGH1965 »

TeraByte Support wrote:
> Are you using traditional mode? Presume so since otherwise it would
> copy entire drive.

Traditional mode? Copy entire drive? I'm sorrry, but I don't understand what you mean. I did exactly what you wrote earlier:

TeraByte Support wrote:
> If you copy a single partition over an existing one using disk imaging,
> it will attempt to use the existing guid unless you force a change of
> guids.

It appears that the "Change GUID" setting is not important at all, because regardless of the setting, always a new GUID is created when Disk Imaging (ImageForUEFI) is used to copy one partition over another.

TeraByte Support wrote:
> Email the .log file created to support.

Sorry, but I don't know how to do this. I can read the ifu.log file when in BIU, but how can I copy the file to a NTFS partition? I already made an image from the EFI system partition and then tried to open it with TBIView, but apparently that is not possible.
Brian K
Posts: 2221
Joined: Fri Aug 12, 2011 1:11 am
Location: NSW, Australia

Re: Is UEFI/GPT difficult

Post by Brian K »

AGH1965 wrote:

> Sorry, but I don't know how to do this. I can read the ifu.log file when in BIU, but
> how can I copy the file to a NTFS partition? I already made an image from the EFI
> system partition and then tried to open it with TBIView, but apparently that is not
> possible.

AGH1965,

Double click the TBI file and it opens in TBIView
EFI System Partition
EFI\BootIt

Drag ifu.log onto the desktop.
AGH1965
Posts: 85
Joined: Sat Jul 09, 2016 1:36 pm
Location: Netherlands

Re: Is UEFI/GPT difficult

Post by AGH1965 »

Brian K wrote:
> Double click the TBI file and it opens in TBIView

Thanks Brian, that is what I did, but apparently the image was corrupted. :(
AGH1965
Posts: 85
Joined: Sat Jul 09, 2016 1:36 pm
Location: Netherlands

Re: Is UEFI/GPT difficult

Post by AGH1965 »

TeraByte Support wrote:
> If you copy a single partition over an existing one using disk imaging,
> it will attempt to use the existing guid unless you force a change of
> guids.

Below you see the section of ifu.log regarding copying partition TEST2 over TEST1. My intention was to get a partition with the GUID of (the original) TEST1 and the contents of TEST2, but instead I get a second partition named TEST2 with a new GUID and the contents of the original TEST2.

[01/04/2020 01:28:43 PM] Image for UEFI (GUI) 3.34
[01/04/2020 01:28:43 PM] Starting ...
IMAGEU.EFI /copy /sd:0@0x5 /td:0@0x4 /nvn:""
[01/04/2020 01:28:43 PM] Copying: Drive 0 TEST2 Partition (05) 50 MiB NTFS
[01/04/2020 01:28:43 PM] To: Drive 0 TEST1 Partition (04) 50 MiB NTFS
[01/04/2020 01:28:44 PM] INFO: Total Sectors:102400 Total Allocated:15959
[01/04/2020 01:28:44 PM] INFO: 15959 Sector(s) copied
[01/04/2020 01:28:44 PM] Time Elapsed: 0:00:00:01
[01/04/2020 01:28:44 PM] Operation Completed with Error Code 0
[01/04/2020 01:28:46 PM] Stop
TeraByte Support
Posts: 3613
Joined: Thu May 05, 2011 10:37 pm

Re: Is UEFI/GPT difficult

Post by TeraByte Support »

Actually I was thinking of the /embrid:0 but the next version will have
an option for using target guid.

On 1/6/2020 10:50 AM, AGH1965 wrote:
> TeraByte Support wrote:
>> If you copy a single partition over an existing one using disk imaging,
>> it will attempt to use the existing guid unless you force a change of
>> guids.
>
AGH1965
Posts: 85
Joined: Sat Jul 09, 2016 1:36 pm
Location: Netherlands

Re: Is UEFI/GPT difficult

Post by AGH1965 »

TeraByte Support wrote:
> the next version will have an option for using target guid.

That is fantastic news! Thanks.
AGH1965
Posts: 85
Joined: Sat Jul 09, 2016 1:36 pm
Location: Netherlands

Re: Is UEFI/GPT difficult

Post by AGH1965 »

TeraByte Support wrote:
> the next version will have an option for using target guid.

I upgraded to BIU 1.16 because I saw that the included Image for UEFI 3.37 would have this option. Unfortunately I can't find the option in the list of options that are currently selectable in the GUI of Image for UEFI 3.37. Is this a command line option only?
TeraByte Support
Posts: 3613
Joined: Thu May 05, 2011 10:37 pm

Re: Is UEFI/GPT difficult

Post by TeraByte Support »

Hello,

It's the new option:
Added /utg (UseTargetGUID) option to reuse overwritten partitions GUID.

So you can add UseTargetGUID=1 to the .ini file under the [options]

On 1/26/2020 5:29 AM, AGH1965 wrote:
> TeraByte Support wrote:
>> the next version will have an option for using target guid.
>
> I upgraded to BIU 1.16 because I saw that the included Image for UEFI 3.37 would have this option. Unfortunately I can't find the option in the list of options that are currently selectable in the GUI of Image for UEFI 3.37. Is this a command line option only?
>
>

Post Reply