Forums

Skip to content

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

[Solved] Where to put the vmlinuz and initramfs

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
Nima0908
Tux's lil' helper
Tux's lil' helper
Posts: 100
Joined: Mon Feb 24, 2025 7:47 pm

[Solved] Where to put the vmlinuz and initramfs

  • Quote

Post by Nima0908 » Mon Mar 02, 2026 8:51 pm

Hello,
for my new gentoo install i decided to switch to limine instead of grub and sadly ran into an issue which i cant seem to fix (to my liking atleast). The problem is that for it to boot i (obviously) need limine to have access to vmlinuz and the initramfs, but they sit in my /boot on my root partition while limine (obviously) sits on the efi partition. That means that while booting, limine doesnt have access to it. My sollution till now was to copy everything over to a subdir /boot inside the EFI dir so limine has access which works, but iam really unhappy with the sollution as iam pretty sure there are better ones. Does anyone know how i could do that better? Thanks for your time and answers :)
Last edited by Nima0908 on Mon Mar 02, 2026 9:58 pm, edited 1 time in total.
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Mon Mar 02, 2026 9:33 pm

If limine (which I dont know) needs the kernel (and initramfs) in the ESP (because it is not able to access the root partition) then I guess the easiest solution is to go back to a solution we had in the past: Mount your ESP to /boot (instead /efi).

See more here: https://forums.gentoo.org/viewtopic-t-1 ... ight-.html
(I mean the solution 1 we had as default in our Handbook)
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Mar 02, 2026 9:38 pm

Nima0908,

It's a feature, not a bug. The limine home page say that it only supports vfat and iso9660.
You cannot install linux to a vfat partition and iso9660 is read only.

If you want to use limine, all the files it needs to read must be on the ESP (which must be vfat,) somewhere.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2180
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Mon Mar 02, 2026 9:47 pm

I am interesting on all thing boot, so I did a quick look on PHILOSOPHY.md. Apparently limine take a strong stand on NOT support additional file system beside FAT and your rootfs I presume is not FAT based filesystem, that mean limine will not able to follow some forms of path logic to find any files.

In theory it is possible to use UEFI simple access logic but I don't see any support in limine config file on how to specify UEFI PCI based offset.

alternative you can use chain-loading to another boot loader (grub for example) then have this third boot loader to load kernel/initramfs. I choose grub as example because I know how to create a standalone fixed configuration so it will go straight to load kernel without prompt.
Top
Nima0908
Tux's lil' helper
Tux's lil' helper
Posts: 100
Joined: Mon Feb 24, 2025 7:47 pm

  • Quote

Post by Nima0908 » Mon Mar 02, 2026 9:57 pm

Thanks for all your answers. I guess ill go back to using /boot then.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Other Things 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