LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Any distro just WORK with UEFI and GPT? (https://www.linuxquestions.org/questions/linux-software-2/any-distro-just-work-with-uefi-and-gpt-4175519333/)

Timothy Miller 09-18-2014 03:46 PM

Any distro just WORK with UEFI and GPT?
 
My newest laptop has Windows 8.1 Pro installed on a GPT disk with UEFI instead of BIOS. Of course, I'm not willing to use it as the only OS since I haven't run Windows as my primary in about 8 or 9 years now. I'm a big fan of Debian, but they are, of course, still stuck in 2010 and basically say about UEFI "it may work, may not, who knows".

So, is there any distros that are known to work with UEFI without jumping through hoops, installing a bootloader on a USB drive, chainloading, etc?

Thanks.

keefaz 09-18-2014 04:34 PM

I would think any modern distro. The easier efi linux bootloader is elilo. You can also boot the kernel directly (without bootloader), if compiled with CONFIG_EFI_STUB, efi boot settings with efibootmgr.

Just give your fav Debian a try, I am sure it will work

Timothy Miller 09-18-2014 06:24 PM

No, it doesn't. I did actually try it. Doens't even register, Windows still boots directly.

metaschima 09-18-2014 07:05 PM

Make sure you turn off secure boot.

I know Slackware works just fine. Partitioned it with cgdisk, run setup, reboot and that's it.

capt ron 09-18-2014 07:27 PM

Ubuntu 14.4 "just works". Be sure to run the EFI mode installer.

dugan 09-18-2014 07:33 PM

Quote:

Originally Posted by Timothy Miller (Post 5240492)
installing a bootloader on a USB drive, chainloading, etc?

When do you ever have to do any of those things? At worst you might have to run efibootmgr manually.

And yes, I second the "Slackware just works." At the end of the installation process you get the option to add Slackware to your EFI boot menu.

Otherwise, I would expect any up-to-date distro (Arch, Fedora, Ubuntu or any derivative) to have perfect EFI support.

Shadow_7 09-18-2014 08:33 PM

Ubuntu and Fedora supposedly paid the microsoft tax and are signed with microsoft keys. And are probably the safest bets for UEFI usability. A lot of other distros are UEFI compliant, but there's a few manual and poorly documented steps needed to make it work. It might be well documented, but finding that magic cheat sheet that any noob can use probably isn't that easy. I tend to stick with USB bootable versions of linux on those systems and disable secure boot and enable CSM when I run linux on them. Although I tend to install linux on that usb medium on non-UEFI machines.

Timothy Miller 09-18-2014 09:24 PM

Quote:

Originally Posted by metaschima (Post 5240550)
Make sure you turn off secure boot.

I know Slackware works just fine. Partitioned it with cgdisk, run setup, reboot and that's it.

Secure boot was never turned on. I updated this to Windows 8 as I was given a free key, and decided it was time to try UEFI, which meant I had to go GPT also.

Quote:

Originally Posted by dugan (Post 5240563)
When do you ever have to do any of those things? At worst you might have to run efibootmgr manually.

And yes, I second the "Slackware just works." At the end of the installation process you get the option to add Slackware to your EFI boot menu.

Otherwise, I would expect any up-to-date distro (Arch, Fedora, Ubuntu or any derivative) to have perfect EFI support.

The reason I mention those things is many of the "how-to's" of getting Debian to dual-boot with Windows 8 suggests using these things. From what I gather from what I've read, grub-efi isn't available on the installation medium, so you have to use a roundabout way of booting it the first time, THEN install grub-efi.

I may look into Slack while I wait for Debian to get with the times.

Quote:

Originally Posted by Shadow_7 (Post 5240584)
Ubuntu and Fedora supposedly paid the microsoft tax and are signed with microsoft keys. And are probably the safest bets for UEFI usability. A lot of other distros are UEFI compliant, but there's a few manual and poorly documented steps needed to make it work. It might be well documented, but finding that magic cheat sheet that any noob can use probably isn't that easy. I tend to stick with USB bootable versions of linux on those systems and disable secure boot and enable CSM when I run linux on them. Although I tend to install linux on that usb medium on non-UEFI machines.

This is actually my first time installing anything on a UEFI machine. As I'm looking to maybe get a new laptop sometime in the next few months (it's about time I get an ultrabook), and it'll come with Windows 8 (I still need Windows for my Star Wars mods since the base games will never get ported to linux), so figured might as well use my free key to try it out.

dugan 09-18-2014 09:28 PM

Quote:

Originally Posted by Timothy Miller (Post 5240597)
I may look into Slack while I wait for Debian to get with the times.

Here are my experiences setting up Slack with UEFI support:

http://www.linuxquestions.org/questi...nd-4175506557/

ReaperX7 09-18-2014 09:46 PM

Slackware has good UEFI support even with Grub.

My new test system I'm working on at the moment has a 1 TB HDD with this:

100MB /boot EXT4 - sda1
100MB EFI EF00 - sda2
8GB swap 8200 - sda3
250GB / JFS - sda4
Rest of disk space is reserved for FreeBSD, LFS, and Windows 8.1 pending their installations.

Bootloader currently is Grub.

Timothy Miller 09-18-2014 10:47 PM

I did some more searching, and found someone that made some experimental Wheezy install images that were EFI, trying to install from that now.

Timothy Miller 09-19-2014 12:10 AM

Discovered it has nothing to do with Debian afterall, it's HP. HP's UEFI is simply broken, and will not allow anything other than Windows to boot, regardless if you change the bootmanager with BCDedit, change with efibootmgr so that linux is the ONLY option, as soon as you reboot and the HP UEFI loads, it restores it to ONLY booting Windows on this laptop. Already have the latest firmware, so will have to go to legacy mode and reinstall everything.

keefaz 09-19-2014 04:00 AM

Please post laptop model, it may be useful for future references

Timothy Miller 09-19-2014 07:28 AM

HP Elitebook 8470P

metaschima 09-19-2014 10:15 AM

Try pressing 'F9' when it boots/POSTs and select Debian instead of Windoze. I believe the HP UEFI is crappy and outdated and you cannot set the default boot.
http://h30434.www3.hp.com/t5/Other-N...x/td-p/3001259


All times are GMT -5. The time now is 01:56 AM.