From 8211bf1044085f646de800b2680331d1450ff6d5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 4 Jul 2001 18:45:18 +0000 Subject: verify a /boot/efi partition exists --- perl-install/install_steps.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/install_steps.pm') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 2725f4934..305374e95 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -152,6 +152,10 @@ sub doPartitionDisksAfter { $o->{fstab} = [ fsedit::get_fstab(@{$o->{hds}}, @{$o->{lvms}}, $o->{raid}) ]; fsedit::get_root_($o->{fstab}) or die "Oops, no root partition"; + if (arch() =~ /ia64/ && !fsedit::has_mntpoint("/boot/efi", $o->{hds}) { + die _("You must have a FAT partition mounted in /boot/efi"); + } + if ($o->{partitioning}{use_existing_root}) { #- ensure those partitions are mounted so that they are not proposed in choosePartitionsToFormat fs::mount_part($_, $o->{prefix}) foreach grep { $_->{mntpoint} && !$_->{notFormatted} } @{$o->{fstab}}; -- cgit v1.2.1