Dual-booting Windows 11 & Bazzite with Secure boot enabled
ฝัง
- เผยแพร่เมื่อ 27 ก.ค. 2024
- In this video we are going to setup a dual boot of Windows 11 and Bazzite (on the same disk). You'd want Windows 11 for any games that do not work at all in Linux. This setup will allow you to have the best of both worlds.
Note: that not all pc manufacterers use ESC to enter the BIOS screen. Also note that I am using Virtualbox so I can easily show the full boot process
NB!! When you get to the MOK management screen the passphrase has changed to "universalblue", it's no longer "ublue-os".
Timestamps
00:00 Introduction
01:14 Installation checklist
01:59 Getting the right Bazzite ISO
02:58 Ventoy, Rufus or Etcher
03:35 Using Ventoy for booting multiple ISO images on a USB flash
05:19 Shrinking space in Windows 11 for another operating system
06:13 Temporarily disabling Secure Boot
07:20 Booting Ventoy and starting the Bazzite install
08:17 Bazzite installation
10:47 Add the Bazzite Secure boot passphrase in MOK management
11:48 Wait for Bazzite setup before boot
12:02 Bazzite setup wizard
12:43 Enabling Secure boot again (optional)
13:19 Check that Secure boot is enabled in the terminal
13:34 Conclusion - แนวปฏิบัติและการใช้ชีวิต
NB!! Note that the MOK password is now "universalblue" and no longer "ublue-os"
When dual booting linux with windows 11 on secure boot , best call in an exorcist first to bless the place and banish any evil spirits...
🤣🤣🤣🤣 You made my day, thank you!
@@mikes-tech-tips Yu Mo Gui Gwai Fai Di Zao
Great video, well explained, kindly tone. Clearly, you are thoroughly knowledgeable.
Thank you so much for the compliment!
Thank you for watching this video, note that if you select AMD or Intel Arc for your graphics card while picking the options before you download Bazzite, you have the option to select "Steam Gaming Mode". This isn't available for NVidia GPU users, however, that might change once the open-source NVK driver is released and stable.
Your voice is so awesome and clear for tutorials.
Thank you so much for the compliment :)
Could do without the constant mouth moistening sounds though. RIP misophonia sufferers.
@@rzr82 just turn on your anti mouth moistness eq u foolish fool
Nice video. Thanks ❤❤
Thank you! this is a great video!
Thank you. Glad that the video helped
thanks for this :)
It's a pleasurer. Hope you have fun with Bazzite! :)
Thanks for this walkthrough , could you clarify what is the expected end result in terms of user experience. I can dual boot but by changing the boot entry in the bios, are we suppose to get a grub bootloader or the windows bootloader with the two operating systems as a final result ?
If you'd like to have a nice full screen operating system picker, you can use a tool called rEFInd_GUI. I don't know about this tool when I created my dual booting video.
I'm planning on making a future guide for it. Although I found that I just changed the boot order to put Bazzite first as I don't log into Windows nearly as much.
@@mikes-tech-tips Just installed the refind via USB Stick and it's working perfectly, just left the default install and i got now a bootmenu and i can update the themes
@@greatcocococo6858 That's great news!!! I hope that you enjoy Bazzite. Remember to join the Bazzite discord if you haven't already.
@@mikes-tech-tips would love the video with rEFInd!
@@YaseenHQ That's a good suggestion. Thank you
any on can help me. im stuck in 99% when proses installing steam deck.
Hey mike, awesome vid. I installed bazzite, games, zoom, slack and other stuff for work no probs. However bazzite keeps booting straight into deck/game mode which is awful for me. Controller wont connect via BT anyhow unless in desktop. Do you know how I can disable game mode/change the way it boots?
I'm glad that almost everything is working for you. I'm going to assume that you used KDE as the desktop environment. Open desktop mode >> Open {System Settings} in the menu >> {Login Screen (SDDM)} >> {Behaviour}.
* check "Automatically log in"
* Select your user for "as user"
* Then select Plasma for "with session"
When you click on apply it might give you an error message but the auto login change should take effect and it will log into desktop mode by default.
If you don't come right, have a look at the Bazzite discord server and log a help request in "bazzite-help" for further assistance.
So games are using my ryzen 9 7950x3d GPU instead of my rtx 3070 gpu how do i make sure theyre using my nvidia gpu instead?
There is a terminal tool called switcherooctl that ships with Bazzite. You'd run `switcherooctl list` and get the id of both GPUs then you can force a specific GPU with `switcherooctl launch --gpu=gpu-id path/to/your/application` just fill in the gpu-id and the path to your application.
More details of the tool here man.archlinux.org/man/switcherooctl.1.en
Do you know how much space a standard Bazzite installation takes up on its own? I plan on storing all my games on an external drive, and am trying to allocate only what’s needed to preserve storage on my main OS. I’ve looked in browser and in countless tutorials and forums but can’t find an answer.
The Bazzite documentation recommends a minimum of 50GB free disk space (universal-blue.discourse.group/t/bazzite-inital-setup-and-installation-for-htpc-setups/1145 but you can get past the installer with 25GB of disk space last I installed Bazzite on a virtual machine for testing.
i'm on Pop!_os and i'm thinking about giving this a try because i want to play valorant again.
Does this still function properly for nvidia graphics users?
And I'm using separate SSD's for the installs of windows and bazzite will that still enable the window boot manager to show up on the boot menu? or do i have to keep changing which drive is the boot drive every time i want to switch?
Unfortunately, Valorant will not work in any Linux distro due to the anti-cheat software. Have a look at "Are We Anti-Cheat Yet?" to see which games don't work due to anti-cheat.
Nvidia is supported but you might want to wait until the Nvidia 555 driver is released for Linux which should be in the next week or so. I usually just boot by via boot menu if I want to boot Windows but you can use refind if you want a nice OS boot selector on startup.
@@mikes-tech-tips I use Grub2Win as my boot loader having sevral linux installations and Win11.
I can’t figure out why SecureBoot disabled shows to me when I use mokutil… I activated it on bios (choosing efi instead of os), but it’s still showing disabled. I’ve got an asus b450 prime, anyone knows what I could be doing wrong?
Sometimes secure boot can be enabled but it's in the mode of enrolling new keys, so it will show has enabled but actually not be enabled.
Your best bet would be to google "asus b450 prime cannot enable secure boot", there are a couple of Reddit threads that might help
how am i gonna expand the disk after installing linux because many software wont let me grow it if its not next to the boot drive
You cannot expand a partition that is currently active. So what you'll typically need to do is boot a live ISO of Ubuntu/Mint/Fedora, fire up Gparted and expand the partition. You should be able to move the partition (in Gparted) too.
Just note that it's a good idea to backup your data when adjusting partitions.
@@mikes-tech-tips alr
You stated that the ubkey option was a component of secure boot. However, you disabled sceure boot?
Good question. From what I understand, even if secure boot is disabled, you can still get into the MOK screen if the OS that you are installing triggers it. This allows you to enroll a new key so you can enable secure boot again after the install is complete.
If you don't want to enable secure boot, you can just skip the MOK screen part and just continue with the install.
OK. I just again. When you rebooted at the ind of the install...did you remove the Ventoy usb first?
I don't think that I removed the Ventoy drive, there was no reason to as the ventoy drive had a lower boot priority. But you might need to remove the USB flash drive first if your machine is set to first boot from USB.
Ok. Did mention my computer was ancient? It runs windows 10, but was designed to run 7. It ir uses UEFI, but I'm sure its an acient version. I dont have a boot order. It just has winows boot loader. I just use the one time boot option (F12 on my computer). After it gets done installing it just returns to Ventoy on the USB. When j try and remove the USB, it tells me it doest find a bootable drive. JUST a bit frustrating.
@@MrCauphy I suspect that Winows 10 might have been installed with legacy boot mode rather than efi boot. I haven't tried dual booting with that setup before. The simplest solution imo would be install to a completely separate disk or even a very fast external ssd drive. Test drive Bazzite that way rather. If you enjoy it then only figure out the dual boot on same disk option.
8:58 unable to allocate requested partition scheme? I have 1TB extra unallocated
What I think you are seeing here is that you are using the old MBR partitioning scheme, this only allows a maximum of 4 partitions on a harddrive only supports drives of up to 2TB. So what is happening is Windows is probably using 3 partitions and Bazzite is trying to use 2 exceeding the 4 partition maximum.
I'd be very weary with dual-booting with MBR as Windows will override Grub (the Linux boot manager) on updates. You would probably be able to proceed by selecting the option to manually configure the partitions, but proceed with caution.
@@mikes-tech-tipsunfortunately no, GPT, all partitions are GPT on it. Newly formatted NVME M.2 SSD from a few weeks ago. Heres a more specific error "log" of sorts:
Failed to find a suitable stage1 device: EFI System Partition must be mounted on /boot/efi.; EFI System Partition cannot be of type None.; EFI System Partition cannot be of type ntfs.;EFI System Partition must be mounted on one of /boot/efi.; EFI System Partition cannot be of type ntfs.; EFI System Partition must be mounted on one of /boot/efi.
None of this really makes sense since I followed the guide to a T (albeit with Windows 10) and my EFI partition is totally untampered from a fresh windows install as of a few weeks ago. I tried a new flashing method (etcher instead of ventoy) alongside a new USB and USB port, same thing. Manually partitioning in the Fedora installer does nothing, it doesnt let me edit any partition. Lexar 4TB NM790
And as per usual all Linux guides around this topic are vague beyond belief or way too explicit to know what theyre even asking me to do. "Changing mount points" is not straightforward in ANY GUI I've used. Edit: apparently it is "boot flags" in GParted, explained in one obscure video. My windows EFI partition has /EFI/BOOT, not /boot/efi. Which is standard.
@@M_CFVThanks for the detailed information Matt. I'm going to try and simulate a fresh install of Windows 10 using EFI, GPT partition etc and follow the instructions like you are doing. I want to see if I get the same errors. Will keep you posted
It looks like a standard Windows 10 install works correctly. I'm wondering if the boot flags issue you encountered only occurs on very large capacity drives like the Lexar 4TB NM790. Did you manage to install Bazzite in the end?
Hi, after a successfully installation. I can’t boot anymore. I receive the message BlinitializeLibrary failed 0xc00000bb.
I’ve tried with MediCat to fix it without any luck. I’ve removed the partitions, rebuild the bcd, bootsectors. Enabled CSM. Disabled/cleared Secure boot. Disabled (asus z690 hero) security device support. (That worked only for plain installation of Bazzite). Above 4G Decoding can’t be disabled. Re-Size BAR support is disabled. Cleared the CMOS. Bios is uptodate. Switching the XMP profiles without any luck. Idk how to fix that. :(
Sorry to hear that you having trouble. A few things to try:
* Boot a live Ubuntu/Mint and install the boot-repair package. That will sometimes fix Windows boot issues
* While you in the live distro, is the Windows partition mountable and can you see the files? If you didn't make a backup if you can get to the filesystem you can make that backup.
* There is a tool called ntfsfix (available in most Linux disros) that I've used in the past to fix a broken Windows boot (was a hibernation gone bad) in my case.
Worst case scenario, you might need to re-install. Hope you come right. Good luck.
@@mikes-tech-tips thank you very much for the help. Unfortunately I can’t fix it. I’ve also mounted the sys hive into the regedit for changing some entries. It won’t work with the board. Maybe it’s a asus think. Even ventoy has a fix for the uefi bug but still don’t work. Reinstallation and restoring the files is easier and faster and don’t costs 2 days and a headache. :)
What's your accent? It reminds me of Australian, but I'm not very good with accents
Also, i keep getting an error code 1 when trying to install, ostree container image deploy. How do i fix this?
It's a South African accent which does have some similarities to the Australian accent.
I have another video on the "error code 1", you'll often get that error if you previously installed Fedora workstation, Nobara or another Fedora Atomic Desktop. See if this helps th-cam.com/video/GRdz08hJByo/w-d-xo.html . It's an annoying error that is affecting every Atomic Desktop.
I've tried this OS 3 times and each time I get different issues and as a pain to fix, i'm just going to roll my own with Linux Mine and using the GampadUI trick.
Sorry to hear that Bazzite didn't work for you. Good luck! I hope Linux Mint with the GamepadUI trick works well
I dont have the no root option available, what do?
You can ignore that part of the installer. You no longer have the option of enabling the root user or not.
New password for MOK is universalblue
Thanks I've added that to the video details but I've made a pinned comment if anyone else misses it.
i see bazzite is fedora based
Yup Bazzite is based on Fedora Silverblue or Kinoite