diff options
Diffstat (limited to 'bootloader.py')
-rw-r--r-- | bootloader.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bootloader.py b/bootloader.py index 1287fa171..ec128fe38 100644 --- a/bootloader.py +++ b/bootloader.py @@ -539,12 +539,15 @@ def availableBootDevices(diskSet, fsset): for (dev, type) in diskSet.partitionTypes(): # XXX do we boot fat on anything other than i386? if type == 'FAT' and not foundDos and iutil.getArch() == "i386": - foundDos = 1 isys.makeDevInode(dev, '/tmp/' + dev) + part = get_partition_by_name(diskset, dev) + if part.native_type not in dosPartitionTypes: + continue try: bootable = isys.checkBoot('/tmp/' + dev) devs.append((dev, type)) + foundDos = 1 except: pass elif type == 'ntfs' or type =='hpfs': |