fix if statement, try reqpart again
This commit is contained in:
parent
702f2b287a
commit
e98172978e
@ -17,12 +17,12 @@ rootpw --iscrypted thereisnopasswordanditslocked
|
||||
# Partition stuff
|
||||
zerombr
|
||||
clearpart --all --initlabel --disklabel=gpt
|
||||
#reqpart
|
||||
reqpart
|
||||
# This should allow BIOS, UEFI, and PReP booting. Trying to be as universal as
|
||||
# possible. This is a similar setup to Fedora without the btrfs.
|
||||
part prepboot --size=4 --fstype=prepboot
|
||||
part biosboot --size=1 --fstype=biosboot
|
||||
part /boot/efi --size=100 --fstype=efi
|
||||
#part prepboot --size=4 --fstype=prepboot
|
||||
#part biosboot --size=1 --fstype=biosboot
|
||||
#part /boot/efi --size=100 --fstype=efi
|
||||
part / --size=8000 --fstype="xfs" --mkfsoptions "-m bigtime=0,inobtcount=0"
|
||||
shutdown
|
||||
|
||||
@ -88,7 +88,7 @@ passwd -d root
|
||||
passwd -l root
|
||||
|
||||
# Attempting to force legacy BIOS boot if we boot from UEFI
|
||||
if [ "$(arch)" = "x86_64" ];
|
||||
if [ "$(arch)" = "x86_64" ]; then
|
||||
grub2-install --target=i386-pc /dev/vda
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user