On 2022-11-16 14:49, David T-G wrote:
Andrei, et al --
...and then Andrei Borzenkov said... % On 15.11.2022 21:13, David T-G wrote: % > % > ...and then Andrei Borzenkov said... % > % On 05.11.2022 18:30, David T-G wrote: % > % > % > % > I've just gone back in again, and I see that. Of course, I am still VERY % > % > confused at how this % > % > % > % > davidtg@jpo:~> sudo parted /dev/sda p free ... % > % > Partition Table: gpt % > % > Disk Flags: pmbr_boot % > % > Number Start End Size File system Name Flags % > % > 17.4kB 1049kB 1031kB Free Space ... % > % be grub2 or could be Syslinux gptmbr or something else. If you want the % > % definitive answer, you need to show bootinfoscript output. % % => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector % 105657120 of the same hard drive for core.img. core.img is at this % location and looks for (,gpt2)/boot/grub2. It also embeds following ... % Sector 105657120 is inside /dev/sda2 % % Partition Attrs Start Sector End Sector # of Sectors System % /dev/sda1 2,048 69,208,063 69,206,016 Swap partition % (Linux) % /dev/sda2 69,208,064 136,316,927 67,108,864 Data partition % (Linux) % % and /dev/sda2 seems to be your root partition % % Device Mount_Point Type Options % % ... % /dev/sda2 / xfs % (rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)
I follow that so far. Thanks.
% % grub modules in core.img match it (grub needs gpt and xfs drivers to access % root partition to read kernel etc). % % All of this explains how does it work.
But ... There is no boot partition, and everyone has been telling me that I need a boot partition on a GPT disk, so I am still quite confused as to how this can boot.
I don't want to waste a boot partition and would love to know how to not have to bother with it. Something broke on diskfarm and I could never get it working again. Here I have a still-working happy system, and I'd love to understand it so that I can replicate it.
Please stop saying that you need a "boot partition". What you need is a "BIOS boot partition". I though I had explained the differences. As Andrei explained, it is possible to do without it, but it is more complex and has nuances, so YaST properly insists that you need a BIOS boot partition. -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)