Dual Boot Workstation - Windows 11 & Ubuntu 22.04
Вставка
- Опубліковано 28 тра 2024
- Step-by-step instructions for building a dual-boot workstation with Ubuntu Linux 22.04 & Microsoft Windows 11
Article with code: dronebotworkshop.com/dual-boot
More articles and tutorials: dronebotworkshop.com
Join the conversation on the forum: forum.dronebotworkshop.com
Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
The workstation in my office that I use to develop code is on its last legs, so I’ve decided to put together a new one. This time, instead of just Linux, I’m building a dual-boot computer that will run both Ubuntu Linux 22.04 and Microsoft Windows 11.
I’m starting from scratch, with a “bare-bones” Intel NUC 11 that I’ve configured with two SSDs and memory, however, you can also use these instructions to modify an existing Windows 11 device. I’m installing both Windows and Linux onto the same SSD, but you can also use independent drives for each operating system if you prefer. And, if you wish, you could use a different distribution of Linux.
Dual-boot machines are not perfect, you can also elect to use virtual machines or WSL (Windows Subsystem for Linux), I’ll go over those options in the video.
Once I get the two operating systems installed, I’ll also create a shared drive that is visible to both Linux and Windows. Then I’ll demonstrate how you can configure your Arduino IDE to use the same shared location for storing sketches and libraries.
Here is the Table of Contents for today's video:
00:00 - Introduction
02:43 - Dual-Boot Workstation
08:12 - Dual-Boot Alternatives
09:47 - Obtain Ubuntu & Windows
13:40 - Bootable USB Utilities
15:42 - Windows Licensing
19:58 - BIOS Settings
21:58 - Install Windows 11
26:20 - Prepare Windows for Linux
32:44 - Install Ubuntu 22.04
37:07 - Bootloader Choices
39:23 - Using Both Operating Systems
49:24 - Conclusion
Hopefully you will find the video and the associated article useful if you’re putting together a dual-boot system of your own. - Навчання та стиль
Hi everyone - It's come to my attention that there has been someone masquerading as myself, responding to some comments here with a link to a Telegram chat to win a prize from me. THIS IS A SCAM, I am not holding a contest, nor do I have a Telegram account. PLEASE DO NOT RESPOND TO THESE MESSAGES!!
It's happening on a lot of my videos, I'm taking steps to remove them manually, but as I have 162 videos, it will take some time. If you do run across a suspicious comment, I would appreciate you letting me know at info@dronebotworkshop.com.
Thanks!
Bill (The real one!)
I don't know how you do this. Every time I have a thought in my head to make my life easier, I come across your page and you're teaching the exact thing I've been thinking. I hope you don't have a bug in my apartment.
I love how you explain things. It makes your videos incredibly enjoyable. It also helps closeted nerds, like myself, realize their true potential.
With a program on the USB pendrive called Ventoy you can load multiple iso/img files on it and boot from one usb pendrive and install whichever distro you want
Great content! Keep em coming!!!!
Some great tips in there Bill--great video!
Once again a superb and very useful video, thanks a lot !
Having multiple operating systems at hand is super useful. I`m mainly a Windows user, but having multiple VMs ready helped me a lot. Especially with all the different kinds of USB to Serial Chips / Drivers we use it can sometimes be a lifesaver to have a Linux and a very clean windows install at hand.
Excellent video, very clear explanation
Excellent video Bill, as usual.
Great detail as usuall, thank you.
Hi, I just want to point out that there is a thing called Ventoy. All you have to do is install and run the program for a few seconds then bam! You just have to copy how many ISOs you want on the drive and you’d have the option to choose OS from the startup. No need for multiple drives!
Yeah that application feels too good to be true
Extremely comphrehensive Bill. Thank you for all the effort that it must have taken to research, script, shoot, edit and post.
One question: Did you replace Grub or edit it (or just leave it)?
Thank you Sir, You are doing a great job. God bless you
Thanks for the video! I have an old laptop which has been retired but I haven't brought myself to get rid of (first loves and all that). It runs Windows 7 and I was thinking about turning it into a home server to play private games with mates but wanted to run an OS which didn't bog down the PC so much, on account of its old hardware. Even though I won't be using Win11 or Ubuntu, the theory behind dual booting should be similar and the vid was really well explained. Good to know I have to disable some windows settings before loading up another OS on the machine.
Hope you're not disheartened by some of the comments down here, not everyone is an elitist! :D
When I build my AI/ML workstation machine at the end of this year, I'll almost definitely be running Qubes OS. It takes the idea of isolating things via virtual machines, and turns that into something incredible, does it efficiently and impressively by essentially having the first OS you install not actually an OS, but a hypervisor. That talks to the bare metal components. For each type of activity, you can have a 'Qube' specialized for that, and set up for decent security for that application. It even has an in-between system to stop malicious USB media making its way to the important VMS. However, there are issues with getting modern vidcards working, according to the community. So, the easiest solution would be to dual-boot that OS with Windows, and *definitely* protect against the 'evil maid' attack.
Hi Bill - great video. I leaned a lot about installing windows 11. What about a share on network drive (NAS) to share data between the two (and maybe other too) machines instead of an internal hard drive?
Or even a simple FAT32 partition that can be mounted in Linux and accessed directly in Win11?
Using WSL myself as I require Windows for work. WSL doesn't have to be command line only. One way to get a GUI is to install xfce4 and xrdp and then use rdp to connect to the WSL machine.
Dual boot? Now you're just showing off :) Very nice indeed.
Have you tried using LUKS to encrypt your linux partition? How well does GRUB and the Windows bootloaders work with it? Along that same line, have you tried using Bitloack and LUKS on their respective partitions?
I am looking at building my new development machine, similar to yours, but I have encrypted my linux partitions for many years.
Could you please make videos on BLDC motor drive? Using FOC and trapezoidal and Sinusoidal
Is it possible to make a home server with multiple computers connected and communicating? Sorry im new to this
We need a kinematics lesson regarding robotic arm plz
NUC Mini-PCs exist mainly with Intel processor, but sometimes with AMD processor, correct?
Not that I'd ever miss an excuse to build a new pc, but if you peel the sticker off the fan you can probably get some oil into the (likely) sleave bearing and shut the fan up for awhile.
So BCD data is boot control data data. Isn't that an unnecessary extra data, a bit like PIN number, ATM machine, PCB board or LCD display?
Correct me if I'm wrong but Etcher will NOT build a Windows 10 or 11 ISO to usb when used on a Linux box. Shame but there you go.
what do you use to backup the ubuntu drive?
I am using WSL2 and now its support Linux gui apps
Is it possible to pick between GRUB and the Windows Boot Manager at will? I've been dual-booting for quite some time now but the bootloader is still a mystery to me lol
What about KVM? Is KVM better than dual boot?
I’m unfamiliar with ‘KVM’ as an operating system. However! I own an old 8-way KVM switch-port. It doesn’t have usb jacks for the mouse or keyboard, those are PS-2, and it’s graphics only accommodate VGA monitor, no HDMI on this archaic piece of relic-ware. KVM standing for Keyboard, Video, and mouse. This box has sockets to allow to plug in the wires for up to 8 seperate computers. Then there’s one last set of sockets, the set for your actual one monitor, one keyboard, and one mouse. So you press the button number 3, and suddenly you’re interacting with computer number three. Press ‘4’ and
Now you’re on compurer number 4. So one single set of peripherals, to control up to 8 computers at a time! BTW, they still sell newer KVM switch ports with the HDMIs and USBs, in case you don’t roll with the old school peripherals.
@@jimmy_jamesjams_a_lot4171 , I am sorry buddy, I was talking about Kernel based Virtual Machine.
i am facing a problem recently. could you do a video on merging diff HDD with Diff OS onto a single SSD
HDD1-MBR: 100MB (Unallocated), 97GB(Windows10),576MB(recoverypartion),200GB(General Data/storage Files)
HDD2-GPT: 476MB(EFI with status Active), 15.3 GB (LINUX SWAP),1.9GB (EXT4),131.4(EXT4)---Has Grub Loader
NEW-HDD3 is the NVME-SSD 512GB.
Challenge
1) Merge HDD1 & HDD2 => NEW-HDD3, without reinstalling OS
2) Use a Common Storage Drive for both OS
3) Edit EFI may be using DISKGENIUS/Minipart/easyUS.
Value to the Viewers
1) How to Merge Diff OS into a single SSD
2) Edit GRUB
3) Learn to Extend EFI with Manual Editing wherever required.
I still think that you'd better run Linux and in case you really need a windows machine, hou run it on VirtualBox.
I thought Windows 11 only ran on new systems with an UEFI Bios and a TPM Security module.
Windows 10 now needs at least 8 GB of ram to run reasonably fast.
Another alternative is to use WSL. WSL provides a hypervisor that allows sharing of hardware assets with out the overhead of a VM. WSL is available to windows 10 and 11 systems. For a howto set up WSL with Unbutu see Dave's Garage at ua-cam.com/video/clZCrVZH4Gg/v-deo.html
I need a new computer for this one .I'm working with a windows 8.1 computer .
Awesome video tutorial! But as always, in jump the Windows naysayers. More proof that you can't please everyone and they can't resist proving that.
To be very honest, if you want to get Windows Updates, you will want a minimum of 128GB just for Windows and some very basic programs for Windows. If you have less then 128GB for Windows, you will run out of disk space very quickly, especially when doing updates.
Also, anything less than 8GB RAM with Windows will severely limit your performance. The "minimum" for Ubuntu gives a very usable system. The "minimum" for Windows will give you a barely functional system. Just something to keep in mind.
Also, Windows 10 may still be a better option for a lot of people, especially if they have a machine with a quite capable 7th gen or earlier Intel processor that will not natively run Win 11.
isn't it like... "15 years later - let's rediscover it again!" ;-)
Why in the world would you choose windows 11?
Why not lmao? Ppl gonna hate, but at the end of the day, windows is kickass and gets the job done
Because Microsoft force you to stop using older versions of Windows
@@GameBacardi I'm still using windows 10, there are plenty still using 7, and there are even people still using XP.
@@MathewPanicker1010 I'm not hating on Windows. I'm hating on Windows 11.
@@MathewPanicker1010 So does Linux - and it doesn't hate your privacy while its getting its job done.
8GB of RAM just to run an operating system??? If that's the minimum requirement of Windows these days, that's a huge amount of telemetry going on in the background stealing all of your personal information.
Bill, I am a big fan of your work and I have been considering installing Linux on my Windows 11 machine using WSL2 using hypervisor as discussed here: ua-cam.com/video/clZCrVZH4Gg/v-deo.html. It appears to allow concurrent Win/Linux and avoiding both a VM and dual boot. Would you consider this a good alternative?
Thanks for your great work !
I reckon that is a much better way instead of dual boot.
i use wsl2 for my frontend development with vs code such as angular or React etc... while backed i use c# with vs2022 and that works perfectly
Problem with this is, if you have to re-install windoz, you will LOOSE your Linux Boot !!!
Oh boy! Another dual boot tutorial. No shortage of these on the interwebs. Why anyone would want to install Windows 11 in any configuration is beyond me.
Some softwares are only available in Windows, like Solidworks, SPSS, and many accounting software. if your client or your company use it, you are for forced to use Windows.
I've recently bought a reconditioned PC running Windows 10 to run the very few programs I haven't found an adequate Linux replacement for. Things like accounting, model railway design and driving my Silhouette cutter. Just occasionally I may have other uses for it. I used to dual boot a laptop in Windows 7 or Linux Mint, but that's getting too old now. Windows really annoys me, but doing without it would be even more annoying! The great thing about Bill's videos is that they are so much clearer and more thorough that almost all the others on UA-cam, so are always worthwhile. I'm now tempted to set this machine up to dual boot, so I can use Windows as little as possible!
maybe you lack imagination? but even without imagination, surely you can understand that some things are windows only
@@esphilee So why would you dual boot on a machine on which your company forces you to use certain types of software? If it's a machine that they've provided to you, they may not even allow to you to install Ubuntu.
@@bboysil No software I own or use is Windows only. As such, I have no Windows machines any more. I would argue it took considerable imagination on my part to research Open Source software alternatives that allowed me to rid myself of my Microsoft abuser when support for Windows 7 ended.
Windows 11 on a machine with those minimum requirements (1 GHz dual core CPU, 4GB RAM) will be fun... NOT!
As someone who buys a lot of used hardware for Linux machines, it's amazing how cheap 4GB DDR3 RAM has become on eBay these days - and I put it down to the fact that Windows 11 has a minimum 8GB RAM requirement, and people who are foolishly upgrading to it are having to buy more RAM.
No operating system needs 8GB RAM just for itself, unless there are a large number of background applications running that the user is not aware of and is just telemetry tasks that are stealing all of the user's data and phoning it home to Microsoft.
That's how it works with Microsoft nowadays - you have to submit to their excessive system requirements just so it puts enough power and RAM in your machine to make it as easy as possible for Microsoft to destroy your privacy and steal all of your personal information.
I thought Ubuntu fell out of favor
I think Ubuntu is great tbh. Simple to use, good polish imo
The only thing I don't like about Ubuntu is the snap system. With one exception, it's been as solid as Debian.
It did somewhat but it'll be riding on its glory days a little more
I've moved away from Ubuntu and any distros based on it. Debian is a much better choice.
Thank you again for you hard work in producing another video, but in this case I am giving it a miss.
Windows 11 is privacy-hating bloatware and I personally see no reason why'd you ever dual boot it with an already far superior Ubuntu installation, even though I don't use Ubuntu but prefer Gentoo Linux.
I was fortunate in being able to rid myself of my Microsoft abuser when support for Windows 7 ended and good riddance to Microsoft.
But looking forward to the next video anyway!
when your Software requieres "windows", why you don't speek to the softwareengeneer's: "i need Linux-Code, because i run Linux! Can i take the sources from you?" i don't understand such thing and meaning! So is "Windows" become the leader in OS's! Linux is miles bether than every Windows-Version or you take directly the big UNIX! (back to the roots: Netware... smile ;-). ..)
The Video is nice to see (great job done!), but i don't need Windows, especialy not win11! Win 11 is a big system-/ user-spy! (spy-ware includet!)
On my maschines i will be the only root, THE GOD and no one other! The "caling home" of MS and Aple is a big failure of them! But is it intresting someone?
windows !!!!!!! OH MY GOD it's really wind-blows from micro$H!T .. WHY ?