bios -> uefi boot, because of: resizable bar need csm off
![](https://seccdn.libravatar.org/avatar/49cb915af8be4fe9eab238c594dee035.jpg?s=120&d=mm&r=g)
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, 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) 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" 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? 3) did i miss some important infos? thanks in advance. simoN -- www.becherer.de
![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/49cb915af8be4fe9eab238c594dee035.jpg?s=120&d=mm&r=g)
Hi andrei, Am 02.06.24 um 18:59 schrieb Andrei Borzenkov:
1) i do not have inside my /boot directory the efi subdirectory,
It is not subdirectory, it is mount point.
yes you are right, i was thinking first generate the directory's at my existing setup (by installing the correct rpm? / execute some command), then copy the files to the new partition, then generate the mount point. (as described inside the first link) - but without the files i am stuck here -
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.
i was not thinking about yast so that's a good point/posibility. for other things i use yast, and like it. what i am missing in yast is, its for me a "black box" i never know what files are touched, what commands are used, and why. (as example: if you write inside yast to the kernal commandline: mitigations=off it will be not recognized in yast. because there is a drop down menue "cpu-herabsetzung" this translation has not really something to do with "mitigrations" but that will set the mitigation command to the commandline. - such things created me headaches. so in this case, for touching boot/partition stuff i like to learn a bit and for this i really like to try to do with shell commands.
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.
as mentioned above, i really like to do with shell commands, of course in a way that it will be in future correctly automatically updated. - if i can get some help here - simoN -- www.becherer.de
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
On 2024-06-02 18: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:
Don't bother. I don't see the advantage. Enable UEFI mode in the "bios config" if you like, but don't bother migrating the disks, if they work in that mode. If you ever install again the system fresh, then let the installer do it. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
![](https://seccdn.libravatar.org/avatar/d44eef0af67eb8d1cea3abe443ba966a.jpg?s=120&d=mm&r=g)
Hello,
In the Message;
Subject : bios -> uefi boot, because of: resizable bar need csm off
Message-ID : <58280711-ea61-8d81-0c36-d437bcb9e2da@becherer.de>
Date & Time: Sun, 2 Jun 2024 18:44:29 +0200
[SB] == Simon Becherer
![](https://seccdn.libravatar.org/avatar/49cb915af8be4fe9eab238c594dee035.jpg?s=120&d=mm&r=g)
Am 03.06.24 um 02:32 schrieb Masaru Nomiya:
Hello,
In the Message;
Subject : bios -> uefi boot, because of: resizable bar need csm off Message-ID : <58280711-ea61-8d81-0c36-d437bcb9e2da@becherer.de> Date & Time: Sun, 2 Jun 2024 18:44:29 +0200
[SB] == Simon Becherer
has written: SB> opensuse tumbleweed:
SB> up to now, i have had no inducement SB> to change my harddrives from legacy boot to uefi boot.
SB> but now, i figured out that the full speed of the SB> graphic will need "csm" off in bios/uefi, to switch on SB> "resizable bar" [...]
I vote for Carlos.
mh, i do not think that i will in near future set up my systems new. the idea is more to have drives which i could put into systems without classic bios. and i do it like carlos, always update.... so in the past i have updated most of my harddrives/nvme's to gpt. now the next step will be get them bootable with uefi.
The fact that it is not at full speed is probably a problem with the video card settings.
What are you using for your video card?
ati, different types, more or less i am speaking of the game pc's of my child's, they have "modern" ati cards in (one i know without sitting at that pc: radeon rx 7900xt 20gb. when i google "resizable bar" i got a results that there will be a performance update after enable it (generally speaking for graphic cards). i personally do not care at my work pc's for that. simoN -- www.becherer.de
![](https://seccdn.libravatar.org/avatar/d44eef0af67eb8d1cea3abe443ba966a.jpg?s=120&d=mm&r=g)
Hello,
In the Message;
Subject : Re: bios -> uefi boot, because of: resizable bar need csm off
Message-ID : <6ad8b6ef-b825-e807-b932-5e629a104c0d@becherer.de>
Date & Time: Mon, 3 Jun 2024 10:03:21 +0200
[SB] == Simon Becherer
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
On 2024-06-03 12:03, Masaru Nomiya wrote:
Hello,
BTW, did you read this curious articles about ATI?
404 Page not found:/drm/amd/-/issues/1864 Go Home -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
![](https://seccdn.libravatar.org/avatar/150bb68600b6f4527c14c79e81e90f53.jpg?s=120&d=mm&r=g)
On Mon, 3 Jun 2024 14:40:01 +0200
"Carlos E. R."
On 2024-06-03 12:03, Masaru Nomiya wrote:
Hello,
BTW, did you read this curious articles about ATI?
404
Page not found:/drm/amd/-/issues/1864 Go Home
"Gitlab is currently under maintenance "We are migrating to Gitlab 17.0!"
![](https://seccdn.libravatar.org/avatar/49cb915af8be4fe9eab238c594dee035.jpg?s=120&d=mm&r=g)
hi masaru, Am 03.06.24 um 12:03 schrieb Masaru Nomiya:
Hello,
In the Message;
Subject : Re: bios -> uefi boot, because of: resizable bar need csm off Message-ID : <6ad8b6ef-b825-e807-b932-5e629a104c0d@becherer.de> Date & Time: Mon, 3 Jun 2024 10:03:21 +0200
[SB] == Simon Becherer
has written: [...] MN> > What are you using for your video card?
SB> ati, different types, more or less i am speaking of the game pc's SB> of my child's, they have "modern" ati cards in (one i know SB> without sitting at that pc: radeon rx 7900xt 20gb. SB> when i google "resizable bar" i got a results that there will be SB> a performance update after enable it (generally speaking for SB> graphic cards). i personally do not care at my work pc's for that.
In the case of nvidia, we can set Maximum Performance through the nvidia-settings utility.
BTW, did you read this curious articles about ATI?
no, i do not think i know. but link did not work, is it correct? i see gitlab did some updates at the moment. so if its correct, i have to wait for the page comming up again. simoN -- www.becherer.de
![](https://seccdn.libravatar.org/avatar/d44eef0af67eb8d1cea3abe443ba966a.jpg?s=120&d=mm&r=g)
Hello,
In the Message;
Subject : Re: bios -> uefi boot, because of: resizable bar need csm off
Message-ID : <99c25487-cfd0-31f5-d0c5-123a06be970a@becherer.de>
Date & Time: Mon, 3 Jun 2024 14:43:05 +0200
[SB] == Simon Becherer
![](https://seccdn.libravatar.org/avatar/d44eef0af67eb8d1cea3abe443ba966a.jpg?s=120&d=mm&r=g)
Hello,
In the Message;
Subject : Re: bios -> uefi boot, because of: resizable bar need csm off
Message-ID : <87jzj5113z.wl-nomiya@lake.dti.ne.jp>
Date & Time: Tue, 04 Jun 2024 18:57:52 +0900
[MN] == Masaru Nomiya
participants (5)
-
Andrei Borzenkov
-
Carlos E. R.
-
Dave Howorth
-
Masaru Nomiya
-
Simon Becherer