replace lilo with grub

This commit is contained in:
ed barz 2020-05-01 23:40:35 +02:00
parent a2e0855092
commit c764b67c5c
2 changed files with 9 additions and 3 deletions

View File

@ -65,6 +65,12 @@ cp-script:
lilo: set-fstab cp-script
$(call vinstall,lilo,perl)
chroot $(MNTDIR) lilo-conf-mkr.sh $(LBOOT)
chroot $(MNTDIR) lilo-conf-mkr.sh $(BOOTLDR)
metal: mnt-drive base lilo
grub:
$(call vinstall,grub)
mkdir $(MNTDIR)/boot/grub
chroot $(MNTDIR) grub-mkconfig -o /boot/grub/grub.cfg
chroot $(MNTDIR) grub-install $(BOOTLDR)
metal: mnt-drive base grub

View File

@ -3,7 +3,7 @@ VOID_REPO="https://alpha.de.repo.voidlinux.org/current"
VOID_ARCHIVE=void-fs.tar.bz2
DRIVE=/dev/sdb1
LBOOT=/dev/sdb
BOOTLDR=/dev/sdb
MNTDIR=/mnt