[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Replacement for search_fsuuid in grub-signed for UEFI Secure Boot
From: |
Andrei Borzenkov |
Subject: |
Re: Replacement for search_fsuuid in grub-signed for UEFI Secure Boot |
Date: |
Fri, 4 Dec 2015 08:53:16 +0300 |
On Fri, Dec 4, 2015 at 7:27 AM, Mat Troi <address@hidden> wrote:
> I am building the signed grub myself. I guess the question is how to search
> for the root device without using uuid? I tried search.fs_label grub root
> and the system returns error: no such device: grub.
>
Well, you can find only what is available. As you do not provide any
information about your environment and configuration I can only guess
that no filesystem accessible to GRUB has label "grub".
If not UUID, you can search by label or can search for specific file
name. That is what grub-install does anyway if UUIDs are not reliable
- it creates file with unique name and searches for it.
Or you can simply hardcode partition number.
But I guess all above was already known, in which case you are better
ask real question you want to know :)
>
> On Thursday, December 3, 2015, Andrei Borzenkov <address@hidden> wrote:
>>
>> 03.12.2015 22:59, Mat Troi пишет:
>> > Hi,
>> >
>> > If using sign grub for Secure Boot, I cannot use search_fsuuid in the
>> > configuration for grub as the uuid is different. Is there a way to
>> > write a
>> > configuration that will let me find the current UEFI boot and set that
>> > as
>> > root? Or is there a way to set root not using search_fsuuid?
>> >
>>
>> It is really the question to your distribution - what it put into signed
>> GRUB image. But those distributions I am aware of include `search'
>> command ...
- Replacement for search_fsuuid in grub-signed for UEFI Secure Boot, Mat Troi, 2015/12/03
- Re: Replacement for search_fsuuid in grub-signed for UEFI Secure Boot, Andrei Borzenkov, 2015/12/03
- Re: Replacement for search_fsuuid in grub-signed for UEFI Secure Boot, Mat Troi, 2015/12/03
- Re: Replacement for search_fsuuid in grub-signed for UEFI Secure Boot,
Andrei Borzenkov <=
- Replacement for search_fsuuid in grub-signed for UEFI Secure Boot, Mat Troi, 2015/12/04
- Re: Replacement for search_fsuuid in grub-signed for UEFI Secure Boot, Andrei Borzenkov, 2015/12/05
- Re: Replacement for search_fsuuid in grub-signed for UEFI Secure Boot, Mat Troi, 2015/12/05
- Re: Replacement for search_fsuuid in grub-signed for UEFI Secure Boot, Andrei Borzenkov, 2015/12/05
- Re: Replacement for search_fsuuid in grub-signed for UEFI Secure Boot, Mat Troi, 2015/12/05
- Re: Replacement for search_fsuuid in grub-signed for UEFI Secure Boot, Andrei Borzenkov, 2015/12/05