Closed fabianbuettner closed 2 years ago
When using GPT then there is a header in sector 2 and more or less a copy of it (the 'Alt. header' from the message) in the last sector of the disk.
genimage does no know the exact size of your disk. So it used whatever size you give it and puts the 'Alt. header' at the very end.
Here you specified 4000M. In sectors that's 8192000 sectors. Counting usually starts at zero, so the last sector number is 8191999. So that's what you see in the message above.
Your device however is ~7G in size, so the kernel expects the 'Alt. header' at a different place. That's what the message is about.
So what you can do is:
There is nothing more that genimage can do here. There is no real live autoresize feature for GPT.
Thank you for the explanation.
Setting the correct size helped me getting rid of this message.
Hi, thanks for this great tool! When booting the image, I created with genimage, I get the following warnings and I don't know how to get rid of them:
The genimage.cfg looks like this:
Any feedback on this issue is appreciated! best regards, Fabian