It's a preseeded Ubuntu 14.04 with grub2. So at the end, it performs
'grub-install /dev/sda' I presume.

On Fri, Jun 3, 2016 at 12:30 PM, Andrei Borzenkov <[email protected]>
wrote:

> On Fri, Jun 3, 2016 at 12:38 PM, Simon Wydooghe
> <[email protected]> wrote:
> > Cheers Andrei, that works perfectly! Never would have found out about the
> > regexp command I think.
> >
> > To answer your question why I don't want to alter the bootloader
> location:
> > these USB sticks get autoprovisioned by Foreman using preseed and I
> prefer
> > to not tweak the preseed too much. Also, I want the USB sticks to be
> > bootable when they are not chainloaded, which I suppose would not be the
> > case if I were to write the bootcode to a partition instead of a device?
> I
> > might be wrong there...
> >
>
> Traditional MBR code does nothing more than chainloading bootloader
> from partition, so of course it would boot as well. I won't be
> surprised if this is already the case, what are you using as
> bootloader on these sticks?
>
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to