View previous topic :: View next topic |
Author |
Message |
UnderTaket n00b

Joined: 10 Oct 2023 Posts: 19
|
Posted: Mon Mar 10, 2025 5:00 pm Post subject: GRUB won't load when using gentoo-kernel-bin |
|
|
Hello,
I'm missing something, but I can't figure out what.
I'm installing gentoo on a VM as usual, except for one nuance. I decided to try not gentoo-source with subsequent kernel compilation, but gentoo-kernel-bin.
The disk is marked as follows:
Code: |
Disk /dev/sda: 100 GiB, 107374182400 bytes, 209715200 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 49457C66-4167-4FED-8469-F25F9E31BDDD
Device Start End Sectors Size Type
/dev/sda1 2048 2099199 2097152 1G BIOS boot
/dev/sda2 2099200 209713151 207613952 99G Linux filesystem
|
blkid:
Code: |
/dev/sda2: UUID="a3b3d704-3416-4325-9e43-680e765ec72f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="3bf86cca-1e55-4a4b-baa8-d743ca13380f"
/dev/sda1: UUID="378a4c12-552b-4dc1-b611-6b6301cb6cef" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="8b9fccfb-e01c-4dcd-8c2d-31cb0b1537ca"
|
fstab:
Code: |
UUID=378a4c12-552b-4dc1-b611-6b6301cb6cef /boot ext4 defaults 0 2
UUID=a3b3d704-3416-4325-9e43-680e765ec72f / ext4 defaults 0 1
|
ls /boot:
Code: |
drwxr-xr-x 6 root root 4096 Mar 10 23:27 grub
-rw------- 1 root root 11317584 Mar 10 23:26 initramfs-6.12.16-gentoo-dist.img
-rw-r--r-- 1 root root 20290544 Mar 10 23:26 kernel-6.12.16-gentoo-dist
|
eselect kernel list:
Code: |
Available kernel symlink targets:
[1] linux-6.12.16-gentoo-dist *
|
When booting, I only see:
Code: |
Booting from Hard Disk...
GRUB _
|
Perhaps I didn't perform some actions when installing the bin kernel, I run the installation like this:
Code: |
echo "sys-kernel/installkernel dracut" > /etc/portage/package.use/installkernel
emerge --ask sys-firmware/intel-microcode sys-kernel/linux-firmware sys-kernel/gentoo-kernel-bin
emerge --ask @module-rebuild
emerge --config sys-kernel/gentoo-kernel-bin
|
grub:
Code: |
echo 'GRUB_PLATFORMS="pc"' >> /etc/portage/make.conf
emerge --ask sys-boot/grub:2
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
|
Perhaps you will notice what I'm missing? |
|
Back to top |
|
 |
pingtoo Veteran


Joined: 10 Sep 2021 Posts: 1527 Location: Richmond Hill, Canada
|
Posted: Mon Mar 10, 2025 5:14 pm Post subject: |
|
|
What is your hypervisor? Qemu? Virtualbox? |
|
Back to top |
|
 |
UnderTaket n00b

Joined: 10 Oct 2023 Posts: 19
|
Posted: Mon Mar 10, 2025 5:30 pm Post subject: |
|
|
pingtoo wrote: | What is your hypervisor? Qemu? Virtualbox? |
Proxmox KVM |
|
Back to top |
|
 |
grknight Retired Dev

Joined: 20 Feb 2015 Posts: 2053
|
Posted: Mon Mar 10, 2025 5:48 pm Post subject: |
|
|
Where is your unformatted 2MB BIOS Boot partition so grub can write supplemental data? It cannot be the same as /boot that you have as ext4. |
|
Back to top |
|
 |
|