Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
Location: as far S and E as I want to go in the U.S.
Distribution: Fossapup64
Posts: 224
Rep:
Quote:
Originally Posted by Emerson
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.