(10-Aug-2020, 07:58 AM)agent_kith Wrote: Check your BIOS and look for anything that says "Compatibility Support Module", can you turn on legacy support mode?
Technically, the problem with the ISO is it will not boot in a EFI environment, but the OS itself should be fine (as long as your computer works with unsigned boot). After the install, start a command shell, and try this and see if it works?
1. After install, start a command shell.
2. Changeroot to remount the install edition as your root. I can't remember offhand what the path is, but you can find it in df or mount, then run chroot
Code:
chroot /path/to/your/install/partition
3. Run the following commands and see what happens:
Code:
[code]
[code]
sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck grub-mkconfig -o /boot/grub/grub.cfg
Thanks agent-kith. There is no legacy boot support nor CSM smode in the bios. I have disabled secure boot and S3 related settings, the UEFI boot cannot be turned off and no legacy boot available in the BIOS menu.
The Snakeoil automatically rebooted after installation so I had to change to seed file on the USB to disable reboot. The partition in of the newly installed OS is /target.
Here is the output when I issued the suggested commands. Many thanks.
SK
[/code]
snakeoil@snakeoil:/$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 7977460 0 7977460 0% /dev
tmpfs 1597148 10800 1586348 1% /run
/dev/sdb1 30026752 411776 29614976 2% /cdrom
/dev/loop0 375808 375808 0 100% /rofs
/cow 7985724 231052 7754672 3% /
tmpfs 7985724 0 7985724 0% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 7985724 0 7985724 0% /sys/fs/cgroup
tmpfs 7985724 28 7985696 1% /tmp
/dev/sda2 98647660 1916784 91696792 3% /target
/dev/sda1 523248 8596 514652 2% /target/boot/efi
snakeoil@snakeoil:/$ chroot /target/boot/efi
chroot: cannot change root directory to '/target/boot/efi': Permission denied
snakeoil@snakeoil:/$ sudo chroot /target
root@snakeoil:/# sudo grub -mkconfig -o /boot/grub/grub.cfg
sudo: unable to resolve host snakeoil: Connection timed out
sudo: grub: command not found
root@snakeoil:/# grub
The program 'grub' is currently not installed. You can install it by typing:
apt install grub
root@snakeoil:/# apt install grub
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
grub : Depends: libc6-i386 (>= 2.15) but it is not going to be installed
Conflicts: grub-efi-amd64
Conflicts: grub-efi-amd64:i386
grub-efi : Depends: grub-efi-amd64 (= 2.02~beta2-9ubuntu1.12)
grub-efi-amd64 : Conflicts: grub but 0.97-29ubuntu68 is to be installed
grub2-common : Breaks: grub (< 0.97-54) but 0.97-29ubuntu68 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@snakeoil:/# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
dmeventd dmraid gir1.2-javascriptcoregtk-4.0 gir1.2-soup-2.4 gir1.2-vte-2.91
gir1.2-webkit2-4.0 kpartx kpartx-boot laptop-detect libdevmapper-event1.02.1
libdmraid1.0.0.rc16 libiw30 liblvm2cmd2.02 libparted-fs-resize0 libreadline5
libtimezonemap-data libvte-2.91-0 libvte-2.91-common lzma
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
grub-efi
The following packages will be upgraded:
grub-efi
1 upgraded, 0 newly installed, 0 to remove and 358 not upgraded.
1 not fully installed or removed.
Need to get 2,544 B of archives.
After this operation, 16.4 kB disk space will be freed.
Do you want to continue? [Y/n] y
0% [Connecting to hk.archive.ubuntu.com]
0% [Connecting to hk.archive.ubuntu.com]
Err:1
http://security.ubuntu.com/ubuntu xenial-security/main amd64 grub-efi amd64 2.02~beta2-36ubuntu3.27
Temporary failure resolving 'hk.archive.ubuntu.com'
Err:1
http://security.ubuntu.com/ubuntu xenial-security/main amd64 grub-efi 4 2.02~beta2-36ubuntu3.27
Temporary failure resolving 'hk.archive.ubuntu.com'
E: Failed to fetch
http://security.ubuntu.com/ubuntu/pool/m..._amd64.deb Temporary failure resolving 'hk.archive.uu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fixsing?
root@snakeoil:/# sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo: unable to resolve host snakeoil: Connection timed out
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
root@snakeoil:/#
[/quote]