LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-31-2021, 12:28 PM   #1
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Rep: Reputation: 149Reputation: 149
Chain-loadable UEFI firmware?


I have an old laptop that I want to use to boot an UEFI USB stick. I wondered if there is some magic that I can put on a bootable DVD to boot the system into something that behaves like a UEFI PC, recognizing the fat partition on the USB and booting that in turn.

Is it possible?

thanks!
 
Old 01-31-2021, 12:55 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
No, but you can make this USB stick bootable in both, legacy and EFI mode. How hard it is depends on what exactly is on that USB stick. For instance, once upon time I knew nothing about UEFI, but I wanted to be ready for it. So I created ESP partition during install and placed my kernel(s) there. Using GPT partition table I resorted to legacy boot from MBR. Then one day I built myself an EFI stub kernel. Now I was able to boot in EFI mode. I still could boot the very same kernel also in legacy mode, it is just a matter of going into BIOS and choosing CSM mode.
 
1 members found this post helpful.
Old 01-31-2021, 02:15 PM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
Another option is to set up grub on the usb to boot in both legacy and uefi mode.
As has already been said it depends what is on the usb.

Quote:
I wondered if there is some magic that I can put on a bootable DVD to boot the system into something that behaves like a UEFI PC, recognizing the fat partition on the USB and booting that in turn.
Not sure what you mean by this, does the old laptop not have the ability to boot from a usb?

Last edited by colorpurple21859; 01-31-2021 at 02:20 PM.
 
Old 01-31-2021, 03:04 PM   #4
TorC
Member
 
Registered: Dec 2020
Location: as far S and E as I want to go in the U.S.
Distribution: Fossapup64
Posts: 224

Rep: Reputation: 78
Quote:
Originally Posted by Emerson View Post
No, but you can make this USB stick bootable in both, legacy and EFI mode. How hard it is depends on what exactly is on that USB stick. For instance, once upon time I knew nothing about UEFI, but I wanted to be ready for it. So I created ESP partition during install and placed my kernel(s) there. Using GPT partition table I resorted to legacy boot from MBR. Then one day I built myself an EFI stub kernel. Now I was able to boot in EFI mode. I still could boot the very same kernel also in legacy mode, it is just a matter of going into BIOS and choosing CSM mode.

Ran across this from SourceForge -- similar to what you are saying, it seems to me. Don't know it it works for OP.
 
Old 02-01-2021, 06:16 AM   #5
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Original Poster
Rep: Reputation: 149Reputation: 149
The laptop recognises bootable USB in theory but I've found it to be incredibly fussy about it, and this wasn't the only time I've seen this. I can easily create UEFI compatible boot media on Mac, Windows etc... no special tools required. It just happens that every device that's 'too old' to boot the latest 'bootable' USBs has a DVD, so I figured that would be a nice way to solve the problem. Can understand why such a thing hasn't been created, because it would be just for antiquated hardware.

My last resort is as you say to start going through the various utilities that make an image 'legacy bootable' e.g. WoeUSB and friends, but I didn't get on very well with these in the past.

thanks.
 
Old 02-01-2021, 06:55 AM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
super grub may do what you want. https://www.supergrubdisk.org/catego...2-disk-stable/
https://www.supergrubdisk.org/super-grub2-disk/
 
1 members found this post helpful.
Old 02-02-2021, 06:32 PM   #7
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Original Poster
Rep: Reputation: 149Reputation: 149
It's a little hard to figure out exactly what it does from the docs, but it does seem worth trying, thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UEFI Class 3 :: To use UEFI, or not to use UEFI? jheengut Slackware 19 12-30-2020 09:24 AM
how to install linux mint side by side windows into an uefi machine without uefi partition valgalsan Linux - Newbie 2 11-03-2015 12:25 PM
Can't install LM 32bit with UEFI disabled on UEFI Asus X200MA laptop dblaisde Linux Mint 3 10-15-2015 05:37 AM
Help Creating UEFI A MENU For My Bootable (BIOS/UEFI) CDROM ssenuta Linux - Hardware 0 08-27-2012 09:11 PM
iptables good packet chain (instead of bad packet chain) win32sux Linux - Security 6 11-06-2008 06:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration