diff options
author | Mike Fulbright <msf@redhat.com> | 2001-01-09 17:51:13 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-01-09 17:51:13 +0000 |
commit | e9900a35878dba46a8c6e82dd481ba0f60ad62dd (patch) | |
tree | f4d717e2cdee4cb80ea91d9dabffe8868287061a /textw | |
parent | 97db4bcdc67dc88b3db4405d868f6d97f9a1b276 (diff) | |
download | anaconda-e9900a35878dba46a8c6e82dd481ba0f60ad62dd.tar.gz anaconda-e9900a35878dba46a8c6e82dd481ba0f60ad62dd.tar.xz anaconda-e9900a35878dba46a8c6e82dd481ba0f60ad62dd.zip |
slight changes to lba32warning
Diffstat (limited to 'textw')
-rw-r--r-- | textw/partitioning_text.py | 37 |
1 files changed, 26 insertions, 11 deletions
diff --git a/textw/partitioning_text.py b/textw/partitioning_text.py index e0230b367..8a341102f 100644 --- a/textw/partitioning_text.py +++ b/textw/partitioning_text.py @@ -351,25 +351,40 @@ class LBA32WarningWindow: if iutil.getArch() != "i386": return INSTALL_NOOP - ButtonChoiceWindow(screen, "", "%s" % todo.fstab.getBootPartitionMaxCyl(), - buttons = [ _("OK") ]) - - if todo.fstab.getBootPartitionMaxCyl() > 1023 and not todo.fstab.edd: - rc = ButtonChoiceWindow(screen, _("Boot Partition Warning"), - _("You have put the partition containing the kernel (the " + if todo.fstab.getBootPartitionMaxCyl() > 1023: + if not todo.fstab.edd: + rc = ButtonChoiceWindow(screen, _("Boot Partition Warning"), + _("You have put the partition containing the kernel (the " "boot partition) above the 1023 cylinder limit, and " "it appears that this systems BIOS does not support " "booting from above this limit. Proceeding will " "most likely make the system unable to reboot into " "Linux.\n\n" + "If you choose to proceed, it is HIGHLY recommended " + "you make a boot floppy when asked. This will " + "guarantee you have a way to boot into the system " + "after installation.\n\n" "Are you sure you want to proceed?"), - [ (_("Yes"), "yes") , (_("No"), "no") ], width = 50, - help = "lba32warning") + [ (_("Yes"), "yes") , (_("No"), "no") ], width = 50, + help = "lba32warning") - if rc == "no": - return INSTALL_BACK + if rc == "no": + return INSTALL_BACK + else: + return INSTALL_OK else: - return INSTALL_OK + rc = ButtonChoiceWindow(screen, _("Boot Partition Warning"), + _("You have put the partition containing the kernel (the " + "boot partition) above the 1023 cylinder limit. " + "It appears that this systems BIOS supports " + "booting from above this limit. \n\n" + "It is HIGHLY recommended you make a boot floppy when " + "asked by the installer, as this is a new feature in " + "recent motherboards and is not always reliable. " + "Making a boot disk will guarantee you can boot " + "your system once installed."), + [ (_("Ok"), "ok") ], width = 50, + help = "lba32warning") else: return INSTALL_NOOP |