[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error on installing grub in a UEFI xen guest: " File system `fat' do
From: |
Andrei Borzenkov |
Subject: |
Re: error on installing grub in a UEFI xen guest: " File system `fat' doesn't support embedding." & "embedding is not possible, but this is required for cross-disk install." ? |
Date: |
Tue, 23 Feb 2016 08:24:11 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
23.02.2016 04:25, address@hidden пишет:
> I've installed an Arch linux DomU with Grub
>
> In the Guest, my mounts are
>
> LABEL=EFI -> /boot/efi vfat, boot flag
> LABEL=BOOT -> /boot ext4
> LABEL=ROOT -> / ext4
> LABEL=SWAP -> swap swap
>
> My device map is
>
> cat /boot/grub/device.map
> (hd0) /dev/disk/by-label/EFI
> (hd1) /dev/disk/by-label/BOOT
> (hd2) /dev/disk/by-label/SWAP
> (hd3) /dev/disk/by-label/ROOT
>
> I installed the packages
>
> grub
> dosfstools
> efibootmgr
> os-prober
> mtools
>
> When I exec
>
> grub-install --boot-directory=/boot --efi-directory=/boot/efi
> /dev/disk/by-label/EFI
>
> it returns a warning & an error
> Installing for i386-pc platform.
>
> grub-install: warning: File system `fat' doesn't support embedding.
> grub-install: error: embedding is not possible, but this is required
> for cross-disk install.
>
> Iiuc, EFI sys partition has to be 'fat', and the rest are ext4.
>
> What's wrong with my config, or install/usage of Grib in the Xen guest?
>
You cannot use GRUB for EFI platform in domU. You can use either legacy
BIOS platform (i386-pc) on HVM guests or Xen platform (i386-xen or
x86_64-xen) on PV guests. Latter is not autodetected by grub-install (we
probably should add it).