Forums

Skip to content

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

Grub Installation Issues

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
7 posts • Page 1 of 1
Author
Message
StevenC21
n00b
n00b
Posts: 63
Joined: Thu Jun 07, 2018 1:04 pm

Grub Installation Issues

  • Quote

Post by StevenC21 » Sun Jun 10, 2018 2:34 pm

Hey, its me again, this time having a critical issue installing grub. I'm on amd64, and when I run

Code: Select all

grub-install --target=x86_64-efi --efi-directory=/boot
The system returns

Code: Select all

grub-install: error: /boot doesn't look like an EFI Partition.

Any help?
In addition, /boot is formatted as ext2. Is this the issue? If so, how can I fix it?
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Sun Jun 10, 2018 2:52 pm

The EFI System partition must be formatted FAT because EFI does not understand EXT2.
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
StevenC21
n00b
n00b
Posts: 63
Joined: Thu Jun 07, 2018 1:04 pm

  • Quote

Post by StevenC21 » Sun Jun 10, 2018 3:04 pm

Crud. Well, what steps will I need to redo? Besides using fdisk to format it of course.
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Sun Jun 10, 2018 3:15 pm

I don't know what you have on your /boot right now, but you need an EFI system partition formatted FAT. How do you have your disk partitioned at the moment?

On my EFI machines, I don't have way too much sensitive stuff so GRUB is installed on the EFI system partition. So it might be as simple as converting that EXT2 partition to FAT by copying everything off, mkfs.fat that partition, and copying everything back.

Note that long file names and attributes may be lost, so this might not be good for you...
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
Hu
Administrator
Administrator
Posts: 24385
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Jun 10, 2018 3:41 pm

You say that /boot is formatted as ext2. Is it correct to say that you made a separate partition just for /boot, and that is the partition formatted as ext2? If so, then the fix is easy, because you will have very little that needs to be moved.
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Sun Jun 10, 2018 11:09 pm

For people following along, the related thread has more information - specifically, we're trying to install on a virtual machine, of which the virtual machine may actually be running MBR boot though the host may use EFI. Need clarification before the proper solution can be found...
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
olger901
l33t
l33t
Posts: 625
Joined: Thu Mar 17, 2005 7:15 pm

  • Quote

Post by olger901 » Wed Jun 13, 2018 7:19 am

Can you show us your partition layout using cfdisk or a print from parted, then we'd be able to provide you with steps to undertake to resolve the issue. The point is that a GPT partition always needs a partition to be a FAT32 formatted partition and needs to be at least 128MB in size. Also see: https://en.wikipedia.org/wiki/EFI_system_partition for more details.
Top
Post Reply

7 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