On Fri, Jan 24, 2014 at 3:30 PM, James <wirel...@tampabay.rr.com> wrote:

> Grub2 on gentoo, seems a bit confusing. I guess
> I've just read too much that is system dependant ( version of grub2?)
> (and to think the purpose of Grub2 was/is standarization?)
>
>
> So I simple want to be able to add multiple linux kernels
> to boot from. Many are experimental hacks, so I keep
> quite a few around..... eventually, there will be
> a windows7 boot need on lappys and tablets too.
>
> Some reading suggests to simply build the kernels, and
> put them in /boot/....  with acceptable namees like:
> "kernel-3.10.25-gentoo" and they will automactically
> appear in the boot menu? No limit to the number of
> images?
>
> Some pages suggest manually editing the grub.cfg file,
> but I've also read that this is overwritten by the scipts
> and info found in /etc/grub.d. I running Grub 2.00_p5107-r2.
>
> I like to keep multiple version of kernels, complete sources
> etc and keep several if not many of the bootable kernels
> in /boot/.
>
> Ideas and suggstions on how a grub(legacy) guy should approach
> this need, with grub2 are most welcome. Just so you know, I
> envision in the next 12 months to have many different arm(64)
> systems using grub2 also (linaro has grub2 working on arm and
> arm64); so a clean, well thought out strategy of similar
> approaches to grub2 on many differnt arch's is what I'm really
> after....
>
> Also while we discussing grub 2, it boots blind (no feedback)
> and takes too long to boot (estimated 5 minutes) : really slow
> so what do I change there?   No systemd on my systems.....
>
>
> TIA,
> James
>
>
>
>
​Hi James,

If you put the kernels in /boot with proper names and launch:

​ grub2-mkconfig -o /boot/grub/grub.cfg

Grub will set up the kernels for you.

If you want (not likely)  to create a manual entry, put it in
/etc/grub.d/40_custom


-- 
  Andrés Becerra Sandoval

Reply via email to