Not long ago we learned about the release of the first beta of Elementary OS FreyaAs expected (it is a system that I love) I immediately set about installing it on my laptop (with UEFI) together with Windows but I was pleasantly surprised that I couldn't even boot from my usb (I made a copy of the image with dd). So I had to turn to other alternatives.
How to install Elementary Freya with EUFI
Before this, in case you do not know the dd command, it is very easy to use, from the terminal we type:
sudo dd if="ubicación de la imagen iso" of="memoria" bs=4M
In general, if we do not have another hard disk or usb connected other than the one we are going to use, this is in "/ dev / sdb", the common block size is 4mb.
We proceed to disable UEFI of the Bios and leave it in Legacy mode, we save and restart booting from memory again, now this time we have to start, and we install like any other. Once installed we activate UEFI again from the Bios, and we started playing.
The easiest thing is to create a bootable memory with a distribution that has support for UEFI that we have out there, in my case I used Linux Mint 17, we are not going to install it or anything we just need to use grub from the usb. We can create it just as we did with the previous one and start from it with UEFI enabled, at the moment grub appears (where it tells us something about installing, testing and other things) we press the «keyC»To enter the console and thus start Elementary.
We indicate the partition where Elementary Freya is installed:
If we do not know in which partition we have it installed (first line) we can verify the content of a partition with the command ¨ls¨, for example, in my case my partition is (hd0, gpt6) and by writing:
It shows me the folders boot, usr, home, etc, which is undoubtedly the content of our partition with Linux. If we just type "ls" it shows us the partitions we have.
Then we load the kernel image with:
linux /boot/vmlinuz-3.13.0-29-generic root=/dev/sda1
We can also see what kernel image we have installed with:
Or simply if we already assign to the variable "root" our partition we can use:
Now we only have to start, and for this we write:
Started Elementary we create a folder named "efi" in "/ boot":
sudo mkdir /boot/efi
And we mount the EFI partition there, this partition is the second on my hard drive:
sudo mount /dev/sda2 /boot/efi
Finally we install "grub-efi" or "grub-efi-amd64" depending on the architecture we have:
sudo apt-get install grub-efi-amd64
We install grub on our partition:
sudo grub-install /dev/sda
And finally, we update grub:
It is important that the EFI partition is mounted in "/ boot / efi" or it will mark errors. And voila we can restart and check grub on our boot.