Chris Alfonso e7a8fefa0b Use kpartx if partition device doesn't exist
If the loop partition isn't created as a device by the kernel, go ahead and use
kpartx to create the device.

Change-Id: I53290b7724d0cb45a1fc9225ec096025db8978dd
2013-08-20 13:27:49 -04:00
..

Sets up a partitioned disk (rather than building just one filesystem with no partition table).

The disk will have grub[2]-install run on it, and that assumes a functional grub[2] setup.