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 12-22-2019, 12:54 PM   #1
Macky12
LQ Newbie
 
Registered: Dec 2019
Posts: 3

Rep: Reputation: Disabled
Red face Windows BIOS not recognizing fedora install on usb as bootable


I am trying to install fedora on a usb stick-the actual os, not the live version. I used VirtualBox to install it. When I tried to boot it up, the BIOS would not recognise the drive. I thought at first that my install went wrong, but then I used MobaLiveCd and it booted up the disk successfully. So I am thinking that the problem is with my BIOS, not the actual install. Can anyone help me with this? I am at my wits end.
 
Old 12-22-2019, 01:16 PM   #2
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 19.2 (Netbook) and 18.3 (Desktop)
Posts: 1,516

Rep: Reputation: 429Reputation: 429Reputation: 429Reputation: 429Reputation: 429
Hi, Welcome to Linuxquestions!

Quote:
I am trying to install fedora on a usb stick-the actual os, not the live version. I used VirtualBox to install it.
If you used Virtualbox, the Fedora install will have been installed as a guest OS on your Windows host During your Fedora install, Virtualbox creates a virtual drive, basically a file, which lives on your host drive. It's not accessible from the BIOS.
(I'm assuming you installed Virtualbox on a Windows system, you don't mention the Host OS).

If this is the case, as mentioned, the BIOS won't see the Fedora install, only the Windows one. To boot the Fedora system you first need to boot the Window's host then start Virtualbox where you can then start the Fedora system.

Play Bonny!

 
Old 12-22-2019, 04:40 PM   #3
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 4,914

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
If the system your trying to boot on is efi and vbox wasn't set to efi mode in machine settings or vica/versa system is legacy and the vbox was in efi mode will cause boot problems with the usb.

depending on partition setup, may be fixable without a reinstall from install iso if your comfortable with the command line.

Last edited by colorpurple21859; 12-22-2019 at 10:30 PM.
 
Old 12-23-2019, 07:30 AM   #4
Macky12
LQ Newbie
 
Registered: Dec 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Lightbulb

Quote:
Originally Posted by Soadyheid View Post
Hi, Welcome to Linuxquestions!


If you used Virtualbox, the Fedora install will have been installed as a guest OS on your Windows host During your Fedora install, Virtualbox creates a virtual drive, basically a file, which lives on your host drive. It's not accessible from the BIOS.
(I'm assuming you installed Virtualbox on a Windows system, you don't mention the Host OS).

If this is the case, as mentioned, the BIOS won't see the Fedora install, only the Windows one. To boot the Fedora system you first need to boot the Window's host then start Virtualbox where you can then start the Fedora system.

Play Bonny!

No, I actually installed it onto the USB. I created a live instance of Fedora on a VM and then directed a live instance of fedora to intstall to disk, specifying my usb as the disk it should install onto. I haven't installed it as a guest OS
 
Old 12-23-2019, 07:31 AM   #5
Macky12
LQ Newbie
 
Registered: Dec 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
If the system your trying to boot on is efi and vbox wasn't set to efi mode in machine settings or vica/versa system is legacy and the vbox was in efi mode will cause boot problems with the usb.

depending on partition setup, may be fixable without a reinstall from install iso if your comfortable with the command line.
I'll try enabling efi on the VM. I could probably enable legacy from the BIOS too.

Thanks,
 
Old 12-23-2019, 08:03 AM   #6
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
Quote:
Originally Posted by Macky12 View Post
I'll try enabling efi on the VM. I could probably enable legacy from the BIOS too.
Test too if the BIOS allows booting FROM USB and if the partition on the USB key is marked as bootable (Linux boot loaders do not need that, BIOS does).

Last edited by ehartman; 12-23-2019 at 08:04 AM.
 
Old 12-23-2019, 10:19 AM   #7
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 4,914

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
To make usb bootable in both efi and legacy mode
Make room on the usb for an efi partition, maybe take about 250M from the boot partition if you have, and format as fat32 flagged as esp/ef00. then boot into the usb,
Code:
dnf install grub2-efi-x864-modules
I think that is correct a
Code:
dnf search grub2
will give a list of grub packages that are installable.
mount the newly created efi partition to /boot/efi then run
Code:
grub2-install --target=x86_64-efi --no-nvram --removable

Last edited by colorpurple21859; 12-23-2019 at 10:21 AM.
 
1 members found this post helpful.
Old 12-27-2019, 11:16 PM   #8
KenUnix
LQ Newbie
 
Registered: Dec 2019
Location: Pennsylvania
Distribution: linuxubuntu
Posts: 28

Rep: Reputation: 6
Does the Fedora version support UEFI ? If running Windows 10 you need that.
 
  


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
[SOLVED] Can I make a USB hard drive bootable with same procedure to make USB stick bootable? Tem2 Linux - Hardware 1 02-16-2019 09:25 AM
[SOLVED] UEFI BIOS not recognizing Linux EFI Bootloader (Dual Boot) eco_bach Linux - Newbie 16 12-21-2017 04:25 PM
Bootable USB Device with USB-ZIP BIOS oxblood Slackware 20 09-10-2009 02:35 AM
Unable to install Fedora 9 due to BIOS not recognizing CD; create diskette? drum1440@gmail.com Linux - Newbie 10 07-06-2008 01:23 PM
BIOS not recognizing IDE devices snakeo2 Linux - Hardware 3 01-09-2005 06:17 PM

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

All times are GMT -5. The time now is 08:35 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