Trying to install Gentoo on a virtual box and it's not letting me install GRUB2 for some inane reason.Any help?
>>61428278why did you make a gpt partition table?it's confused because it thinks that you are booting in efi mode, even though you don't have an efi boot partition
It seems that you have not partitioned your disk correctly. I'd recommend going back to the part of the handbook where you partition your disk.
>>61428278Is the bootable flag on? Is the /boot partition a format that can have GRUB, such as ext2?Have you created the partition correctly?
>>61428278It's because you lied and sacrificed a baby to Bill Gates. Linux JUST WERKZ! Kek.
>>61428278make /boot an EFI partition
>>61428353GPT uses 64-bit identifiers. I thought it was correct to go with the GPT method.>>61428370Pic related is my fstab file where I configured the boot order.
>>61428380>Is the bootable flag on? If it said to do so in the doc then probably.>Is the /boot partition a format that can have GRUB, such as ext2?Yes.>>61428455>make /boot an EFI partitionDo you know how? I can't use parted anymore because I've chrooted.
>>61428482Here's my config also.
>>61428465read thishttps://wiki.archlinux.org/index.php/GRUB#GUID_Partition_Table_.28GPT.29_specific_instructions>On a BIOS/GPT configuration a BIOS boot partition is required. GRUB embeds its core.img into this partition.
>>61428499if you don't want to mess around with >>61428514 just repartition into mbr
>>61428532If I need to repartition does that mean all my progress gets nullified?
>>61428553whatever you have on the virtual hdd gets nullified, so I guess
>>61428578That's bullshit. It took me all day to get this point without a mistake, and this insignificant shit fucks the entire thing? I followed the manual step by step and double checked.
>>61428606you should have informed yourself about what booting from gpt requiresthis was your choice
>>61428679I thought I did know what it required.If I didn't wouldn't you think I'd make a mistake earlier?
>>61428737You did make a mistake earlier.
>>61428781You used GPT without reading the GPT documentationperhaps you should install ubuntu instead
echo 'GRUB_PLATFORMS="efi-64"' >> /etc/portage/make.confemerge --ask --update --newuse --verbose sys-boot/grub:2grub-install --target=x86_64-efi --efi-directory=/boot
>>61428606I've never booted from gpt myself, but if an extra boot partition is all it needs, why not make space by shrinking some partition and create it
>>61428831Didn't work (Pic). I don't why it's telling me boot is not EFI, because when I first created it, it had esp flags.>>61428891I don't know a means of doing so in chroot.
>>61428940you have a vm just attach your favorite recovery iso and boot that
>>61428940>I don't know a means of doing so in chroot.leave the chroot, unmount whatever you have mounted, google how to shrink a partition on the command line and do it faggot
>>61428278can you lsblk? also does your vm default to EFI or BIOS?
>>61428940>>61429003btw you don't have to do it on the command line, you can just boot a live ubuntu iso or something and shrink via gparted and make the boot partition
>>61428940post fdisk -l
>>61429011read the thread faggothis "issue" is already solved
>>61429011EFI - boot partition wouldn't have had esp flag otherwise.
>>61429060try mount /dev/sda2 /bootthengrub-install --target=x86_64-efi --efi-directory=/boot
>>61429086see >>61429044>>61429081>>61429060see >>61428514either make the damn boot partition or repartition into mbr
>>61429181>either make the damn boot partition or repartition into mbrI'm still looking for a way to solve this without nullifying my day long progress.
>>61429208then make the damn boot partitionboot a live iso with gparted, shrink whatever you've got there, and the partitionif this is too hard for you, then you're beyond retarded
>>61429241>and the partitionand create the partition*
>>61429208you've only got 2 choices m8
>>61428278The error says that your boot partition is not an EFI partition.Looking at your fstab, I can see that you mount /dev/sda2 as /boot and it is an ext2 partition. Unfortunately, EFI can work only with fat32 filesystems. You need to unmount /boot and format it as fat32.# umount /boot# mkfs.vfat -F 32 /dev/sda2change ext2 to vfat in fstab# nano /etc/fstab# mount /bootDon't forget to set boot flag on that partition>how to do if I'm chrooted?simply type exit command:# exitYou are now not chrooted.Set boot flag# parted /dev/sda set 2 boot onNow chroot again# chroot /mnt/gentoo /bin/bashNow you can install grub:grub2-install --target=x86_64-efi --efi-directory=/boot
>>61429280he's booting from gpt via biossee >>61428514
>>61428321>>61428332thank you sherlock
>>61429280here's proof that he's booting via bioshttps://www.virtualbox.org/manual/ch03.html#efi>By default, VirtualBox uses the BIOS firmware for virtual machines. he needs the boot partitiion if he's gonna boot gpt from bios (which he doesn't have)
>>61428606>without a mistakeyour mistake was trying to use gpt/efi instead of mbr/bios
>>61429415he was trying to use gpt/bios
gpt doesn't works in virtualbox, try mbr or even msdos.But if you really want gpt use qemu
>>61429431oh then all of my why
>>61429435>gpt doesn't works in virtualboxit doeswhat doesn't work is booting gpt from bios without the boot partition>mbr or even msdosliterally the same thing
>>61429435>gpt doesn't works in virtualbox, try mbr or even msdos.lmao
>>61428278The partition isn't formatted right. Is it fat32 or ext3?
just use mbr/bios there is literally no reason to do otherwise unless you have severe crippling autism
>>61429562read the thread before replying>>61429318>>61429391
Gentoo is a meme, install arch linux. It's what professionals use.
don't listen to this faggot >>61429605install Source Mage GNU/Linux