• Register
Welcome to Ubuntu-MM Q&A, Ubuntu Linux ႏွင့္ ပတ္သက္သမွ် သိခ်င္တာ ေမးပါ။ မေမးခင္ ေမးၿပီးသား ရွိမရွိ ရွာပါ။ အေမးရွိၿပီး အေျဖမရွိေသးပါက ေမးခြန္းကို Vote ေပးခဲ့ပါ။

Categories

1 like 0 dislike
ကြၽန္ေတာ္အရင္ ubuntu 16.04ကေန 17.04 ကို live stick နဲ႔သံုးၿပီးျပန္တင္တာမွာ
The grub-efi-amd64 singed package fail ဆိုၿပီးေပၚလာပာါတယ္ ဘယ္လိုboot loader ကိုျပန္ျပင္ရမလဲဆိုတာေျပာျပေပးၾကပါ..
in Beginner by (300 points)
reopened by

1 Answer

0 like 0 dislike
https://gist.github.com/kokoye2007/7c7b3c54eea2cdf44650ad675dc92295

#hd-efi=/dev/sda1
#hd-root=/dev/sda2
#hd-hdd=/dev/sda

[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"

sudo mount $hd-root /mnt
#if UEFi
sudo mount $hd-efi /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
grub-install /dev/sda
update-grub

#grub-install error
#Installing for i386-pc platform.
#grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
#grub-install: error: embedding is not possible, but this is required for cross-disk install.

#try on live boot
parted $hd-hdd set 1 bios_grub on
parted $hd-hdd print

#retry in chroot
grub-install /dev/sda
update-grub
by (5.9k points)

Related questions

...