Error trying to restore GTP partition tables (restorePartitionsTablesAndBootLoaders)
-
@stormbyte building init’s with chunksize 512 if sector starts at 8, I don’t know if it will work (probably won’t) but if you still have the system you uploaded this with, please try putting it into an upload debug task (Create the task like you normally would, but in the confirmation screen select schedule as debug).
-
@stormbyte init’s are reuploaded, please rerun the installer to get them with the “fresh” changes.
-
@Tom-Elliott OK I do this from now. Just give you a feedback in some minutes.
-
@Tom-Elliott GIT PULL is showing ‘already up-to-date’ … do I need to wait some time before being able to catch your modifications? It seems there’s no modification of code (I already GIT PULL an hour ago to solve the GPT/MBR error). Thanks to tell me please how to proceed to force GIT PULL to catch your latest changes.
-
@stormbyte I didn’t push to git. Just rerun the installer.
-
@Tom-Elliott ok sorry result in 2mn
-
@Tom-Elliott unfortunately, same problem same error during partclone… what’s the next step?!?
-
@stormbyte Can you put the system you uploaded from back into upload but with debug?
-
@Tom-Elliott of course Tom, I’ve launched the station with debug mode. What command I should enter then on the workstation?
-
@stormbyte run:
blockdev --getpbsz /dev/sda1
-
@Tom-Elliott answer: 512
-
@stormbyte Okay, so that is added, but i got many things to do this weekend. I’ll likely not be able to get to this until next week if this is okay.
I have added the code to make the sector size use 512, so it should work.
-
@Tom-Elliott no problem Tom, there’s a life outside FOG world! please just tell me when you will deliver a new release to solve this problem, and thanks again for your time. I’m ready to make new tests if you need. Kind regards
-
@stormbyte when you get a chance, can you please update again and let us know if things are the same or fixed? I’m fairly sure they’re not fixed, but I’m not certain either.
Another “trick” we could try is to add to the d1.fixed_size_partitions with a :1 to the end of the line in the file.
-
@Tom-Elliott Tom, I’ve updated but the problem is exactly the same … I’m ready to try your other suggestion!
-
@Tom-Elliott You’re the boss Tom I’ve added a :1 at the end of the d1.fixed_size_partitions and it’s working! Installation is OK, no problem for partition anymore.
BUT your solution is throwing an error just before the partclone (I didn’t catch it, it’s really fast on screen - if you need it I can record a video). Due to :1 … any chance to include this into a future FOG release or do I need to manually change my file for each capture?
Also, this solution is working for both resizable / not resizable captures ???
-
@stormbyte I don’t know.
I think the intent of the fixed_size_partitions is supposed to allow for a menu entry on the GUI, which just hasn’t made it yet.
We do some rather rigorous attempts to detect fixed_size_partitions autonomously though but it’s mainly dependent on size and old installs. For now, manually editing the file should do fine.
If you can capture the error (probably best if you do the install via Debug so you can have it pause before partclone begins) would be best.
Can you upload the d1.fixed_size_partitions file here so we can take a look? I think it’s just looking for the partition number but for whatever reason, my code isn’t expecting it.
-
@Tom-Elliott Error message is: "Attempting to expand/fill partitions…awk: /usr/share/fog/lib/procsfdisk.awk:280: fatal: cannot open file ‘1:’ for reading (No such file or directory)
By the way the d1.fixed_siez_partitions already have a 1: inside… I just added a new one that created the error message above and it’s working fine
Here is the d1.fixe_size_partitions used:
0_1455648147461_d1.fixed_size_partitions -
Just want to confirm I’m having the same issue as described in the OP.
Have created a new image in Fog web interface of type “single disk, resizable” and re-captured my base image. However on an attempt to image a machine I get the ‘error trying to restore GTP’ error.
Running Fog truck build 6303
Anything I can try as a workaround?
-
@mr626 What is the exact error