Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
Attempted disk repair failed. All of gentoo got cleaned off that disk along with all partition data. I thought that disk had been wiped some time ago and my mistake was failing to check what was actually on that disk before trying to install gentoo on it. The good thing about this is, familiarit

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Michael
OK, the GPT Hybrid is a hack to allow legacy OSs which do know how to process GPT table structures to be able to access up to three partitions on the disk by creating MBR entries for them. Since you have a UEFI MoBo it is best you use GPT partitioning, with an ESP and the MoBo's UEFI firmware t

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
Thanks for the help on gdisk. I found both /dev/sda1 and /dev/sda3 are mbr and not gpt partitions. The weird thing was when setting these disks up fdisk offered to go into gpt hybrid as one of its menu choices. I didn't go in there thinking that /dev/sda was already gpt. -- Jude "There are four

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
I didn't run grub-install yet but emerged gentoo-kernel-bin so maybe that ran grub-install for me. I'll check with gdisk and thanks much for your help on this problem. -- Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." E

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Michael
We have the following IDs associated with block devices and their filesystem: 1. Partition type. For example the ESP with partition type 'ef00', has the GPT UID: Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI system partition) You can check this if you launch gdisk, press i, f

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
None of the uid's for sda1 sda2 and sda3 are displayed in efibootmgr. /dev/sda1 is vfat and /dev/sda3 is xfs. -- Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940. On Mon, 27 May 2024, Michael wrote: >

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Michael
The command: lsblk -f will reveal the UUID of the respective partitions. This is normally used in your fstab, unless you created this manually, in which case you can use logical names or filesystem labels. The efibootmgr will display the partition UUID where the .efi executable resides. You

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
I will always be installing from stage3 not the boot media since I can't bring up speakup and have it read everything on the screen after booting. I'm glad the script will be helpful for you and anyone else that can use it in my situation or who prefers to install starting with stage3. -- Jude

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Dale
Jude DaShiell wrote: > Here's the script I used to get from an existing system into the gentoo > environment to install the gentoo system. I started with stage3 and chose > openrc and went down that path. > > #!/usr/bin/bash > # file: sgentoo.sh - setup gentoo mounts > echo "once disk setup from g

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
grub-update found boot partition in /dev/sda3. The problem I now have is I cannot boot into gentoo. The efibootmgr program on original system shows no available gentoo boot drive and has lots of hex output so I can't locate /dev/sda3 in efibootmgr and all gentoo partitions I created have been chan

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
I think I fixed the problem by putting all of the boot stuff into the /mnt/gentoo/efi directory which has /dev/sda1 mounted to it. Reason I think that problem got fixed was I repeated the steps and iucode steps from emerge linux-firmware all the way down to emerge gentoo-kernel-bin and emerge didn

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Michael
Hi Jude, There are few decisions you have to make before you consider how to partition your disk, which affect where /boot may be located. 1. EFI System Partition (ESP) This is a GPT partition of type ef00 and formatted as FAT32, necessary for an EFI motherboard which is not configured to boot

Re: [gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
Here's the script I used to get from an existing system into the gentoo environment to install the gentoo system. I started with stage3 and chose openrc and went down that path. #!/usr/bin/bash # file: sgentoo.sh - setup gentoo mounts echo "once disk setup from gentoo handbook is complete" echo "

[gentoo-user] gentoo boot content in wrong partition

2024-05-27 Thread Jude DaShiell
After having followed the handbook I end up with /boot in /sda3 even though mount /dev/sda1 /mnt/gentoo/efi had been run and /dev/sda1 is vfat 32 format and is efi system. What did I do wrong? -- Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Pleas