Skip to contentSkip to conversation

grub-mkimage

DISCUSSION Rev. Mr. Gary Meerschaert 2 participants 2 messages Mar 21, 2009 – Mar 23, 2009

lore
Share & tools
lore
#0 lore raw

I am getting an error from grub-mkimage. The error is:

grub-mkimage: error: diskboot.img is not one sector size

Does anyone know how I can get this fixed? I am a newbee with grub internals, and I don't have a clue as to ho to size the progam.

Thanks,

Gary Meerschaert

#1 lore raw
Quoted 6 lines · Rev. Mr. Gary Meerschaert

I am getting an error from grub-mkimage. The error is:

grub-mkimage: error: diskboot.img is not one sector size

Does anyone know how I can get this fixed? I am a newbee with grub internals, and I don't have a clue as to ho to size the progam.

First of all, please specify the version of GRUB. I suggest that you use the current code from Subversion. I cannot reproduce your problem with the current code.

Then check if the problem is in grub-mkimage or in diskboot.img. If diskboot.img is 512 bytes long, then grub-mkimage is wrong. If diskboot.img is not 512 bytes long, then the problem is in diskboot.img.

In any case, please describe your environment, such as the compiler version, the arguments to the configure script and whatever else may be needed for others to reproduce your problem.

Signature · 2 lines
Regards,
Pavel Roskin