ソースを参照

added comment on grub selection

Toastie 7 ヶ月 前
コミット
285f36dd05
1 ファイル変更2 行追加0 行削除
  1. 2 0
      bootstrap-bookworm.sh

+ 2 - 0
bootstrap-bookworm.sh

@@ -293,12 +293,14 @@ bootloader(){
 echo "$grubPkg selected as bootloader"
 if [ $partition="mbr-single" ]
 then
+  echo ---mbr
   chroot $mnt /bin/bash -c "grub-install $disk && update-grub"
 fi
 
 # Install grub in the efi partition
 if [ $partition="efi-crypt" ]
 then
+  echo ---efi
   chroot $mnt /bin/bash -c \
   "grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub && update-grub" 
 fi