|
|
|
@ -210,7 +210,7 @@ echo "mount /boot/efi" >> /mnt/setup-chroot.sh
|
|
|
|
echo "apt install -y grub-efi-amd64-signed shim-signed" >> /mnt/setup-chroot.sh
|
|
|
|
echo "apt install -y grub-efi-amd64-signed shim-signed" >> /mnt/setup-chroot.sh
|
|
|
|
|
|
|
|
|
|
|
|
i="2"
|
|
|
|
i="2"
|
|
|
|
for disk in `echo "$disks" | -tail -n2`; do
|
|
|
|
for disk in `echo "$disks" | tail -n+2`; do
|
|
|
|
echo "dd if=/dev/disk/by-id/${firstdisk}-part2 of=/dev/disk/by-id/${disk}-part2" >> /mnt/setup-chroot.sh
|
|
|
|
echo "dd if=/dev/disk/by-id/${firstdisk}-part2 of=/dev/disk/by-id/${disk}-part2" >> /mnt/setup-chroot.sh
|
|
|
|
echo "efibootmgr -c -g -d /dev/disk/by-id/${disk} -p 3 -L "ubuntu-$i" -l '\EFI\ubuntu\grubx64.efi'" >> /mnt/setup-chroot.sh
|
|
|
|
echo "efibootmgr -c -g -d /dev/disk/by-id/${disk} -p 3 -L "ubuntu-$i" -l '\EFI\ubuntu\grubx64.efi'" >> /mnt/setup-chroot.sh
|
|
|
|
i=$((i + 1))
|
|
|
|
i=$((i + 1))
|
|
|
|
|