Windows & Linux Mint Dual Boot, 2 Separate Drives, 2 Methods

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video we're looking at a windows system a computer with windows on it and you're wanting to either add an additional hard drive or perhaps you already have a second hard drive inside the computer and on that second drive we're going to install linux and we're going to do it two different ways depending on the setup so whether you've got an existing hard drive or you're adding an additional hard drive to the system i'm going to cover both scenarios in this video let's have a look at our windows setup before we make any changes let's have a look at our disk setup in windows we have disk 0 with the c drive on it and this is our new hard drive our new disk that we've actually just put inside the machine so this is a physical disk and it's called disk number one so you can see it's unallocated there's nothing on it it's theoretically brand new out of the shop we're going to install linux mint onto this drive and there's a number of options that i'm going to go through the first one is going to be just installing it onto this drive and the second scenario that i'm going to cover is if this drives currently say d drive in your windows system and it's most likely going to be a lot bigger than 60 gigabytes but we'll assume you've been using it to store extra data on in your windows system and so our second scenario we're going to cover is installing linux onto this without destroying all the data on it in which case we'll be putting a petition up the end here somewhere for linux mint and installing into that partition let's get started and here we are booting up the live usb of linux mint and we're going to have a bit of a discussion when we get to the desktop before we install we'll go through a couple of bits and pieces have a quick look at the system before we install it before we install linux mint we're going to have a look at disks and we can see here this 130 gigabyte hard drive has windows on it you can see that it's sda and it says down here as well sda so that's the windows system petition there and this is where windows c drive is see they're 128 gigabytes we can also see that they're ntfs okay this is our second drive which is 64 gigabytes and it's free space so there's nothing on there this is where we're going to install linux onto the second drive so we'll start the installer we can continue that's good so i can continue again i'm not going to select that but i recommend that you do so let's continue as expected this computer currently has windows 10 on it what would you like to do we can see it's defaulted to install linux mint alongside windows 10. if we go down that path it's going to install linux mint onto the c drive and not onto the second hard drive that we want to put it on so we'll choose something else and we're going to continue here we can see sda which we know is the windows disk and there we can see the the system partition there and there's the actual windows installed there or the c drive as windows calls it and they're both ntfs sdb is the second drive and we can see here that it's 64 000 megabytes or about 64 gigabytes if it doesn't show up here that's free space if you just see it there you'll need to click here new partition table there's nothing at all on the drive so we'll hit new petition table and we're going to continue okay so it's 60 gigs so now it's it's showing up here as a 60 gig or 64 gigabytes 64 000 megabytes okay so we have our free space on sdb free space we click the little plus we can run with these defaults here so the only thing we need to put in here is the mount point which is the forward slash we're pretty much doing the same thing as if you went through the installer and just installed linux mint onto your computer with no other operating systems or anything present on there the only thing we're doing different is we're installing onto this second hard drive so we'll say okay to that and there it is there it's going to install linux mint onto sdb1 on sdb drive device for bootloader so this is where it's going to install the grub boot loader and at the moment it's pointing to sda which is where windows is so what that's going to do that's going to overwrite the windows bootloader and you can do that if you want to that's pretty much what happens when you install alongside if we were to go back a couple of steps on the installer and instead of choosing something else which is what we're doing now if we'd chosen the install alongside windows 10 this is how it would do it it would install under the c drive alongside windows 10 here and it would put the bootloader or the grub bootloader onto the sda onto the windows drive as well which would in fact overwrite the windows bootloader and that that means that if you deleted linux off the system or something like that or grab files you won't actually be able to boot windows i want to leave the windows drive completely untouched and so what we're going to do we're going to change this from sdi to sdb so there it is sdb so now it's going to install linux into sdb1 that'll create that partition and put linux in there and it's going to put the bootloader onto sdb the bootloader is going to find when we go through the rest of the install it's actually going to find the windows 10 and put that into the grub boot menu however the machine is still set to boot from the motherboard from the bios the machine's still set to boot off the first drive which has got windows on it so you'll see when we restart the machine it's going to boot straight back into windows now if you're using windows all the time you'll probably want that and you can run with that you can just leave it as it is and if you want to boot linux you can press f2 f8 f10 escape delete whatever the key is for your motherboard to get to the boot menu you can press that key choose the other drive sdb it'll be it might be drive2 it might be the samsung 60 gigabyte drive whatever it's labeled in your bios will be what you choose if you want to use linux the system is going to be pretty much unchanged as far as turning the computer on when we're finished installing linux that's still going to boot to windows 10 because it's set to to boot from the first hard drive that it finds which is the one with windows on it so if we were installing alongside windows 10 then grub would overwrite the windows bootloader the computer when you turn it on we'll look at the first drive which is sda it'll see grub and you'll get the grub menu for windows 10 or linux mint but in our case we're going to have to press whatever key to bring up the boot menu from the motherboard from the bios and choose the other disk to boot into linux which will actually give us the choice to boot linux or windows because grub will be there and grabble say you can boot me here off this disk and this linux and grub will also see windows 10 over there and give you that choice so you can sort of go around the block two ways to get to windows 10. so we're putting linux on the second drive we're putting the bootloader on the second drive so we're not touching the first drive at all i actually recommend to disconnect the windows 10 drive to do an operation like this but of course that depends on your comfort levels and skill levels how confident you feel i'm doing this in a virtual environment as you can see here it says vbox so that's virtualbox but it's the same my actual computer that i'm doing this on has windows and linux on it and this is the way that i install it on my own system so if either one of my drives fails i can still at least boot into the other system so if my windows drive dies i can boot into linux my linux drive dies i can boot into windows and i tell the computer to boot off my linux drive and i use grub from there to go to the windows drive so this is pretty much exactly as i do it on my own system so this gives us a little bit of redundancy and if for whatever reason we want to throw linux away at a later date you can just simply disconnect the linux drive and your computer's exactly as it was before just with windows on it so once again this is a key key thing here is to make sure you put the the grub boot loader under this under the same drive as linux so we're looking good there's linux it's the bootloader on the same drive sdb so let's install now we continue if you if you have disconnected your windows drive to do this and you're installing linux onto the the second drive all you need to do is once you've finished installing linux plug your windows drive back in boot up to linux open the terminal and you type sudo update dash grub and you'll see that it'll find the windows 10 system on the other hard drive and add it to the grub menu which i'll show a little bit later on in the video okay melbourne's good for me so continue we've given it a name we've got a username password etc so let's continue again we'll come back when that's finished and there we go we've finished so we might as well just restart and we'll see it'll go straight into windows there we go straight into windows we'll let it boot up and we'll have a look at the disk management utility and this is because grub is on the other drive and the machine is set to boot off the windows drive so we're booting into windows we either need to interfere with that process with the boot menu key at the point where we turn the computer on or of course we can go into the bios and actually change the drive that it boots from by default so let's have a look at windows i will right click the start button and we'll go to disk management so disk 0 still got the c drive on it untouched and here we are running windows so windows is untouched and there's our disk 1 with linux on it windows cannot read the linux file system the only thing windows can see here is a healthy active primary partition that's all it knows let's restart i'm going to interrupt the restart by pressing the f12 key to bring up the boot menu there we go now yours is going to look a lot different and as i mentioned before i'm doing this in a virtual environment but the steps on my actual physical hardware are pretty much the same so we can see here we've got disk one hard disk one and we have hard disk two so windows is on hard disk one and linux is on hard disk two now these will probably show up if you're actually looking at the bias of your motherboard then if that's a western digital for example it'll show up as a western digital 130 gigabyte drive whatever it might be and this one will show up as whatever it is but here they're just showing up simply as one and two so if i press the two button on my keyboard we should get the grub menu and there we can see it's defaulting to linux mint and down the bottom we can see windows 10 and you'll notice it says windows 10 on device sda1 so it's on sda the grub menu is not telling us that linux is actually on sdb or disk the second disk or as windows calls it disk one because windows sees itself on disk zero but nonetheless there's our boot menu and this is why i do it on my own actual hardware i've got windows and linux on separate hard drives and i use grub to get across to windows by doing that on my system and as i mentioned before the reason is if either drive dies the other one's pretty much unaffected by it and that's the reason we have to change in the bios if you want to boot into grub each time you'll have to change in the bios which drive the machine's going to look at first to boot up so by default most machines will be booting straight into windows and straight on what's effectively the first drive in the system which is where windows is typically installed there's no reason you can't leave it like that and just use the menu key just use the key to bring up your boot menu each time you start the computer if if you want to go into linux or just let it boot into windows so it just depends how you want to do it this is the way i do it on my system but yeah there's plenty plenty of different ways to do it so let's boot into linux there we are in linux mint we'll have a look at the disk utility again is the 130 gigabyte windows drive there's windows here's the 64 gigabyte hard drive which we're currently on with linux on it and you can see it's mounted at file system root because this is the system that we're actually running on right at this moment at this point the only thing to do is to go into your bios and change the boot to the second disk or in this case to the the 64 gigabyte one or you can leave it as it is as i said before and just choose if you want to boot into linux press your boot menu key on them on the keyboard as you start the computer and choose it that way just depends what you want to do this is a second scenario that might apply is that you've got a second drive already on your windows system and in this case it's called data drive d so there's our c drive this is our d drive and there's d drive here we can see it's got some files on it we go to its properties it's got 11 gigabytes used and there's 48 gigabytes free so this is the same 64 gigabyte drive that we had previously or 60 gigs whatever it's showing up as there and here's some of the files on it so there's a video there and as you can see we can play the video so this time what we're going to do is we're going to shrink this volume down shrink the size of this i'm going to put linux up the end here on about a 30 gigabyte petition so it's using 11 gigabytes it's 60 so that'll be about half and half so we'll go and do that and see how this turns out once again we boot up to the live linux session desktop so that we can install it once again we're at the live session desktop so we'll have a look at disks and here's our windows hard drive there we can see it's 130 gigabytes it's ntfs as we can see this is the data drive from windows 64 gigabytes we know it's got a little bit of data down here about 11 gigs so let's go and shrink that down and get it ready so we hit the menu and we type g parted and there it is this is the petition editor in linux mint just give it a moment to load and it's currently looking at the windows itself there because it's sda 120 gigabytes ntfs so we know that's the windows system there with windows on it so we're looking for sdb and here it is up here it's the asdb this is the petition that we're interested in here we can see the yellow represents the 11 gigabytes of data that's on there and we want to preserve that and the ntfs file system so we click on the petition we go petition resize move and we can just drag it from the end here like that or you can even you can just use these here or type directly in there like that so at this point we just want to shrink it down so the new size is 30 000 megabytes or about 30 gigabytes and this free space following is about the same size there 31. so that's close enough for what we're doing here so let's hit resize move and there we see so now we hit the little check mark to perform the operation and we go apply as usual there's always the risk of something going wrong when you're installing or resizing moving partitions around that sort of thing so that looks like it worked successfully we can close out of there we could do more petitioning here but we'll do it all from the installer now we've got 30 gigabytes here to put linux in so we can close out of there and we can start the installer once again and we'll work our way up to the appropriate section okay once again it's discovered windows 10 on the computer and it's offering to install alongside which is not what we want to do so again we choose something else and we continue once again there's sda with sda1 with windows 10 120 gigabytes is our sdb the orange represents the ntf s petition with the data for windows which is there so here's our free space which is this section up the end here so once again we hit the plus we click on the free space and we hit the plus and we're just going to run with most of the default settings just the mount point is going to be that forward slash and it's going to be a logical we could make it primary but it's saying make it a logical so we'll just run with that and we'll go okay again we're going to put the grub bootloader device for bootloader installation so this will be the grub menu we're going to put that on sdb and we're going to click install now and continue and we've entered some details we'll continue again we'll let that finish and come back and have a look at the results we are finished so we'll restart once again it'll go straight into windows which we'll let it do and we'll check our data see if we can play our video okay we'll look at the disk management first and now we can see this d drive you can see it's a little bit shorter than it was and this is linux up here there's our c drive which we're currently operating from obviously it's all looking good there have a look at the file manager go to d drive let's see files look like they're still there and there's the video playing so windows is happy let's go and have a look at the linux and remembering once again that i'm going to press f12 to bring up the boot menu which we've done and i'm going to press number two again once again we get the grub boot menu with windows and linux on it so let's try linux welcome to linux mint let's have a look at disks it's the 120 gigabyte 130 gig there's windows ntfs this is the d drive in windows there's the d drive there the data petition ntfs and this is just an extended petition because this one here is actually a logical petition now and this is where linux is that we're currently on so when i click on this you'll see mounted at file system route down here this is the system we're actually on right now and it's just under this extended petition so there's all our drives and petitions we'll open the file manager and we know that data is where the the files were so let's there's that video there this is the video we're playing before on windows so let's give that a click and see what happens and there's our video playing on linux and we can see that there's currently 19.3 gigabytes of free space on that data drive so that's scenario number two i guess you could call that where you've got an existing drive that you've been using in your windows system as a data storage and you've got enough free space on it to bang linux in there somewhere and that's a way of doing that there's obviously lots of other different things you can do you disconnected your windows drive from the computer by pulling the cable out of it or removing it from your laptop while you installed linux using any of these methods that i've just shown here you can run this command that's currently sitting there in the terminal which is sudo space update dash grub you press enter put in your password press enter again we should see it find windows here in a moment so there we go found windows 10 on device sda1 so that should update grub to allow you to use grub to boot either windows or linux as you've seen when i've pressed my f12 key pressing f12 here because i'm doing this in a virtual environment looks quite a bit different than what you're probably going to see but it does give us the choice here of which hard disk we want to boot off in this case i'm going to choose two and there's our windows and linux both in the grub menu there so we can boot to linux or we can boot to windows so that's how you can update grub in the instance where you've actually disconnected or remove the windows 10 drive from the machine while you are installing linux ideally you would also change the boot order in the bios or the motherboard to look for the drive the 60 gig drive in this case with linux mint on it and it'll find the grub menu there and you can just use this to boot either windows or linux mint or you can just let it default to booting into windows if that suits your your use case more and just press the boot menu key when you want to bring this up and start linux that way as usual there's risks with the doing things of this nature so the onus is on you i'm just showing how i set my systems up some of the stuff that i do and what you want to do and what suits you could well be something quite a bit different than what i do so there's two different ways of installing linux onto a separate drive than your windows system and enjoy you
Info
Channel: Bradley
Views: 48,331
Rating: undefined out of 5
Keywords:
Id: zZGK0w5EAmE
Channel Id: undefined
Length: 33min 10sec (1990 seconds)
Published: Tue Jun 08 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.