Comment 2 for bug 1922780

Revision history for this message
geole0 (geole0) wrote :

Hello
My script of installation under ubuntu 21..04. The ubuntu are still not detected at the time of the reboot.

PDM="/boot/efi" # définir le point de montage
Shim="shimx64.efi" ## Le fichier de boot sécurisé à utiliser sachant que shimx64.efi.dual.signed est actuellement refusé par le script et que shimx64.efi n'est pas signé
Stock=$PDM/EFI/refind ### Le lieu de stockage.

      mkdir $Stock
      cp -r /usr/lib/shim/* $Stock
      if [ ! -f $Stock/$Shim.REF ]; then
         cp -v $Stock/$Shim $Stock/$Shim.REF
         cp -v $Stock/$Shim.dualsigned $Stock/$Shim
      fi
      wget https://sourceforge.net/projects/refind/files/0.13.2/refind_0.13.2-1_amd64.deb
      dpkg --install refind_0.13.2-1_amd64.deb
      echo sbverify --list $Stock/shimx64.efi && sbverify --list $Stock/shimx64.efi
      echo sbverify --list $PDM/EFI/refind/grubx64.efi && sbverify --list $PDM/EFI/refind/grubx64.efi
      cp /usr/share/refind-0.13.2/refind-install $Stock ### Mais ne fonctionne que sous /usr
      cp -r /usr/share/refind-0.13.2/banners $Stock
      cp -r /usr/share/refind-0.13.2/fonts $Stock
      cp -r /usr/share/refind-0.13.2/refind/tools_x64 $Stock