Ask your questions here.
Post a reply
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## uefi and the installer

Thu Jan 26, 2017 11:06 pm

I have a solid build using snapshot 10.0 and booted to a LiveCD with no problems..
From the usb I see the /efi/boot directory and the bootx64.efi files so everything looks to be in place
This is NOT on a system that previously has efi
I have a manually created and set to boot a fat32 boot partition. I have installed fine all aspects of the media except the efi grub
All looks in place but from the installer I am not getting the expected results for grub-efi
The question is what is the process from the Installer? Is there a How To on what needs to be done with the installer to get grub-efi installed correctly?
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: uefi and the installer

Fri Jan 27, 2017 1:30 am

If you want to install to uefi hardware, you need to use the uefi installer, which is not included in any packages I've released. For refracta8, I included the deb packages for grub-efi-amd64 and grub-efi-amd64-bin, and when you install those packages with dpkg, grub will create a boot loader and take over the boot.
Here's a more detailed explanation of how I arranged it in refracta8:
refractasnapshot-with-uefi-support-t576-20.html?sid=6731a2f0d96492a22669eeff5beeba7d#p6365
If you have another linux installed on this system, you can get away without installing a bootloader by adding the new install to the boot menu in the existing installation. But if this is a first install, you need to make a bootloader. You could boot from the usb, chroot into the new install, and install the grub-efi packages. There are a couple of steps in between, like mounting the efi partition and bind-mounting a few things.
If you're any good with grub command line, you could boot from the usb, get to grub prompt, and get the new install up and running. Mount the efi partition and then install the grub-efi packages using your favorite package manager. Or you could run 'grub-install' (with no device) if the grub-efi packages are already installed in the system. Do not run 'grub-install /dev/sda' if grub-pc is installed. You may get bad results.
Here's the uefi installer -
http://distro.ibiblio.org/refracta/file ... aller-uefi
Here's the readme that goes with it. The manual steps are in there, links to a tutorial on uefi installation are in there. Please read that stuff. I'll link it here to make it easy.
http://www.rodsbooks.com/efi-bootloaders/index.html
http://distro.ibiblio.org/refracta/file ... all.readme
Look it over and feel free to come back with questions before you try it.
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## Re: uefi and the installer

Fri Jan 27, 2017 2:27 am

That's exactly what I was looking for and had been doing pretty much these things without all the tools...
Will grab it all and report back when successful or of I need more assistance.. Thank you fsmithred!
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## Re: uefi and the installer

Fri Jan 27, 2017 4:30 am

It turns out I was doing exactly what this installer did.. quite nice sir!
I thought my process was failing but it turned out to be a VirtualBox issue.. I do not have any real uefi hardware so I relied on V-Box.. I could see it could see the new uefi builds but kept on erroring out with failure to load vsido
I sent it to Jedi who has uefi specific HW and it booted immediately.. I then built with your new uefi-script and it installed perfectly for Jedi too
Thank you!
jedi

- jedi
- Posts: 7
- Joined: Mon Feb 16, 2015 5:39 am
- Location: Earth, usually...
- Website

## Re: uefi and the installer

Fri Jan 27, 2017 4:52 am

Absolutely terrific stuff from you both! I'm incredibly lucky to have such a great OS.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: uefi and the installer

Fri Jan 27, 2017 1:35 pm

Thanks for the feedback. I'm going to release a 9.2 refractainstaller soon. It will include the uefi installer, and the regular installer will complain if you try to run it on uefi. (refracta8 already has this). After that (or maybe for that) I'll make it so you don't have to go into the chroot terminal to install grub.
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## Re: uefi and the installer

Fri Jan 27, 2017 2:40 pm

Sounds great fsmithred and will that also have the NVMe change as well?
I am going to start another thread about proc on fstab line
Thanks
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: uefi and the installer

Fri Jan 27, 2017 3:34 pm

Yes, nvme support will go into both the regular installer and the uefi installer. I'm also including support for mmc devices, even though I don't know if it's useful for anything other than testing.
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## Re: uefi and the installer

Fri Jan 27, 2017 5:53 pm

Fantastic.. I am looking forward to the new installer
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: uefi and the installer

Sat Jan 28, 2017 2:01 am

https://github.com/fsmithred/refractainstaller-base
https://github.com/fsmithred/refractainstaller-gui
No packages yet, but you can run these if you have 9.1.9 installed.
Here's the changelog (and really, there's no package yet.)
* Included refractainstaller-uefi and uefi_install.readme in package.
* Fixed regression. disable_auto_console gets set with disable_auto_desktop again.
* Replaced cfdisk with gdisk in uefi installer.
* Reversed listing of filesystem types; ext4 is now first.
* Added support for text translations.
* Added support for nvme disks and sd/mmc devices.
Oh, one more note - if you try to use the cli refractainstaller for a uefi install, it will complain and exit. However, it is possible to use it, because it pauses at the point grub gets installed (and the right things are bind-mounted on the target), so you can do stuff manually in chroot. Just comment out the uefi_warning on line 128 if you need that.
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.