added this insert
getting no where in Virtual Box … next is chroot in VB to install UEFI Void
xbps-install -S -R http://repo3.voidlinux.eu/current -r /mnt base-system grub-x86_64-efi
unable to find to locate ‘grub-x86_64.efi’ in repository pool
This dude in the coffee shop I hang at. He was updating Windows, two hours later I looked over and Windows was still going through its update process. Playing on his phone still because he could not even get into Windows to do anything due to it updating. That is when I told him that is one reason I do not use Windows. Then He asked what I was using. Linux. I told him, then within 2 minutes of conversation - I am now going to Install Linux onto his laptop for him. he is suppose to be coming in sometime today to do this.
His BIOS is new, with UEFI as the main default booting, with Legacy support. I had to turn on Legacy to get the BIOS to allow the VOID USB Live to even boot.
The BIOS gives a separate listing to access Legacy support. It shows UEFI boot sequence options, then Legacy boot sequence options. With it set up both UEFI and Legacy it still booted windows without error. I guess due to the two separate listings for boot sequence options. So it maybe able to keep it set like that without worry. but I do not think that will be able to by pass the UEFI for the grub to boot Linux as Legacy and if Windows is selected it will just boot that UEFI instead. so I maybe having to install VOID UEFI
He wants to keep Windows, I looked at the VOID wiki on how to install VOID for UEFI booting. I’ve been lucky and not have had to deal with this (crap) UEFI booting. But, now it looks like I am going to have to due to the way that BIOS is programmed, and keeping windows on that system.
So I am trying to get a few steps ahead of this to elevate any “what do I do now’s” I do not want to lose his windows, he does not have an install or repair dvd/cd to fix the mbr/boot partition for windows. He is going to leave with some type of Linux installed on it though, so that should not be a problem.
Hard drive is 4 separate partitions.
- OS and user space
where do I install Grub? as normally I’d just pick /dev/sda MBR
arch Wiki says to create a 1mb partition for UEFI
GUID Partition Table (GPT) specific instructions
reading this, how to install Void
then going to the partition page hot link
just using gptfdisk to Create, alter, remove, convert MBR to GPT and recreate partition tables from backup command line interface,
I should be able to just install Void in a normal install process and hope the grub takes automatically installing grub as UEFI Because it is a GPT hard drive and not MBR and skip all of that chroot install process, because that is a last ditch effort to get Void installed?
But grub will be looking for a UEFI as per this wiki
Void’s Grub install, by default, installs the *.efi file as
/boot/efi/EFI/GRUB/grubx64.efi However, some UEFI implementations look
for the file by a different name, and in a different subdirectory. If,
after installation to a UEFI-equipped machine, Void/GRUB is not detected
as a boot option, try one of the following solutions:
Just install Grub normally as one would a MBR install and hope for the best, and if that does not work then go to plan B?
which is what that says or do the chroot install of Void per these instructions.
Installation on UEFI, via chroot
this is fix the MBR to GPT problem?
We’ll use fdisk to write our GPT partition table:
confusing to me only because I’ve never dealt with UEFI and if this where my system I’d not even worry so much about this, I’d just hack around on it until I got it to work, if need be, taking in that I’d learn from that, but it is not my laptop.