[CentOS] Installing grub in an img file

Sat Aug 3 12:48:18 UTC 2013
Nux! <nux at li.nux.ro>

On 03.08.2013 05:09, Kevin Peterson wrote:
> Hi,
> 
> I am trying to create a bootable img file for use as a virtual box
> disk. How can I install grub to make the img file bootable?
> 
> Thanks,
> Kevin Peterson

It might be simpler booting that image in virtualbox/kvm from a livecd 
and do the usual stuff from there (chroot, grub-install etc).

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro