diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-07-25 20:44:25 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-07-25 20:44:25 +0000 |
commit | a7d275514b1236319724b93841fa5e02744884b3 (patch) | |
tree | 848a213ffab451ccd97970c7619c0626b0ee473b /bootloader.py | |
parent | d6be8854260eacc12b57b6b4e39c9f4b54af2f78 (diff) | |
download | anaconda-a7d275514b1236319724b93841fa5e02744884b3.tar.gz anaconda-a7d275514b1236319724b93841fa5e02744884b3.tar.xz anaconda-a7d275514b1236319724b93841fa5e02744884b3.zip |
dual boots with nt
Diffstat (limited to 'bootloader.py')
-rw-r--r-- | bootloader.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bootloader.py b/bootloader.py index 0af407498..ca5c6e229 100644 --- a/bootloader.py +++ b/bootloader.py @@ -220,6 +220,8 @@ class bootloaderInfo: lilo.addImage (sl) for (label, longlabel, device) in chainList: + if ((not label) or (label == "")): + continue try: (fsType, sl) = lilo.getImage(label) lilo.delImage(label) @@ -432,6 +434,8 @@ class x86BootloaderInfo(bootloaderInfo): f.write('\tinitrd %sinitrd%s.img\n' % (cfPath, kernelTag)) for (label, longlabel, device) in chainList: + if ((not longlabel) or (longlabel == "")): + continue f.write('title %s\n' % (longlabel)) f.write('\trootnoverify %s\n' % grubbyPartitionName(device)) f.write('\tmakeactive\n') |