Is it possible to install HA on an old Laptop Lenovo X200 without UEFI?
No the Generic x86 image requires it.
VM, or Supervised should work.
I want to use Room Assistant, so i need direct installation. Is there a workaround?
None that I know of.
Why wont Room Assistant work with HassOS in a VM or a Supervised install?
Itās just an addon. Which both of those support.
If itās on VM it does not detect build in Bluetooth.
Hmm. Iām not sure the HAOS image would either. It may not have the drivers required.
Did you try a supervised install?
VMWare(on windows) Supports Bluetooth( detected both Ethernet and Bluetooth), i had 2 BLE device, connected to
Passive BLE Monitor integration
Did you try this method?
So with Oracle VM Bluetooth is not working, with VMware Bluetooth is working? Any tutorial for this?
I donāt know(but im sure there must be some Tuturial out there, for VMWare) as usual i just install latest version VMWare Player16, Run it , Followed the instructions in HA docs, for the āOfficialā Homeassistant OS -Image from HA ā¦ i think, and as i had āDissableā my Wifi on my Windows Machine, it obviously didnāt āreconicedā this( or i rejected it, dont remember), but i didnāt want HA to use the Wifi) So VMw shoved Ethernet and Bluetooth ā¦ later i installed the Passive BLE, Integration, through HACS, Followed the instructions for that, but change to discover, just to test, apparently my phone was also detected, but the 2 temps i have to hold the pair button, to pair them
EDIT: Adding Pic
Just a Side Note: ā¦ i have and use UEFI + GPT-Disk
If anyone else, stumbles over this thread: the actual solution to the original question is in the docs
You can get all the perks of Home Assistant OS on a system without UEFI, by doing a manual install of debian and then adding the HA components, as per the instructions
I just managed to install HAOS on non-UEFI system. If anyone will be stucked with this here is an overview of what I did:
- Write image of haos_generic-x86-64-9.4.img.xz with Etcher
- Boot some linux distro (e.g. Ubuntu) and create 3 partitions at this SSD/HDD: /boot (~ 500MB), bios_grub (~ 1MB) and root (I used 20GB for this)
- Install some Linux on this partitions (I used Debian) next to HAOS, which will install Grub at disk bootloader area e.g. /dev/sda (itās possible to install Grub only, not whole linux distro, as the Grub-bios is what is needed actually)
- Boot installed Linux distro, mount HAOS EFI system partition with grub-efi and append content of grub.cfg to your /boot/grub/grub.cfg
- Reboot - menuentry for HAOS should now be present. Now itās possible to boot HAOS.
- With āset defaultā set HAOS the default boot system so additional installed linux will not boot.
I think itās simplest way to have HAOS on non-UEFI system. Iām using old netbook Samsung N150, with Intel Atom (2 cores, 5.5W)
Hello, Iām also installing into some Samsung netbook I had (NC110) but Iām failing to do step 4
Which partition is HAOS EFI? I currently have these partitions:
/dev/sda1 hassos-boot fat16
/dev/sda2 hassos-kernel0
/dev/sda3 hassos-system0
/dev/sda4 hassos-kernel1
/dev/sda5 hassos-system1
/dev/sda6 hassos-bootstate
/dev/sda7 hassos-overlay ext4
/dev/sda8 hassos-data ext4
And the rest of partitions are from the donor OS (I installed Xubuntu 16.04)
Currently if I do sudo update-grub2
it wonāt detect HASS-OS on any partition above except it says:
Failed to probe /dev/sda3 for filesystem type
Which makes sense since it showed in gparted (on my Xubuntu installation) with an unknown filesystem
Thanks btw
EDIT: The bad this with my devices is it has a broken screen, so I cannot change bios settings and the like
NVM! I got it!! The boot partition was indeed /dev/sda1, so like you said Iāve installed grub-efi on xubuntu, added the contents of the grub.cfg inside that partition onto the file located at /boot/grub/grub.cfg directly at the end (Iāve got 5 entries in my original grub.cfg so I when I rebooted I had to (blindly) tap down 6 times and enter and then it booted!!
So many thanks for the insights!
EDIT (again, sorry): Iām having no space left errors nowā¦ on a new install? Iāve read thatās the media is (SD card or HDD in my case) faulty, Iām retrying from scratch
please let me know how this ends up working out for you. @matys.homeās instructions really confused me (e.g., after creating the 3 partitions from step 2, which partition should the linux distro be installed in? root or boot? when where will HOAS need to be installed in? and step 4ās got me just straight up lostā¦ :/)
In the new spare partition ārootā, and check my last comment for step 4
EDIT: If anyone is having trouble with step 6, what fixed it for me was that there were files in /boot/loader/entries. After moving these to somewhere else HAOS booted by default.
@DiegoJp @matys.home How did you manage to complete step 6 - set default? Iāve tried in the GRUB CLI, tried modifying and deleting files in /etc/grub.d/ and rebuilding and iāve gotten nothing to work so far after several hours of trying
Itās not really necessary to install a full Linux just to load the EFI GRUB thatās included with the x86 image. We can just create a small partition and install GRUB into it and point it at the existing grub.cfg
file. Use your favorite Linux live CD/DVD/USB (Iām liking Parrot OS today).
Use gparted
to create a small ext4
partition on the HassIO drive. Iām assuming itās /dev/sda
. Itāll probably tell you that the partition table doesnāt include the whole disk and offer to fix it. Let it. A 10MB partition should be fine. Tell gparted
to leave 0 bytes after the partition so it ends up at the end of the disk. That way HassIO will be able to resize its partitions and use all the unallocated space.
Note: You may end up with a tiny bit of unallocated space after this partition even if tell gparted
to make it 0. Thatās due to alignment. Donāt worry about it.
Mount the new partition (should be sda9
but check):
sudo mount /dev/sda9 /mnt
Install GRUB on the new partition. If youāre using Parrot OS youāll need to install the GRUB package first:
sudo apt install grub2
Then install GRUB onto the HassIO drive. Replace /dev/sda
with your device if different:
sudo grub-install --compress=xz --root-directory=/mnt /dev/sda --force
Now that GRUB is installed, all thatās left is to configure it to redirect to the HassIO installation. Run the following to create the necessary config file in /mnt/boot/grub/grub.cfg
(the first line tells it to use the first partition on the first drive, the second tells it where HassIOās GRUB config file is):
cat <<! | sudo dd of=/mnt/boot/grub/grub.cfg
set root=(hd0,1)
configfile /efi/boot/grub.cfg
!
Remove the boot media and reboot. You should go straight to the HassIO boot menu.