aboutsummaryrefslogtreecommitdiff
path: root/projects/grub/configs/bios/size
Commit message (Collapse)AuthorAgeFilesLines
* Refactor SeaGRUB floppy creation codeAndrew Robbins2018-12-251-1/+1
| | | | | | | | | | | | | | | | | | | Related issue #553 Previously, the GRUB boot image and core image were concatenated together and padding added to create a (pseudo) floppy image. However, testing revealed that GRUB has issues dynamically loading modules from $prefix if $prefix is not located on the same device from which GRUB booted. In order to get around this issue, a proper 2.88MiB floppy image is created using mkfs.fat with GRUB modules copied to directories on the filesystem (i.e, /boot/grub/i386-pc). The 2.88MiB filesystem size is necessary to be able to fit all modules onto the image. New functions added to grub-helper: * grub_floppy_image_mmd (create directories on image using mtools mmd) * grub_floppy_image_mcopy (copy files to image using mtools mcopy)
* Add configuration files to GRUB BIOS target dirAndrew Robbins2017-08-291-0/+1
The purpose of each new file is as follows: * arch -- CPU architecture to target when building images * config -- embedded GRUB configuration * format -- GRUB output format * platform -- the platform GRUB should build images for * prefix -- where GRUB should search for modules by default * size -- the size of the floppy image to produce, in KiB