Commit graph

14 commits

Author SHA1 Message Date
Anders Ingemann
851389da09 Rely on $PATH to resolve commands. Fixes #12 2014-02-27 23:03:23 +01:00
Anders Ingemann
6e145f6aca Introduce format_command. Fixes #7 2014-02-27 23:02:58 +01:00
Anders Ingemann
01208c61b5 Subtract gpt_offset from first real partition
... and not from grub_boot
2014-02-03 17:25:50 +01:00
Anders Ingemann
e20c7f9391 The grub partition for GPT only needs 1007KiB 2014-01-19 13:21:35 +01:00
Anders Ingemann
a840dc28f3 MBR-gap, grub and GPT offset are now subtracted
automatically from the first available partition.
There is no need to fiddle with sizes while keeping the offsets in mind any longer.
Introduced Bytes() class which makes it a lot easier to handle size units.
2014-01-19 13:21:35 +01:00
Anders Ingemann
3c39ac6734 Minor changes to GPT and grub support 2014-01-19 10:46:59 +01:00
Anders Ingemann
328b971289 GPT support for both extlinux and grub 2014-01-19 01:02:29 +01:00
Anders Ingemann
8b5bc77650 Fallback values in a prettier way 2014-01-05 02:25:29 +01:00
Anders Ingemann
637f49904a Move swap partition before root 2013-12-14 23:18:40 +01:00
Anders Ingemann
0fdcc2e27b Fix bug when no boot partition is specified 2013-10-27 18:11:58 +01:00
Anders Ingemann
6ddd8809a3 Partitioning fixes 2013-10-27 18:11:55 +01:00
Anders Ingemann
3c32310346 Remove mountpoints from partitions 2013-10-27 18:11:54 +01:00
Anders Ingemann
ecdc255752 Simplify FSM framework. Only model relevant states 2013-10-27 18:11:53 +01:00
Anders Ingemann
d6502089e2 Implemented both MBR and GPT partitioning.
VirtualBox seems to not like GPT
2013-10-27 18:11:14 +01:00