summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bootloader.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootloader.py b/bootloader.py
index 6fb573409..cd396714c 100644
--- a/bootloader.py
+++ b/bootloader.py
@@ -486,7 +486,8 @@ def availableBootDevices(diskSet, fsset):
elif type == 'ntfs' or type =='hpfs':
devs.append((dev, type))
- devs.append((fsset.getEntryByMountPoint('/').device.getDevice(), 'ext2'))
+ slash = fsset.getEntryByMountPoint('/')
+ devs.append((slash.device.getDevice(), slash.fsystem.getName()))
devs.sort()