help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding the root device of a labeled partition


From: Simon Wydooghe
Subject: Re: Finding the root device of a labeled partition
Date: Fri, 3 Jun 2016 14:10:25 +0200

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 <address@hidden>
wrote:

> On Fri, Jun 3, 2016 at 12:38 PM, Simon Wydooghe
> <address@hidden> 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?
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]