SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all, I´m trying to run qemu+OVMF, to install slackware-current (AlienBOB iso), works fine with elilo, when I run the commands to install grub2 everythings seems fine but the boot still elilo.
During the install at the setup system phase do not install elilo. After the install is finished don't reboot but drop into a shell and run these commands
then exit and reboot and then grub should work fine. On your current install I would think uninstalling elilo and deleting it from /boot/efi then installing grub should do the trick, but I can't confirm since I haven't tried it.
During the install at the setup system phase do not install elilo. After the install is finished don't reboot but drop into a shell and run these commands
then exit and reboot and then grub should work fine. On your current install I would think uninstalling elilo and deleting it from /boot/efi then installing grub should do the trick, but I can't confirm since I haven't tried it.
Just out of curiosity, why are you using UEFI with your VM? Nothing wrong with that, but slackware-current will run just fine in qemu with legacy bios. Also when you run grub-install --target=x86_64-efi --efi-directory=/boot/efi/ --bootloader-id=grub does grub-install give you any errors?
Just out of curiosity, why are you using UEFI with your VM? Nothing wrong with that, but slackware-current will run just fine in qemu with legacy bios. Also when you run grub-install --target=x86_64-efi --efi-directory=/boot/efi/ --bootloader-id=grub does grub-install give you any errors?
OVMF is UEFI specific and among other things allows particular methods of GPU passthrough ("OVMF method").
I think you are missing the device argument of grub-install, like /dev/sda, to install grub2 in the boot sector and, in doing so, overwriting elilo.
I never tried in an emulated machine but on real hardware I also needed to mount the efivars filesystem (if not already mounted, you can check with "grep efivars /proc/mounts") for grub 2 to install correctly
works! I will do more tests and write some notes about it.
I will also try to add OVMF parameter file to test it.
Thank you guys!!!
Nice!
Jfyi this was a very fast written script for schoolkids. the idea was to easy download and run Slackware in a school for one day it might work until now idont know, but you can take a better idea about ovmf...
works! I will do more tests and write some notes about it.
I will also try to add OVMF parameter file to test it.
Thank you guys!!!
I have had to us the --removable flag on some Slackware installs lately. I didn't think to suggest it since you didn't say you were getting any errors during grub-install. Good thing rizitis thought of it .
Nice!
Jfyi this was a very fast written script for schoolkids. the idea was to easy download and run Slackware in a school for one day it might work until now idont know, but you can take a better idea about ovmf...
What is a little weird is that in case of your command grub-install does not warn that it discards the option --bootloader-id. I had to type "find /boot/efi to realize that.
Last edited by Didier Spaier; 05-01-2024 at 02:42 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.