LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-08-2019, 08:35 AM   #1
pstein
LQ Newbie
 
Registered: Jan 2009
Posts: 14

Rep: Reputation: 0
Detecting Linux-based bootable USB flash drive: Legacy BIOS or UEFI?


Assume I got/downloaded (in the past) a bootable ISO file which contains a software which can later be installed onto a bootable USB flash drive.

How can I detect if this ISO file is for Legacy BIOS or UEFI based computers?

Of cause without trying it out.

Can I somehow peek into the ISO file archive and search for a certain file which is special for one of the two boot types (and not the other)?

Which file is it? Is it the same for 32bit AND 64bit?

As you know ISOs resp. bootable USB flash drives can contain dual boot bootloaders for Legacy BIOS AND UEFI.

How can I find out if the ISO is such a dual-boot ISO?

Thank you
 
Old 07-08-2019, 09:23 AM   #2
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,345

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
use 64bit iso's If you have a 64bit system. There will be EFI directory and/or an efi.img file in it. The efi.img may be either in the isolinux folder or [BOOT] folder. I would say most 64bit iso are setup to boot either EFI or legacy mode
 
Old 07-08-2019, 09:47 AM   #3
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 3,092

Rep: Reputation: Disabled
If I remember right, UEFI uses a small dos formatted partition, so I'd guess that if you don't have a dos partition, you won't have a UEFI pendrive.
 
Old 07-08-2019, 12:11 PM   #4
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,345

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
Quote:
If I remember right, UEFI uses a small dos formatted partition
Yes for a usb that will work with uefi and legacy that is writable, the partition will need to be msdos type drive with a fat32 filesystem. For legacy mode most iso's use syslinux as the bootloader and grub2 for uefi mode.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Legacy Bios, UEFI and SecureBoot ready Ubuntu Live image customization LXer Syndicated Linux News 0 02-09-2016 09:32 AM
American Megatrends: LEGACY boot not found at all in bios menu (only UEFI) Xeratul Linux - Hardware 12 08-08-2015 11:30 AM
GPT, UEFI and BIOS Legacy slaka Linux - Laptop and Netbook 8 04-17-2013 07:28 AM
Help Creating UEFI A MENU For My Bootable (BIOS/UEFI) CDROM ssenuta Linux - Hardware 0 08-27-2012 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration