LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-19-2021, 09:07 PM   #1
hbackus
LQ Newbie
 
Registered: Jan 2010
Location: United States
Distribution: Ubuntu
Posts: 13

Rep: Reputation: 0
UEFI USB stick will not boot unless UEFI is turned off


I have a laptop that is running Ubuntu. The laptop supports UEFI boot as its default. I created a bootable USB stick (using dd) with another operating system (Kali). The USB stick will boot when it is in a non-UEFI, BIOS only system and I select the USB media as the boot device. If it is in the UEFI Ubuntu laptop it will boot to the onboard hardisk even when I select the USB stick as the boot media. If I turn off UEFI and boot again and select the USB stick it boots OK. What am I not understanding about how a UEFI USB stick won’t boot on a UEFI system unless UEFI is disabled.
 
Old 06-19-2021, 10:08 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
what is the name of the iso?
 
Old 06-20-2021, 01:05 AM   #3
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
If your secure boot is enabled, Ask the internet:
what Linux distros support secure boot? (A: 2)

Instead of dd, use ventoy.net to format the USB drive. (It supports secure boot.) Then you can simply copy .iso fileS to it.

Read the LQ 'stickies' about kali
and search the kali website to see what it says about: secure boot.

I'm guessing the OP simply downloaded the one 'standard' kali install ISO. (I just took the time to verify that it won't boot if secure boot is enabled.)

P. S. Technically, there's no such thing as turning off or disabling the (whole) UEFI (as with the BIOS in old pre-UEFI computers), so further study of the concepts is needed here.

Last edited by !!!; 06-20-2021 at 01:28 AM.
 
Old 06-20-2021, 05:01 PM   #4
hbackus
LQ Newbie
 
Registered: Jan 2010
Location: United States
Distribution: Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
kali-linux-2021.2-live-amd64.iso
 
Old 06-20-2021, 05:13 PM   #5
hbackus
LQ Newbie
 
Registered: Jan 2010
Location: United States
Distribution: Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
Sorry I wasn't more specific.

kali-linux-2021.2-live-amd64.iso

If I go into Setup and "turn off: Secure Boot;
Go into Advance Boot Options and "enable" Legacy Option ROM;
Then go into Boot Sequence and select Legacy instead of UEFI;

The system boots with the USB stick that I made.

I can send images if needed.
 
Old 06-20-2021, 08:33 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Did you check the md5sum of the iso to make sure it was a good download?
 
Old 06-20-2021, 08:45 PM   #7
hbackus
LQ Newbie
 
Registered: Jan 2010
Location: United States
Distribution: Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
Yes I verified the check sum matched.
 
Old 06-20-2021, 08:53 PM   #8
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Rep: Reputation: 72
Quote:
I have a laptop that is running Ubuntu. The laptop supports UEFI boot as its default. I created a bootable USB stick (using dd) with another operating system (Kali)
That is your answer right there.
dd command makes an exact clone of the iso. This tells me one thing. There isn't a fat32 partition on the iso. image.
So please boot it with legacy bios.
Or better yet at the start of your computer press either F8 or F10 I believe it will give you the options to boot from that disk/slash usb-cdrom image
slash USB-hdd image what ever the clone image was.
OK now your booted.
Look you took a cdrom image and cloned it to a USB stick. The stick will be treated as a cdrom device.
Then it will first boot from boot loader "isolinux". From there "isolinux" will then point it to a menu to boot into.
As in Slackware our isolinux setup just like many others have a efi boot image.
This tell me yours may not.
 
Old 06-21-2021, 08:19 AM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Do your have the option to boot from file in your firmware/bios settings? Maybe putting the iso onto the usb with rufus https://rufus.ie/en_US/ will work.
 
Old 06-22-2021, 02:54 PM   #10
hbackus
LQ Newbie
 
Registered: Jan 2010
Location: United States
Distribution: Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
F12 for boot options on my laptop.

Under boot option, there is no option for CD-ROM or other USB option device other than the actual USB stick with the image and the onboard hard drive.

I did find a boot mode option that keeps UEFI boot setting but disables Secure Boot. The USB stick boots OK with that setting.

I am still researching how to make a boot stick without changing the UEFI/BIOS settings.
 
Old 06-23-2021, 05:29 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,979

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Modern computers use a usb as a hard drive order. It won't be a cd/usb choice.

You would need a fully supported secure boot distro if all you did was disable secure boot.
 
  


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 On
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
Mobo only supports uefi boot - how do I boot off a non-uefi cd? Ulysses_ Linux - Hardware 3 02-25-2016 08:06 PM
UEFI Turned Off Dual Boot GNewbie Linux - General 3 11-12-2012 10:08 AM
Boot Mint13 w/ UEFI Turned Off GNewbie Linux - General 0 10-30-2012 10:59 PM
Ubuntu bizarre boot sequence--- Boot hangs unless I turn off monitor Theoldras Linux - Hardware 4 07-13-2009 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:25 PM.

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