How to Dual Boot Fedora Linux and Windows 11

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so you run windows it does basically everything you needed to do but you're tired tired of relying on something so limited so corporate you want linux but you're not quite ready to dive in full force there may be some game or a professional application that you absolutely need a windows installation for but the time is now that is time to move your primary workflow over to linux hello everybody this is teca in this video what we're going to be doing is dual booting the worst with the best in my opinion that is windows with fedora throughout this video i'm going to be giving off a couple disclaimers and things you might want to pay attention to so make sure you try to watch this thing all the way through the primary thing in involving the first step of this process is going to be partitioning our drive now if you're going to be doing this on two separate drives which is definitely the recommended procedure you can kind of ignore this first step there are going to be time stamps below so if you have the option to have like two nvme ssds in whatever computer you're going to be doing this on you're going to have a better time as the actual windows and linux installations are going to be separated if you are going to be doing this on windows here with the exact same partition that is installed on windows you run a little bit more risk windows has been known to not play very friendly with linux installations especially after updates and things like that generally it's unlikely you're going to have issues but just note that they can occur before you move on to this first process before you do anything with partitioning it is always a very good idea to back up any important data whether that be project files personal media documents anything like that put it in the cloud put it on a external hard drive or a usb just in case if something goes awry but first we have to thank the sponsor of today's video proto arc the xk01 is a tri-fold keyboard that is an excellent addition to your home lab or even your daily carry it features a compact build a strong folding mechanism and bluetooth with three separate connections and scissor switch keys that feel awesome to type on if i were to compare them to something it would be the feel of a like a macbook air but even a little better and you compare this with their em-01 wireless rgb trackball mouse i have larger hands and this thing is perfect for me it has one usb channel and two separate bluetooth connections the trackball scroll smooth and this was my first time using one of these and i do think i like it better than some of the other ergonomics solutions that i've tried out proto arc has some other awesome products that are definitely worth checking out i even went ahead and replaced my mechanical keyboard for one of their ergo split keyboards if you're at all interested in checking any of this out there will be a link down below now with that we are going to jump into the first step and that is actually giving a place for linux to install and we're going to be doing this in partition create and format hard disk partitions options from our control panel if you just search partitions you can go ahead and find it right here in here disk 0 that's probably the disk you're going to want to use you could check that by seeing one of the partitions here is the actual c drive and this is the drive that has our windows installation additionally you'll see the efi system partition and the recovery partition this should be what a normal windows 11 installation looks like now for installing it linux on the same drive as windows we want to get this c partition right here and shrink it down a little bit and to do that what we're going to do is right click and go to shrink a volume it's going to load up here and then when it does we have some options now you're going to want to pay attention to a lot of this right here is total size before shrink size available to shrink and the amount of space that you're going to want basically available to your linux installation is what you're going to input right here one thing to keep note of if we open up our file explorer go over to this pc you can see i'm using hardly any of my c drive here if this thing's like almost full you're going to want to be pretty careful you're going to want to make sure and give windows a little bit of wiggle room when you do this i would say at least 30 gigabytes or so so for me i'm probably going to be cutting off about this much i'm going to be giving my linux installation about a 128 gigabytes of space which will leave us plenty of room in our windows partition so this is just under a 500 gigabyte drive we should be good to go so i'm going to close that out right here this is in megabytes so i can do one two eight zero zero zero that's 128 gigabytes and you can see here the total size after shrink is going to be just about 360 gigabytes left for our windows partition which should be enough like i said give windows some wiggle room especially on like updates and stuff it tends to take take up quite a bit of space so from there we're just going to click on shrink now before we do that i'm going to say again back up anything that is important to you so shrink and then you're going to give us some time and that's going to give us a pretty decent visual representation of what's going on you can see our new 125 gigabyte partition and then that is our c drive right here now if we open up the file explorer again go to this pc you're going to see that changed now we have less space available to us on our c drive that is because we have some unused space that we can give to linux in a little bit and before we move on to the next step one thing i really need to know is things like this change a lot so go down to the comments check the pinned comments check the description before you completely follow this guide it's kind of important as things change as we've saw recently the previous methods in which i used to do this is no longer so with that said i'm going to close this out and now what we're going to do is actually burn our usb you're going to want to get a usb just like this one here this is a 64 gigabyte usb kind of unnecessary i'd recommend using a eight minimum of four gig so we're gonna pop that on in and now what we're gonna do is head over to our web browser there are two primary tools for doing this one of them is rufus which is what i personally recommend here we go and the other is etcher i've definitely had the most success with rufus so i'll have this linked down below you just go to the website try to battle through all the various ads everywhere and then right here download the latest version now in a effort to save some time i already have this downloaded right here rufus so i'm going to give that an open click on run and here is the application now before we dive too far into there we're going to want to go back to our web browser and we're going to want to grab fedora now all the same processes that we're doing here should work with ubuntu and a few others but i'm going to be specifically focusing on fedora for this video and i will note here that we're going to be doing this with secure boot disabled fedora technically can be installed on the system with secure boot enabled but you may run into issues and it's kind of hardware specific depending on your hardware but i am going to kind of have to preface this by saying disabling secure boot is disabling an additional security feature so go ahead and do that at your own risk and i will be leaving some resources down below but just note with dual booting especially or with just using windows distributions on your system it's going to play a lot better with that with that disabled so fedora workstation is what you're going to want to download just click on download now and here you can go ahead and grab the fedora 36 live iso i'm going to know here depending on the actual desktop environment you are going to want you might want to go with one of the other spins i prefer gnome i prefer just regular good old vanilla fedora so that's what we're going to be doing in this video however if you are interested in learning more about various fedora based distributions and some of the spins i have a really nice video on that so i already got fedora downloaded what we're going to do is go over here into rufus this is our device it might say something else for you but match it up to the drive letter and the size that you went ahead and plugged in make sure it's proper because when we do this it's going to completely wipe everything on this usb boot selection disk or iso image is perfect you're going to want to click on select and go ahead and select the fedora iso image that you just downloaded so from here we have partition scheme now we are going to be doing this on uefi i have an older video that does this with legacy bios but definitely if your hardware is modern in the sense of like the last 10 to 8 years uefi is probably going to be the best option for you mbr as you can see supports both and you are going to want to make sure you boot into uefi when you get into the actual device selection boot options and if you know you have hardware that supports uefi and you've checked with like your motherboard manual and it does you're not seeing that you may have to do this with gdp but you should be fine doing this with the mbr partition scheme so down here format options you can give it a label if you want to this is going to be fine large fat 32 and the 32 kilobytes all those options are going to be perfect so let's start that we're going to want to write this in iso mode hit ok and it's giving us the warning i just said all the data on this device is going to be completely wiped so if you used this usb to backup data don't put put the data somewhere else so we're going to go and hit ok and begin the flashing process of this drive and then when it is done it's going to stay ready right here and we're ready to actually boot into this usb and i will note here we're going to restart our computer and before even the post screen comes up you're going to have to hit a key to get into your bios now depending on your hardware once again this can be escape it can be delete or it can be any of the keys on your function key let's go ahead and power down this machine you should restart it i unplugged it but plug that back in power her up and i'm going to spam the appropriate key while this begins to boot up here we go we are in our bios so first things first you're going to want to go over here security nozzle security and then go down here to secure boot you can see i already have it disabled depending on your heart you you could try to do this with secure boot but like i said it might not work out for you it's very hardware dependent and there's certificates that it needs to work properly it's kind of a hassle it does add security so again do note that if you're going to be disabling secure boot you take full liability with that most important we're going to go down here to our boot options and i'm going to change this to this option right here uefi kingston data traveler that is the usb i have plugged in so we're going to select that you're not going to have those other fedora boot options i've tested this a few times to make sure to make sure that it worked so from there let's go ahead and save changes and reset and now that that is our primary boot option it should go ahead and boot into this usb for us which as you can see it has i do recommend you test the uh media but i'm just gonna save some time here and boot right into fedora take the risks and then we can see it booting up here so when we are in what we're going to want to do is just jump straight into the installation beforehand you would be able to do a lot of the shrinking of volumes and whatnot directly through the fedora installation but windows made it so you have to do it through windows so language pick your proper language i'm gonna go with english keyboard is english us time date zone is automatically selected if you do need to change that just give that a tap pick your right time zone click done now here's going to be the important stuff this is your installation destination go ahead and select this you can see right here this is our hard drive and we can see that we have a 125 gigabytes free if you have that selected go automatic hit done you should be fine it should recognize where the free space is and only install on that free space but just in case if you're not comfortable doing that we could always click custom over here and then click on done and this is going to open up an additional menu here this will kind of give you a better visual representation of what it's actually going to do instead of clicking automatic if we go with under unknown here we can see a lot of our windows stuff so that's the efi partition we have some ntf partitions which like this is our main windows partition right here and we have some others but what i'm going to do is have it do a lot of the dirty work for me under new fedora 36 installation it says if you haven't created any mount points as your fedora 36 installation yet you can click here to create them automatically let's go ahead and do that give that a click and then there we go we have data system automatically formatted or automatically partitioned out our home our boot our main root directory as well as our new boot efi partitions and then you can see down here it is keeping all the unknown which is actually our windows installation here if you want a little more peace of mind to see exactly what it is doing so after you click that and you see all these that it's automatically going to create for us we could go ahead and select done it's going to give us a quick rundown of everything that it's going to do you could review it to make sure everything seems right for you and accept these changes and you can see custom partitioning selected again using auto will probably work fine but i don't trust it all the time i kind of want to see what it's doing beforehand that's why i go into custom so from here we can begin the installation again i'm going to dually note make sure you backed up anything on that windows windows partition that may be of great value to you just in case so begin installation and now it's going to run through the process depending on your hardware your usb and all that jazz it can take anywhere from three to ten minutes roughly and just like that it is complete so i'm going to hit finish installation here which is really just going to close out antaconda which is the name of the application that we just used to install fedora and let's go up here and actually shut this down properly so power off log out restart and restart so i'm going to go ahead pull out there's a usb real quick here so it doesn't try to boot into it and now it should take us into the grub boot menu here we are we can see we have some options we have fedora linux at the 5.17 kernel might be something different for you but we also have the windows boot manager so at the moment fedor is the default and windows can be selected upon boot i'm going to go and select fedor i'm going to be showing you a quick tip how to change that if you want to preference windows over linux vice versa but once we get in here and get it set up there's one thing we're going to want to do for sure and that is uh setting our clock settings so windows and linux doesn't try to interfere with each other welcome to fedora 36 let's go ahead and start the setup real quick and get through this pretty sure i'm in the internet so i'm gonna go ahead and skip that for now uh sure they can have all that let's enable third-party repos because i'm actually gonna be using this uh installation here uh let's go ahead and skip all these online accounts we've gotta do this brandon and then let's go next password make sure it's moderately strong next and all done we go ahead and start using fedora linux so if you want to you could take the tour i don't need the tour i'm to say no thanks for now now before anything let's go ahead and open up the terminal and make sure we eliminate possible conflicts the main thing is ubuntu fedora linux keeps time in utc or universal time while windows on the other hand uses local time and because of this there can be a conflict so what we're going to do is switch over linux to use local time and this all has to do with your motherboard and hardware clock so the command is going to be time date ctl date and ctl and we're going to want to set this as locale dash or one dash dash at adjust system clock just like that hopefully i typed that right i didn't i'm not shocked we want system local rtc real time clock so i think that's real time clock enter there we go so now we're good to go now you're completely done and you could go ahead and watch my video on the five things to do after you install fedora but one thing that is not included in that video that i do specifically recommend for dual booting is getting the grub customizer i hope it's in software we will see oh boy oh boy oh howdy got a bunch of updates before we do that let's see if we can grab this ugh oh no i should be able to install it on the terminal again i'll leave all these commands and resources and everything down below sudo dnf which if you don't know dnf is the primary package manager in fedora generally most tools you can install via the graphical utility via flat pack or the their repositories sudo dnf install and i just grub customizer i'm a little uh i'm a little bit too unsure about some of these things to be making videos and one thing you'll notice the dnf is painfully slow there are things you can do to speed it up which again i do mention in that video on uh the things to do after installing fedora this is also the first poll through the repository so it generally takes a little while longer the first time than most other times there it is grub customizer you want to hit y and enter and there we go it's a pretty small application takes more time to find it in the repositories than it does to actually install it grub customizer it's going to be doing some system configurations we're going to need to input our password and then right here we have our list configuration and you'll see here that right now we don't see fedora for some reason and really only worry about this if you want to make windows the primary because we're going to have to do something in the group configuration here so for now i'm going to go ahead and close that quit without updating and what we're going to want to do is once again open that terminal again only do this if you want to make windows a priority which even saying that kind of hurts suru which stands for super user do only run sudo if you either know what you're doing or you trust somebody like me and we're going to edit the grub config manually real quick we do that in etsy default and grub hit enter type in your password again make sure you type things right enter and go down to this very last option and set this to false basically i think it's after grub or not grub after fedora 30 they started using this which isn't fully compatible with grub customizer but ctrl o exit control x to get out of there and reload grub it's different than ubuntu systems or at least in fedora it's different than ubuntu systems so we're going to want to type in sudo grub 2 dash mk for make config dash o and we're going to want to do this in boot efi capital efi and then fedora and grub dot cfg hit enter and then you can see it did some things we found the windows boot manager did found a lot of our linux images and added some boot entries so it should have updated or we might need to restart our computer we'll see grub customizer type in our password and now whoops and now we can see we have the windows boot manager right here and fedora linux so if i wanted to prioritize windows all i would do is click on this and move it up so move up selected entry boom boom there we go and if you want to you can mess around with some of the other settings so we have a visibility how long we want to see these boot options so if you want to give yourself a little more than five seconds you could bump this up here as well and then under appearance settings you could change the two if you'd like but for me i'm going to go ahead and click on save and it's going to go ahead and update that configuration and then when we reboot unlike the first time we boot it into this we're going to see windows as our first option so let's close that out and restart and make sure that it works and i'm going to not install pending updates because i want to make sure everything is good to go first this is the only thing i did not try before recording this video alright there we go so now we can see fedora linux here windows boot manager was the first selected option so if i just didn't touch anything it would automatically boot into windows and just to show you that our windows installation is going to be fine we'll boot into it and there we go looking good type in your password and now you will be in windows and now just for giggles let's go ahead and open up the very first application we were in which is the create partitions and you we're going to see some some changes here we have an additional partition here let's just go and make this a little bit bigger we have this partition here and then you can see that this is another primary partition which this is actually our linux partition so i do hope you enjoyed this video i really do hope it helped you out if this was something you were trying to accomplish with all of that for about the third time watch that other video on some of the things to do once you install fedora uh big thank you to the sponsor of today's video uh proto arc and their keyboards this is cool i've had it in my backpack for some time and been using it with uh my thinkpad laptop and i've actually been using this one which is their split ergo keyboard which i will be uh will be more prevalently featured in another sponsored video with all that i hope you have an absolutely beautiful day and good bye
Info
Channel: TechHut
Views: 226,043
Rating: undefined out of 5
Keywords: linux, linux tutorial, windows, dual boot, fedora
Id: VaIgbTOvAd0
Channel Id: undefined
Length: 21min 36sec (1296 seconds)
Published: Wed Aug 17 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.