What is exact grub2 stuff size beyond mbr?
I wonder how many bytes grub2 puts into my hdd starting from MBR.
I found information, that core.img file is put after MBR (at 512 offset).
I found another information that kernel.img file is one of components of core.img.
But how can both be true if my kernel.img file is significally larger than core.img?
I'm asking because I use (with help of grub2tc) dual boot with truecrypted windows7 and truecrypt uses sector 63 (counting from 1) for it's volume header data. Grub2 overwrote this sector and I would like to get known if this area is realy used by it and if it is safe to re-overvrite it again with truecrypt original sector as described here:
I would be most surprised if grub2 uses sectors that far away from the MBR. But it might zero them - I have 20 sectors of zeroes from sector 40.
Should be safe enough to put the tc header back.
core.img would likely just locate kernel.img, not include it, although I haven't checked the code.
I looked into my dumped grub_mbr file and there is a lot of non-zero data at last kilobytes.
I put my tc header to sector 63 and everything looks to work properly but I'm still not sure if I can be sure :)
BTW: my core.img has about 26kB
|All times are GMT -5. The time now is 08:59 AM.|