We have moved! This forum is now read only. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


[SOLVED] Cannot install Snakeoil on UEFI-only NUC
#7
(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]
Reply


Messages In This Thread
RE: Cannot install Snakeoil on UEFI-only NUC - by scskam - 10-Aug-2020, 02:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Snakeoil with Ubuntu Desktop ? Snoopy8 8 904 02-Jun-2025, 09:38 AM
Last Post: Snoopy8
  [SOLVEDnew install issues jpphun 42 4,408 23-May-2025, 09:56 AM
Last Post: carlodim
  [SOLVEDHow to delete MPD music file database in Snakeoil? hkphantomgtr 4 612 29-Apr-2025, 02:46 PM
Last Post: hkphantomgtr
  [SOLVED[split] MediaCenter33 not starting ing Snakeoil 1.4.3 (High End U3) kmwgr 4 669 06-Apr-2025, 08:16 PM
Last Post: kmwgr
  Snakeoil 1.4 and Squeezelite R2 - not rembering USB audio output petemac110 4 796 23-Feb-2025, 07:47 PM
Last Post: petemac110



Users browsing this thread: 1 Guest(s)
[-]
Our Sponsors
{myadvertisements[zone_4]}

[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 2042
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1543
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 9026
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 904
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 659
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 4988
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 5466
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 14937
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 4408
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 1186

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.