Install grub to loop0 not loop0p1

This commit is contained in:
Anders Ingemann 2013-08-11 18:17:06 +02:00
parent 81a5069733
commit 04b879a53c

View file

@ -35,6 +35,6 @@ class ConfigureGrub(Task):
log_check_call(['/usr/sbin/chroot', info.root, 'update-initramfs', '-u']) log_check_call(['/usr/sbin/chroot', info.root, 'update-initramfs', '-u'])
log_check_call(['grub-install', log_check_call(['grub-install',
'--boot-directory='+info.root+"/boot/", '--boot-directory='+info.root+"/boot/",
info.bootstrap_device['partitions']['root_path']]) info.bootstrap_device['path']])
log_check_call(['/usr/sbin/chroot', info.root, '/usr/sbin/update-grub']) log_check_call(['/usr/sbin/chroot', info.root, '/usr/sbin/update-grub'])