diff options
author | Mike Fulbright <msf@redhat.com> | 2002-02-01 05:22:02 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-02-01 05:22:02 +0000 |
commit | 89a60c932f4defaaf565a13cf11cda8233f917c0 (patch) | |
tree | 8d82629cb37b27056541189254064f26ce0d8e43 /partitioning.py | |
parent | 6c9b4a6f6c4fe7add748a916ecfd41127c1b3b12 (diff) | |
download | anaconda-89a60c932f4defaaf565a13cf11cda8233f917c0.tar.gz anaconda-89a60c932f4defaaf565a13cf11cda8233f917c0.tar.xz anaconda-89a60c932f4defaaf565a13cf11cda8233f917c0.zip |
dont reuse mount points, and you cant boot off LV
Diffstat (limited to 'partitioning.py')
-rw-r--r-- | partitioning.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/partitioning.py b/partitioning.py index 498b862f1..160fc5f34 100644 --- a/partitioning.py +++ b/partitioning.py @@ -665,7 +665,10 @@ def sanityCheckAllRequests(requests, diskset, baseChecks = 0): if (bootreq and (bootreq.type == REQUEST_RAID) and (not isRaid1(bootreq.raidlevel))): errors.append(_("Bootable partitions can only be on RAID1 devices.")) - + + # can't have bootable partition on LV + if (bootreq and (bootreq.type == REQUEST_LV)): + errors.append(_("Bootable partitions can not be on a logical volume.")) if foundSwap == 0: warnings.append(_("You have not specified a swap partition. Although not strictly required in all cases, it will significantly improve performance for most installations.")) |