From 599fc3a0b2e0b5ad9ff1c2af9218adcbd6ae6ac9 Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Mon, 26 Apr 1999 17:18:18 +0000 Subject: we start counting partitions at 0 in balkan, so add one to the number to get the proper device --- text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text.py') diff --git a/text.py b/text.py index c4e9cefec..01f3c3351 100644 --- a/text.py +++ b/text.py @@ -9,7 +9,7 @@ partList = [] for i in range(0, len(table) - 1): (type, start, size) = table[i] if (type == 0x83 and size): - fullName = '/dev/%s%d' % (device, i) + fullName = '/dev/%s%d' % (device, i + 1) partList.append((fullName, fullName)) rc = ListboxChoiceWindow(screen, 'Root Partition', 'What partition would you ' -- cgit