Booting UEFI/EFI Computers - What Works, What Doesn't

What works, and doesn't, for you. Be specific, and please include Puppy version.
Message
Author
gcmartin

#21 Post by gcmartin »

Hi @JamesBond. Should "step 6" read?
  • - mkdir -p /EFI/boot
The process shows, there, is clear, IMHO.

Thanks for the heads-up.

Cheers!

User avatar
cimarron
Posts: 292
Joined: Fri 31 May 2013, 01:57

#22 Post by cimarron »

Thanks, jamesbond. It's nice that your EFI bootloader solution can be simply added to a standard BIOS puppy USB stick so it will boot on BIOS or UEFI. Adding EFI doesn't change the stick's MBR, so it still boots normally on a BIOS computer.

It works for me booting Precise puppy on a Dell Optiplex 3020 with UEFI.

For my more complicated multiboot USB stick with a syslinux bootloader, I added the rEFInd bootloader that provides a menu to select a legacy bootloader (described here). That allows using the existing syslinux multiboot menu on a EFI computer, as long as it has CSM enabled. I couldn't manage figuring out how to convert the complicated syslinux.cfg items to grub.cfg.

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#23 Post by jamesbond »

cimarron wrote:Thanks, jamesbond. It's nice that your EFI bootloader solution can be simply added to a standard BIOS puppy USB stick so it will boot on BIOS or UEFI. Adding EFI doesn't change the stick's MBR, so it still boots normally on a BIOS computer.
Yes, thank you for mentioning that: a point I forgot to say, that aside from being UEFI simple, it will not affect / change existing solutions for BIOS systems too.
It works for me booting Precise puppy on a Dell Optiplex 3020 with UEFI.
Thank you for the confirmation.
For my more complicated multiboot USB stick with a syslinux bootloader, I added the rEFInd bootloader that provides a menu to select a legacy bootloader (described here). That allows using the existing syslinux multiboot menu on a EFI computer, as long as it has CSM enabled. I couldn't manage figuring out how to convert the complicated syslinux.cfg items to grub.cfg.
rEFInd is nice. And yes Fatdog also uses rEFInd too. The blog post is a start, once people are familiar with UEFI boot process, they can proceed to use other, more featured bootloaders like rEFInd (or any other combination). I'm not sure if grub2 EFI can chainload to legacy bootloader, I never tested that because the Qemu UEFI BIOS doesn't have CSM.

My hope is that the post will bring an avalanche of UEFI-enabled Puppies in near future.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#24 Post by jamesbond »

Slacko64 with UEFI support now testing: http://murga-linux.com/puppy/viewtopic.php?t=106337
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#25 Post by 01micko »

jamesbond wrote:Slacko64 with UEFI support now testing: http://murga-linux.com/puppy/viewtopic.php?t=106337
Originally was 64 only but 32 bit is now also available.
Puppy Linux Blog - contact me for access

zakjoh
Posts: 16
Joined: Sat 17 Oct 2015, 22:21

#26 Post by zakjoh »

Are there any modern boards still being manufactured that don't use UEFI ??

bark_bark_bark
Posts: 1885
Joined: Tue 05 Jun 2012, 12:17
Location: Wisconsin USA

#27 Post by bark_bark_bark »

zakjoh wrote:Are there any modern boards still being manufactured that don't use UEFI ??
I wish.
....

LateAdopter
Posts: 361
Joined: Fri 27 May 2011, 17:21
Location: Reading UK

#28 Post by LateAdopter »

zakjoh wrote:Are there any modern boards still being manufactured that don't use UEFI ??
I think that generic motherboards with a BIOS from Phoenix Technologies (American Megatrends or Award) will work in either mode. The issue here is: how to use Puppy without reformatting a drive that is already using UEFI, and also the case of a proprietary BIOS in some laptops.

In principle an IBM BIOS should be able to boot an MBR partition or a GPT partition. The same applies to a UEFI BIOS. In practice the BIOS setup screen doesn't give you the option

With my ASRock Intel Braswell N3150 motherboard, that I bought in November, I partitioned the new SSD with MBR and there was no need to mess about with UEFI and it worked exactly like motherboards have for decades.

The only noticeable difference comes with SATA. There isn't the same fixed relationship between drive letter and connectors that there used to be with IDE drives.

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

Easy2Boot - grub2 -uefi

#29 Post by Scooby »

Without checking further into what steve actually does this quote sounds interesting to me?

Could be worth a look!
rmprep wrote:You may find that some ISOs that do not contain UEFI
boot files (\EFI\boot\bootx64.efi and bootia32.efi) will still boot via the
grub2 menu system!
Read more: http://www.easy2boot.com/uefi-grub2-ptn2/



rmprep wrote:By adding a special FAT32 .imgPTN partition image file
containg grub2 to the E2B USB drive, it is possible to UEFI-boot directly from
many linux ISOs and .EFI boot files (such as Memtest and KonBoot EFI files)
all from one menu system (no need to reboot and load a different .imgPTN
file each time!).

User avatar
Insomniacno1
Posts: 188
Joined: Fri 24 Jul 2009, 22:43

#30 Post by Insomniacno1 »

Hi, instead of going into details again of what works, you can read all about it in my thread - where I have tried to get allot of different puppies to work on my x86 Tablet with UEFI - there are also the solution to booting and KMS settings to get to the desktop.

I have also listed which puppies that didn't work.

I spent several months on trying to get this to work and I'm not done yet.

Maybe you can contribute:)

http://www.murga-linux.com/puppy/viewtopic.php?t=108295

Hope that helps:)

JBJ

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#31 Post by mistfire »

X-Slacko Slim works fine on UEFI, even on Secure Boot mode. Vesa may not work on UEFI, use fbdev instead

Illutorium
Posts: 170
Joined: Wed 06 Aug 2014, 07:12

#32 Post by Illutorium »

My build of Lightweight Trusty are be works at UEFI too... (but it's a oldest anyway) -> murga-linux.com/puppy/viewtopic.php?t=108681 [Non-Rationalise for Now at Stable only']

User avatar
Limbomusic
Posts: 267
Joined: Fri 15 Apr 2016, 14:07
Location: Norway
Contact:

Lenovo ideapad 100 with puppy tahr 6.0.5

#33 Post by Limbomusic »

Well, u asked what works and what doesnt, so here's my contribution :-)
PC: Lenovo Ideapad 100. SSD drive, 4gb ram. (bought new a year ago)
UEFI.
Have a remastered version of tahr 6.0.5 with the 4.1.11 (or something) kernel.
(had to use the newer kernel or else wifi card was not found)

Boots from usb as long as secure boot is turned off.
As mentioned earlier in the thread, its easy to make a bootable usb on uefi machine.
Explained at http://blog.puppylinux.com/?viewDetailed=00009
and also on my own posting at http://murga-linux.com/puppy/viewtopic.php?t=109702

I coulnd't install to disk tho, using the SETUP->PUPPY INSTALLER because Grub4dos wouldn't install - just got the error message:
"somewhat error occured" - I assume bacause of some windows 10 thing.
What DID work - was to install LICK - in win10 - dragged the .iso over and machine now works fine with dual-boot puppytahr/windows.

Whats NOT so good is my wifi connection just stops working. (have to setup wifi network again to get it going again)
Have researched this and there is apparently problems with the driver-modules for the Realtek8723be wifi card.
I have tried the rtlwifi-new-something.pet (which I mirrored on
http://helledussen.com/linux/tahr/) but it doesnt seem to work - same problem with connection.
I would really appreciate help from any puppy users with dealings with the rtl8723be wifi card.

easyaspi314
Posts: 7
Joined: Fri 14 Apr 2017, 14:38
Location: Massachusetts

#34 Post by easyaspi314 »

MacBook5,2 (MacBook non-Pro, non Air (13", Mid-2009)

Built-in EFI (not rEFInd, rEFIt, etc), on its latest El Capitan version (this Puppy didn't get Sierra).
I can put the version up if you wish.

Tried slacko 6.3.2, slacko64 6.3.2, and the test tahr64 6.0.6 UEFI build.

Old:
TL;DR: Works, but incredibly unreliably. Needs a workaround, and hangs for long periods most of the time before booting.
Real:
TL;DR: Works, needs workaround. Also hangs while booting if the built-in SuperDrive is broken.

OS X will only recognize a USB if the efi files are in a directory on the root of the partition. efi.img won't work, unless Puppy is directly burned to a CD.

This is what mostly works on a fat32 partition on GPT and MBR. I haven't tested hybrid MBR or the steps in this guide (but I want to boot Windows off it as well).

So, for a frugal install, instead of

---- /efi.img

it must be

---- /efi/
--------- /boot/
-------------- /bootx64.efi

After doing this, holding Option at boot will show "EFI Boot" as a boot option.

My MacBook seems to be very finicky. It prefers to boot from 64-bit (which is what I have heard a lot). When it isn't working, most issues arise from inability to find VESA BIOS extensions, mainly with "Mac Linux USB Installer".
I looked into the problem I had in the quote below and it seems to only happen because my SuperDrive is busted.

So ignore this quote, this has to be just me.
However, the main issue is that for some reason, about 75% of the time, it doesn't matter if it is on a live CD/DVD or a USB drive, you start the boot from GRUB, and it will hang on a black screen for 10 minutes plus before booting. The flash drive or DVD drive will go silent after a moment when it does that.

Out of that 75%, about 10% will just do nothing.

It seems to be related to unplugging the flash drive and plugging it back in, but I can't reliably get it to work.

I have tried pmediatype=whatever, pfix=ram, nomodeset, noefi, acpi=force, acpi=off, and noexec=off, but none of them do the trick.
It is still an issue, but I have even had this in Ubuntu 16.04.

The dmesg shows multiple attempts of accessing ata2, the device where the SuperDrive is internally connected, but reporting
"ata2: COMRESET failed (errno=32)"
repeatedly until it gives up. Then it boots.

I might have a faulty connection internally. I did get the thing used, and out of the box, it had an upgraded hard drive to 1TB, but the case was obviously pried off unprofessionally, as the edges are chipped off and some screws were missing.

I could try taking it apart later this month once finals are over and I don't have to rely on my MacBook for college work.
I don't know if this is directly related to EFI, but on Slacko (and Slacko64) 6.3.2, battery stats are only reported in /sys/class/power_supply/BAT0, not /proc/acpi/battery/BAT0. I have tried everything, trust me.

In tahr64, oddly, the battery stats work perfectly.

As a result of this, there is no battery icon in Slacko.

I modded powerapplet_tray 2.6 (can't find 2.7.x sources) to make it work with power_supply here. Sorry, no PETs, just source code.

It also has a lot of other issues, mostly with drivers. But these were simple to fix once you found the solution.

(in case you are wondering, WiFi, brightness control, trackpad, and standby mode were the main ones).

Another thing:

Removed the boot hang which was a problem with my already broken hardware.

Slacko64-6.9.6.4-uefi.iso boots with no battery stats, but WiFi works…:D
Ubuntu 16.04 doesn't have battery stats either.

User avatar
Limbomusic
Posts: 267
Joined: Fri 15 Apr 2016, 14:07
Location: Norway
Contact:

good

#35 Post by Limbomusic »


User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#36 Post by Mike Walsh »

Hey, Limbomusic.

TBH, if you're having problems with the built-in wifi card, it might be just as easy to use a wifi 'dongle' instead.....especially if you choose one with a universally supported chipset.

Two I can recommend are these:-

http://uk.tp-link.com/products/details/TL-WN725N.html

Uses the Realtek 'r8188eu' chipset driver; where not supported natively, rcrsn51 has compiled a load of drivers for various Pups/kernels...

http://www.murga-linux.com/puppy/viewtopic.php?t=107047

This thing works brilliantly, and has a very good range.....and, as a 'nano' design, is so small it can be left in all the time. And being TP-Link, the build quality is exquisite.

-----------------------------------------------------------------------------------

The other one is this:-

http://www.netgear.co.uk/home/products/ ... 3100M.aspx

The NetGear WNA3100M. A 'mini' design, this, as opposed to a 'nano'. I've used this extensively, and have yet to find a Pup that doesn't natively support the Realtek RTL8192CU chipset; it's been supported since k3.3, in early 2012.

Where it's not supported, again, rcrsn51 has compiled a bunch of drivers for it, here:-

http://www.murga-linux.com/puppy/viewtopic.php?t=100675

Just my two-penn'orth.


Mike. :wink:

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

Re: Lenovo ideapad 100 with puppy tahr 6.0.5

#37 Post by perdido »

Limbomusic wrote:Well, u asked what works and what doesnt, so here's my contribution :-)

Whats NOT so good is my wifi connection just stops working. (have to setup wifi network again to get it going again)
Have researched this and there is apparently problems with the driver-modules for the Realtek8723be wifi card.
I have tried the rtlwifi-new-something.pet (which I mirrored on
http://helledussen.com/linux/tahr/) but it doesnt seem to work - same problem with connection.
I would really appreciate help from any puppy users with dealings with the rtl8723be wifi card.
There is a possible fix for ubuntu trusty tahr that may address your issue.
This is if your 8723be connects but the connection slows down after being connected.
http://www.dedoimedo.com/computers/ubun ... altek.html
Make a backup of the rtl8723be.conf file if you try this.

That info came from here http://skamilinux.hu/phpBB3/viewtopic.php?t=220
I have not tried this, just throwing stuff to see if it sticks :)

.

User avatar
Limbomusic
Posts: 267
Joined: Fri 15 Apr 2016, 14:07
Location: Norway
Contact:

thanx

#38 Post by Limbomusic »

Thank you Mike and perdido :-)
But the 4.9.15 kernel fixed this issue - as I posted here:
http://murga-linux.com/puppy/viewtopic.php?t=110535

:-)

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#39 Post by BarryK »

Years ago, when UEFI first came in, that would be 2012, I read somewhere that a USB Flash stick should have a GPT (Guid Partition Table) to be able to boot, and not a MBR (the old technique for drive partition table).

The UEFI specification states that the drive can have GPT or MBR, and all that is necessary is it have what is known as an ESP fat partition.

However, early UEFI firmware was buggy on some PCs, and would only boot off a stick with GPT.

So, all my releases of Quirky Linux, image files for Flash sticks, created a GPT drive.

However, I have grown to dislike GPT very much, and recently wondered if it is ok to go back to MBR. Here is a link to Quirky Xerus64 8.2.2, usb 8GB image:
http://barryk.org/news/?viewDetailed=00628

What I would like to know, is does it bootup on your UEFI PC? (which is all of them manufactured from 2012).
Of course, the UEFI-setup has to select the USB stick, and do NOT enable "legacy mode" if that is an option in the setup -- it isn't needed.

In case you are a newbie, here is how to write the image to a drive:
http://distro.ibiblio.org/quirky/quirky ... nstall.htm

Oh, just remembered, uploaded the image "xz" compressed. If you are running Windows, there are Windows tools for writing an image to flash stick, but they only understand a "gz" compressed image -- so, I will upload it now.
[url]https://bkhome.org/news/[/url]

Lassar
Posts: 235
Joined: Tue 08 Jul 2014, 20:01

My experience on dual-booting my uefi computer

#40 Post by Lassar »

Formated Xubuntu partitions on my uefi computer.

Used the universal installer on Kodipup. (Xenialpup64 CE 7.0.8.5)

This caused my windows 10 & Kodipup not to boot.

Spend a day researching repairing windows 10 boot.

Refind boot manager helped me to get back into windows.

Part of the repairing included deleting the ubuntu directory on
the system partition.

I have found out since then, that the univeral installer is only for
mbr formatted disk drives, not uefi gpt disk drives.

I decided to tried the LICK v1.2 puppy linux iso installer.

It was very easy to install.

All I had to do was run LICK-1.2.0-win32.exe from windows, drag &
drop Kodipup iso to the Lick program, and chose the windows partition to
install kodipup to.

Lick installed the iso, and created the boot manager.

Lo and behold, I now have a boot menu screen showing windows, and kodipup
boot entries.

Post Reply