On 02.06.2024 19:44, Simon Becherer wrote:
Hi,
opensuse tumbleweed:
up to now, i have had no inducement to change my harddrives from legacy boot to uefi boot.
but now, i figured out that the full speed of the graphic will need "csm" off in bios/uefi, to switch on "resizable bar"
still i do not understand what has the amount of data to be transferred to the graphic card has to do with the way bios/uefi is searching for the start sequence of the operating system. maybe i am to stupid. :-((
so now i need a little help:
i have serveral tumbleweed installations, the easiest look like:
Disk /dev/sda: 11721045168s Sector size (logical/physical): 512B/4096B Partition Table: gpt Disk Flags:
Number Start End Size File system Name Flags 1 34s 2047s 2014s grub bios_grub 2 2048s 11721041919s 11721039872s ext4 Linux filesystem legacy_boot 11721041920s 11721045134s 3215s Free Space
they are booting fine with csm on.
i like to convert them to uefi boot, have read here:
https://www.redhat.com/sysadmin/bios-uefi https://superuser.com/questions/1310927/what-is-the-absolute-minimum-size-a-... https://www.linuxfromscratch.org/~ken/inkscape-python-deps/blfs-book-sysv/po...
so i think i have a good base to do.
i think i will come to the point where i will have a fat partition.
then i have to copy the efi files to that partition.
here is my problem
1) i do not have inside my /boot directory the efi subdirectory,
It is not subdirectory, it is mount point.
so, what rpm did i have to install to get the files, so that i am able to move them later on to the fresh generated fat partition? (i like to have only the absolute necessary files on this partition, to hold this partition very small)
Add /boot/efi mount point, change bootloader to grub2-efi in YaST, it will do what is needed. You may need to install grub2-x86_64-efi before, I am not sure if YaST will do it automatically.
2) what command did i have to use after i have a fat partition and the files in. grub2-install --target=x86_64-efi /dev/sda is mentioned inside the link "https://www.redhat.com/sysadmin/bios-uefi"
You will need to change bootloader in YaST so that is will be properly updated in the future. YaST will install bootloader.
will this harddrive then also be booted in a legacy bios, or if i like to have both boot possibility's did i have to use another command?
It will as long as MBR and the content of bios_grub partition are preserved. It will not be updated anymore, so theoretically it could become incompatible with future grub2 changes and future generated grub.cfg.
3) did i miss some important infos?
thanks in advance.
simoN