[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using a master grub2 in UEFI
From: |
Andrei Borzenkov |
Subject: |
Re: Using a master grub2 in UEFI |
Date: |
Sun, 29 Mar 2015 15:57:36 +0300 |
В Sun, 29 Mar 2015 15:54:06 +0300
Andrei Borzenkov <address@hidden> пишет:
> В Sun, 29 Mar 2015 11:36:33 +0100
> Barry Jackson <address@hidden> пишет:
>
> > On 29/03/15 09:24, Andrei Borzenkov wrote:
> > > В Sat, 28 Mar 2015 23:27:23 +0000
> > > Barry Jackson <address@hidden> пишет:
> >
> > >> How can I stop this happening?
> > >>
> > >
> > > Currently you can't. Drop a mail to grub-devel with good use case for
> > > it. Workaround is to use --efidir=/tmp (or any other directory).
> > >
> > Thanks Andrei,
> > I tried various directories but all error:
> >
> > address@hidden baz]# grub2-install --efi-directory=/tmp
> > Installing for x86_64-efi platform.
> > grub2-install: error: failed to get canonical path of `tmpfs'.
> >
> > address@hidden baz]# grub2-install --efi-directory=/dev/null
> > Installing for x86_64-efi platform.
> > grub2-install: error: failed to get canonical path of `devtmpfs'.
> >
>
> Yes, that's right, it does not like pseudo filesystems.
>
> > address@hidden baz]# grub2-install --efi-directory=/home/baz
> > Installing for x86_64-efi platform.
> > grub2-install: error: /home/baz doesn't look like an EFI partition.
> >
>
> Indeed, it insists that efidir must be on FAT. Sorry, no idea short of
> faking FAT partition, may be via loop.
>
Just use different EFI directory
grub-install --bootloader-id=tmp
It will install under \EFI\tmp instead of under your OS subdir.