How to Dual-Boot Windows 11 & Ubuntu

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hello again everyone and welcome back to learn linux tv in today's video what i'm going to do is show you guys the process of setting up a dual boot between windows 11 and ubuntu i figured that now that windows 11 is out and it's in the wild that it's finally time to refresh this video now if you have seen the previous version of this video the process hasn't really changed much if at all but i figured now that windows 11 is out i want to make sure that i get this updated now i'm going to assume that you already have windows 11 installed on your computer and that has taken up the entire hard drive and what we'll do is go through the process of installing ubuntu in such a way that it will not replace windows but dual boot with it now i'm also going to assume that you've backed up your computer because although this process has never failed for me i mean computers are what they are and if chaos theory plays a role and gets into the process here and you lose data well hopefully you have a backup again this process has never failed for me but it's always a great idea to err on the side of caution so without any further ado let's go ahead and get into it and set up a dual boot all right so let's go ahead and get started and what we're going to do first is create some installation media for ubuntu so the first thing we'll need to do for that is to of course download it and we can actually get ubuntu from ubuntu.com simple enough and here we have the graphic that ubuntu 2110 has arrived and over time of course this website will change but generally speaking if you click on download you'll get several download options and then right here for ubuntu desktop we have 2004 lts and 2110 now what i'm going to do is download 2110 normally i recommend 2004 but for this video i want to use the latest and greatest lts stands for long-term support and is generally the recommended version for most people unless you're like me and you prefer bleeding edge either way the process should be exactly the same so it shouldn't matter which one you download if the process does change over time then i will update this video so it should work either way so click right here for 2110 and as you can see right here the file name ends with an extension of dot iso and technically this is a cd-rom image but nowadays we don't really use optical media for installing linux anymore now to be fair if you are using an older computer for example a computer that can't even boot from a usb flash drive at all in that case you probably will need to create a bootable dvd for ubuntu but that should be a smaller subset of my audience what we're going to do right now is actually use this same iso image the same one that we would normally use to create a bootable dvd we're going to use that to instead create a bootable flash drive anyway i'll go ahead and save it it's a 2.9 gigabyte file so it could take a few minutes but i'll click ok and as we can see it is now downloading and the file size is currently 2.9 gigabytes so it could take a few minutes to download i have a fairly fast internet connection as you can see so it's going to be done in my case here very shortly all right so that's done and next what we're going to do is download usb imager and i will have a link to everything in the description down below this video so that way you can go right to each of the resources that i'll be using so what i'm going to do right now is just go to google and search for usb imager and the reason why i go through google is because i can never remember this url again it'll be down in the description below this video so you shouldn't have to search for anything but here's usb imager and if i scroll down here you can see that we have a version of usb imager for just about every operating system and that's the reason why i use it in my videos i mean if you think about it i don't know which operating system you are currently running so regardless of which os is your primary os right now there's a version of usb imager for that os so what i'm going to do is just download this version right here i'm going to save the file and it's a very small utility and it downloaded pretty much instantaneously so i'll go to downloads and we can see the two downloads right here we have usb imager and the ubuntu iso image so what i'm going to do is just right click on this right here extract all and now we have the extracted version of usb imager right here so the next step that we're about to do is actually only for those of you that have already used the flash drive to install a linux distribution in the past and the reason why we're doing this is because windows doesn't always do a good job of allowing a utility such as usb imager to delete all of the partitions on the flash drive so if you haven't ever used your flash drive in the past to install a linux distribution then you shouldn't have to do this but what we're going to do is we're going to click on the start button and then we can type cmd short for command for the command prompt then we'll right click on it and run it as administrator what we're going to do next is run disk part and then we need to list all of the disks that we have on the system and we could do that with list and then disk just like that and as you can see here i have two disks disk 0 is my internal ssd so i don't want to mess with that one right now but disc one is actually my flash drive that's the one that we want to work with and you want to be very careful that you are working with a proper device because what we're going to be doing is wiping out everything on that device we want to wipe out the flash drive now it goes without saying but i'm hoping you've backed up everything that's important off of the flash drive because this process will irreversibly remove everything on it so if you haven't already backed up everything from that flash drive please do so pause the video if you need to do that and then we'll continue so next what i'm going to do is type select disk i'm going to select disk number one because that's the flash drive next i'll type list partition that'll help us see all of the partitions that are on that device and what i want to do is delete each of these now that we've selected the disk and we've also listed the partitions we need to select a partition to work with so i'm going to select the first partition and then i'll type delete partition override i'll list the partitions again we only have those two now so i'll just press the up arrow because i'm lazy i'm going to select partition number two then i'll delete it then three and then i'll delete it and now there are no partitions on that disk at all whatsoever so now what we could do is type exit exit again and now we're ready to continue so back in our downloads folder since we've already extracted this right here let's go inside it and let's run it and this is a safe download so i'm going to click more information and then run anyway and here's usb imager in all its glory it's a simple application but what we're going to do is click on these three dots right here then we're going to navigate to our downloads directory and then select the ubuntu iso image we'll open it now here as you can see i have no disks at all that i can work with that's okay so in order to fix that what i'm going to do is right click on the start button then we'll go up here to disk management and then we'll right click here on the flash drive we'll create a new simple volume click next next i'm just keeping all the defaults and we'll do a quick format nothing to customize there i'll click finish and now that's ready to go and as you can see now that i've formatted it i can select the d drive and that refers to the flash drive and this is one of those interesting things when it comes to windows that the usb imager utility needs you to have a partition an empty partition in order for it to wipe out your flash drive anyway and flash it with the ubuntu iso i'm not a windows developer so i don't know why that's the case it is what it is but what i'll do is click right and we can see right here that the flash drive is actually being written to it's going to take a couple of minutes so i'll let this run and then i'll be right back all right so as you can see the process is complete we should now have a bootable flash drive that'll launch us right into ubuntu which is awesome so what i'm going to do right now is safely remove the flash drive and now that it's removed i'm going to go ahead and switch over to my laptop and then we'll go ahead and set up the dual boot all right so here i am on my laptop and what i've done is i've set up off-camera a clean install of windows 11 and when i set it up i took over the entire hard drive the reason why i did that is because most of you that are watching this video you probably already have windows installed when you buy a computer well of course windows 11 is going to be taking up the entire hard disk now real quick in case you're curious what i'll do is just go over here to properties and i'll let you guys see some information about this particular computer it has an 8th gen intel core i7 cpu 32 gigs of ram it also has an nvidia gpu as well and i'm running windows 11 pro as you can see right here for the hard disk you can see that it's about a terabyte and the clean install is taking about 43 gigabytes so that's a pretty sizable installation for an operating system but anyway as you can see it has taken up the entire hard drive i already went ahead and inserted the flash drive and that's the next step but at this point i'm hoping that you've already backed up everything on your computer you could use something like clonezilla to take an entire image of your hard disk that's even better that way if anything goes wrong you have something to return to especially if the process doesn't work out personally i've never had this process fail but computers being what they are it's always a great idea to err on the side of caution so make sure you back up everything and then we'll go ahead and continue since i've already inserted the flash drive what i'm going to do right now is reboot my laptop and then i'm going to press f12 at the beginning that'll help me get to the boot menu so i could tell it to boot from the flash drive so here we have the boot menu and as you can see i have quite a few entries here these are all just entries for other distributions that i have installed in the past i probably should have cleaned up the boot menu entries here but it is what it is what we want to do is select the flash drive that we want to boot from and in my case i know this is the one right here the verbiage might change from one computer to another but basically what you're doing is you are pressing the key that is associated with the boot menu when you start up your computer you can check your documentation if you don't know what button that is for me it's f12 that's a common one sometimes it's f11 there's other variations and then what you do is select the menu option that corresponds to your flash drive which in my case is this one right here usb hdd i'll press enter and as you can see ubuntu is starting to boot up now i'm a little impatient so i'll just press enter to speed the process along a little bit now right here we have the installation menu it's giving us the option to try ubuntu or to just go straight to the installation now the thing is i don't recommend that you install any linux distribution until you've verified compatibility first regardless of what anyone tells you no linux distribution is able to be installed on 100 of hardware there are some edge cases sometimes we have hardware that doesn't work well with linux so what we should do is go through a few quick tests to make sure that this is compatible with our computer before and i'm going to stress that before we wipe out our current operating system so i'm going to choose try ubuntu and here we have a fully running ubuntu environment that we can use to test out compatibility with and make no mistake we are actually using the true ubuntu distribution right now for all intents and purposes this is actually ubuntu it's not a virtual machine it's running ubuntu off the flash drive due to the fact that it's being run currently off the flash drive it's possible that it might run slower than it would run if it was installed on the actual hard drive of the computer so while we're testing it we're not really going to focus too much on speed because it's almost if not always going to be a bit slower off the flash drive as for what to do to test it out one of the things you could do is plug in an external display if you have an external display just make sure that works if you have a printer or a scanner plug those in go ahead and try those so what you'll do is click on the upper right hand corner right here and where it says wi-fi not connected we'll click on that and of course that's assuming you have a wi-fi card if you don't you might see ethernet connected here if that's the case then you might already be connected to the network so what i'm going to do is click right here and then i'll click select network and then i'll select mine i'll type in the super secret password and then i'll click connect watch the progress up here and it's actually already done the wi-fi icon is visible and it shows that i have very good coverage because the entire icon is white and that makes sense because the access point is directly right above my head so i'm less than a few feet from it anyway now that we have an internet connection what we could do is open up firefox the icon for that is over here on the left hand side and then what you can do is go to a website so for example i'll go to mine right now and as you can see the internet connection is clearly working because i was able to visit the website for this channel on your end i recommend that you watch a few youtube videos or something like that just to make sure that audio works and if everything works out then we should be clear to go ahead and install it so what we're going to do is click install ubuntu this is the icon right here just double click on that we'll wait for it to come up and here it is so on this first screen what we're doing is selecting the language for the installer itself i'm going to leave mine here on english but of course feel free to change that if your primary language is not english next on this screen we are setting up our keyboard type english us is the proper keyboard type for this particular computer if you have a different kind of keyboard you can of course select a different language here and then a sub type here on the right hand side and then you can test your keyboard layout by typing right here in this box and you know what everything looks good to me so i'll continue and we have a few selections here normal installation is what i recommend that most of you choose that's the default anyway that includes office software and other things now if you are a more advanced user then you might want to go with the minimal install that'll have fewer pieces of software pre-installed by default i'm going to leave it on normal installation and here it says download updates while installing ubuntu now in my experience when you check this box there still seems to be some remaining updates after the fax so it doesn't seem like it downloads everything but if it saves time i guess why not this box right here i do recommend that you check that that'll make sure that any proprietary hardware has the proper drivers installed specifically proprietary hardware that ubuntu knows how to handle or is just compatible in some way but unless you want a free software only system then you should definitely check this box right here it's just going to make things easier for you in the long run so that's what i'm going to do i'll click continue and on this screen we have the most important selection of the entire process we have an option here to erase the entire disk and install ubuntu and we absolutely don't want to choose that if we're going to set up a dual boot because if you do that's going to wipe out windows completely now by default it actually detected that i have windows installed on this computer and is giving me the option to install ubuntu alongside windows just make sure that that option is selected so we'll click continue and what we're doing on this screen is we are choosing which hard drive to install ubuntu on now i only have one hard drive on this computer and the hard drive that i have has windows taking up the entire hard disk so what we're going to do on this screen is select our hard drive i only have one anyway and this hard drive like i mentioned earlier only has windows installed it's taken up the entire hard disk so i have a decision to make and that decision is how much space do i give ubuntu versus how much space i give to windows and then what i could do is drag the handle right here left and right to choose how much space i want to give one versus the other so i'll leave that up to you but anyway i'll go ahead and click install now and then i'll click continue and then continue and now on this screen right here what we're going to do is choose our location by clicking with the mouse as close to our actual location as we can so i'm somewhere right about in here detroit that's close enough and what that's going to do is set your time zone and things like that so in my case i'm in michigan but you can go ahead and click wherever you are geographically or you could just go ahead and start typing in this box right here if you know what your geographic region already is in terms of the time zone but mine is set so i'll click continue next we'll go ahead and put in our user information so i filled in my first and last name and then for the computer's name i went ahead and typed in studio laptop it's telling me that this name already exists on the network in my case that's safe to ignore that's not actually a problem this is the only computer that can have this name but on your end you'll just name your computer whatever you want it to be named just keep in mind if you do any peer-to-peer networking inside your lan that the name that you enter here is what it's going to show up as on your network so just choose accordingly and then here we have the username it defaults to whatever your first name is when you type that into the your name box at the top and then we select a password so what you do is you type that in twice so i'll click continue and now ubuntu is installing on this computer so what i'm going to do is let this run and then i'll be right back all right so it looks like the process is complete so moment of truth let's test out the tool boot and make sure that it works so i'll go ahead and restart and the verbiage right here is reminding me to remove the flash drive which i will do right now and then i'll press enter and here we have the grub boot menu by default it counts down from i think 10 seconds or something like that and then what it'll do is boot the default option which in this case is ubuntu and if you look right here we have windows boot manager as an option so if i want to boot into windows then that's the option i'll need to choose now it is possible sometimes that windows might erase the ubuntu bootloader and if that's something that happens with windows 11 then what i'll do is make a separate video for how to fix that that's just a quick aside hopefully that never happens to you but anyway what i'm going to do is choose windows because i want to make sure that windows still works that it didn't break anything so i'll press enter on windows boot manager all right so here we have the windows login screen so let's go ahead and log in and you know what so far so good windows hasn't broken or anything it's clearly working so i'll click on file manager and then over here to pc you can see that the size of the hard disk the c drive right here is lower than it was before and that makes sense we did actually split it so we can install ubuntu in a different partition so now that we know that windows is working let's go ahead and reboot yet again and what i want to do is make sure that ubuntu works as well now what i did just now was i pressed f12 which again is the boot menu access key for my computer and that wasn't required if i would have actually just let it run it would have automatically booted into ubuntu but i wanted to show you here in the boot menu that you also have an option for ubuntu and windows as well and that might be a way for some of you to get back into ubuntu if windows ever deletes the bootloader or something like that again hopefully you'll never need to do that but the boot menu on the computer itself is yet another way to select the operating system at boot time so let's go ahead and start up ubuntu and now i'm logged into ubuntu i wasn't able to show you the login screen because for whatever reason my screen capture card isn't able to capture that but after i logged in i was able to mirror the screens so that way you are able to see it now when you log in for the very first time you'll be given the option to connect to any of these accounts right here so if you do have an account on one of these services you can click on it and then fill in your information but i'm going to skip that in my case and this right here is giving us the option to help improve ubuntu most likely you probably downloaded it for free so sending some information to the ubuntu developers wouldn't be a bad idea the information doesn't include anything that's personally identifiable but it does include information about your hardware your specs and things like that i'm going to choose no because i've already sent this information over to canonical the makers of ubuntu so i won't need to do that again and here on the privacy section location services are disabled by default you can enable that if you want to use something like no maps or some sort of gps mapping utility but if you're not doing that then you can leave that off you can always change that again in the settings so it doesn't really matter so much right now and now we can install any of these apps right here by clicking on it and going through the process i'll leave that up to you if any of these apps are something that you want to download but i'll click done in my case and we should be good to go however there's one more thing that i recommend you check so if we go all the way down to the bottom left corner right here it's going to show us all the applications that are on the system and literally the very first icon here is additional drivers i recommend that you check that every time you install ubuntu for the first time so click on it and it's searching for drivers and as you can see it found one there's a driver for the nvidia card this machine does have an nvidia gpu and it's already using the appropriate driver if you have an nvidia card it's important that you are using the driver from nvidia otherwise when you try to play games you are not going to have a good experience at all since i chose the option at the beginning to install proprietary drivers they went ahead and installed this for me but i recommend that you check additional drivers every time you set up a brand new ubuntu install that way if there's any drivers that are needed for your system then you'll find them here and have an option to install them in my case there's nothing i need to do because it's already using the appropriate driver if you also have an nvidia gpu on your end and perhaps it's defaulting to the nuvo driver you definitely don't want that because the nuvo driver doesn't really work all that well with games if it even works at all so just make sure that you are using the newest driver that is from nvidia which is what i'm using right here so i'm good to go and with that said we actually have an ubuntu and windows 11 dual boot all set and ready to go so there you go i hope you guys found this video helpful in setting up a dual boot between windows 11 and ubuntu i had a lot of fun making this video as always and make sure you subscribe if you haven't already done so because i'll be back again very soon with even more content thanks for watching [Music] foreign [Music]
Info
Channel: Learn Linux TV
Views: 204,558
Rating: undefined out of 5
Keywords: Linux, Tutorial, Review, Howto, Guide, Distribution, Distro, Learn Linux, open-source, open source, gnu/linux, LearnLinuxTV, Learn Linux TV, LearnLinux.TV
Id: T78rCJ_i1no
Channel Id: undefined
Length: 27min 37sec (1657 seconds)
Published: Mon Oct 25 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.