Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Live USB UEFI

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
divoxx
n00b
n00b
Posts: 23
Joined: Wed Feb 23, 2005 1:54 pm
Location: San Francisco, CA

Live USB UEFI

  • Quote

Post by divoxx » Wed Jul 09, 2014 6:33 pm

Hey Guys,

I was wondering if anyone would know a way to boot the minimal installation iso or the live cd/dvd as EFI. Looking at the images, there is a bunch of .efi files which leads me to think that it couldn't be impossible.

For example, there is "gentoo.efimg" and "gentoo.efimg.mountPoint", which have a elilo.efi, a gentoo kernel and a folder efi/boot/ with bootia32.efi and elilo.msg. There is also another elilo.efi inside the isolinux folder. Could those be used to put together as a bootable UEFI USB?

I've been trying to find some information but can't really find new subjects on the topic.

Thanks a lot for any help.
Top
The Doctor
Bodhisattva
Bodhisattva
User avatar
Posts: 2678
Joined: Tue Jul 27, 2010 10:56 pm

  • Quote

Post by The Doctor » Wed Jul 09, 2014 7:55 pm

I was wondering if anyone would know a way to boot the minimal installation iso or the live cd/dvd as EFI.
No, it lacks support for that. Use the System Rescue CD instead. It has no problems with EFI and is functionally identical to the minimal CD except with a xfce (I think) and better hardware support.
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Top
srs5694
Guru
Guru
Posts: 434
Joined: Mon Mar 08, 2004 5:08 pm
Location: Woonsocket, RI
Contact:
Contact srs5694
Website

  • Quote

Post by srs5694 » Thu Jul 10, 2014 12:46 am

As The Doctor says, the path of least resistance is to use something else that explicitly supports EFI-mode booting.

If you're looking for a learning project, though, you can add an EFI-mode boot loader to just about any medium. (Doing it on optical discs is a big pain, though, so I recommend starting with USB flash drives.) Basically, you need a FAT partition with an "EFI/BOOT/bootx64.efi" file on it. That file should be ELILO, SYSLINUX, rEFInd, or some other EFI-mode boot loader or boot managers. You'll also need to provide it with a configuration file that will point the boot loader to the kernel and (if present) initrd file, and pass suitable options to it. You may need to figure out those options by studying the BIOS-mode boot loader on the medium. Figuring out how to "translate" to whatever EFI-mode boot program you use is up to you. For more on EFI-mode boot programs generally, see my Web page on the subject.
Top
chithanh
Retired Dev
Retired Dev
User avatar
Posts: 2158
Joined: Sat Aug 05, 2006 10:16 pm
Location: Berlin, Germany

  • Quote

Post by chithanh » Thu Jul 10, 2014 10:32 am

As the minimal install CD already uses ISOLINUX, it is possible to follow the LiveUSB guide, and then make the result EFI bootable.

For that change the partition type to EF (or EF00 on gpt), emerge >=syslinux-6, copy the files syslinux.efi ldlinux.e64 libutil.c32 menu.c32 from /usr/share/syslinux/efi64/ to EFI/Boot and rename syslinux.efi to bootx64.efi.

Then create a config file which does nothing but load the existing config file that came with the install CD:

Code: Select all

DEFAULT existing_config
PROMPT 0

LABEL existing_config
        CONFIG /syslinux.cfg /
Top
Post Reply

4 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic