Moving a Kernel Option into Grub?
by jakfish from LinuxQuestions.org on (#5MZCW)
With these instructions here:
https://handheld.computer/?page_id=1131#kernel
I was able to compile a 8.7mb monolith kernel for my One-Netbook A1. The rub is, this is a gentoo-based kernel running on my Linux Mint 19.3 xfce. "Make install" created a kernel panic, so I used installed this way:
Code:mount /dev/nvme0n1p1 /mnt/boot
cp arch/x86_64/boot/bzImage /mnt/boot/EFI/Boot/bootx64.efi
umount /mnt/boot
efibootmgr -c -d /dev/nvme0n1 -p1 -L 'Gentoo' -l '\EFI\Boot\bootx64.efi'Now I boot directly into the gentoo kernel, but is it possible to put this kernel option into grub so I can choose easily b/w gentoo and the generic ubuntu kernel?
Thanks for any advice,
Jake


https://handheld.computer/?page_id=1131#kernel
I was able to compile a 8.7mb monolith kernel for my One-Netbook A1. The rub is, this is a gentoo-based kernel running on my Linux Mint 19.3 xfce. "Make install" created a kernel panic, so I used installed this way:
Code:mount /dev/nvme0n1p1 /mnt/boot
cp arch/x86_64/boot/bzImage /mnt/boot/EFI/Boot/bootx64.efi
umount /mnt/boot
efibootmgr -c -d /dev/nvme0n1 -p1 -L 'Gentoo' -l '\EFI\Boot\bootx64.efi'Now I boot directly into the gentoo kernel, but is it possible to put this kernel option into grub so I can choose easily b/w gentoo and the generic ubuntu kernel?
Thanks for any advice,
Jake