blob: 6daa7602803760b421d4aa3075e9844015e3240d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
mkdir -p cdroot-pmmx/boot
if ! type grub-mkimage>/dev/null; then
printf "GRUB image cannot be created. Using stale copy.\n"
printf "If you don't have one, this will fail!\n"
else
printf '\033[01;32m * \033[37mInstalling GRUB...\033[00;39m\n'
grub-mkimage -c x86/early.cfg -v -p boot -o grubcore-stage1.img -O i386-pc biosdisk boot btrfs datetime disk ext2 gfxmenu help iso9660 jfs linux ls luks lvm memdisk nilfs2 normal part_gpt part_msdos png scsi search xfs reboot gfxterm gfxterm_background gfxterm_menu
cat /usr/lib/grub/i386-pc/cdboot.img grubcore-stage1.img > cdroot-pmmx/boot/grubcore.img
grub-mkimage -c x86/early.cfg -v -p boot -o cdroot-pmmx/boot/grubcore-efi.img -O i386-efi boot btrfs datetime disk ext2 gfxmenu help iso9660 jfs ls luks lvm memdisk nilfs2 normal part_gpt part_msdos png scsi search xfs linux reboot gfxterm gfxterm_background gfxterm_menu
fi
cp x86/grub.cfg cdroot-pmmx/boot/grub.cfg
|