summaryrefslogtreecommitdiffstats
path: root/floppy.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-05-24 03:39:24 +0000
committerMike Fulbright <msf@redhat.com>2002-05-24 03:39:24 +0000
commit04755dbbda94f11e79bc5a8915af5b0b353018f2 (patch)
treee011eadd38e963c94c33a8d7c6920e1d69ff3504 /floppy.py
parenta10b9568435afb13a45a1cf06e911d9dfd366def (diff)
downloadanaconda-04755dbbda94f11e79bc5a8915af5b0b353018f2.tar.gz
anaconda-04755dbbda94f11e79bc5a8915af5b0b353018f2.tar.xz
anaconda-04755dbbda94f11e79bc5a8915af5b0b353018f2.zip
add message prompting user to insert a floppy to be the boot disk
Diffstat (limited to 'floppy.py')
-rw-r--r--floppy.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/floppy.py b/floppy.py
index 5563d0160..6abf1cc23 100644
--- a/floppy.py
+++ b/floppy.py
@@ -53,6 +53,12 @@ def makeBootdisk (intf, floppyDevice, hdList, instPath, bootloader):
if flags.test:
return DISPATCH_NOOP
+ intf.messageWindow( _("Insert a floppy disk"),
+ _("Please remove any diskettes from the floppy "
+ "drive, and insert the floppy diskette that "
+ "is to contain the boot disk.\n\nAll data will "
+ "be ERASED during creation of the boot disk."))
+
# this is faster then waiting on mkbootdisk to fail
device = floppyDevice
file = "/tmp/floppy"
@@ -62,7 +68,7 @@ def makeBootdisk (intf, floppyDevice, hdList, instPath, bootloader):
except:
intf.messageWindow( _("Error"),
_("An error occured while making the boot disk. "
- "Please make sure that there is a formatted floppy "
+ "Please make sure that there is a floppy "
"in the first floppy drive."))
return DISPATCH_BACK
os.close(fd)
@@ -91,7 +97,7 @@ def makeBootdisk (intf, floppyDevice, hdList, instPath, bootloader):
if rc:
intf.messageWindow( _("Error"),
_("An error occured while making the boot disk. "
- "Please make sure that there is a formatted floppy "
+ "Please make sure that there is a floppy "
"in the first floppy drive."))
return DISPATCH_BACK
return DISPATCH_FORWARD