Browse Source

added comment on grub selection

Toastie 6 months ago
parent
commit
285f36dd05
1 changed files with 2 additions and 0 deletions
  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