Personal choice here ---> Create 3 partitions: root (/), swap AND home - all personal files will be stored in the latter. If you need to reinstall / change the OS for another linux distro, personal files will be safe. Might be useful.
@@jainampunamia9823 There isn't a magic number here... it really depends on how much memory is available and how it will be used. You should first assess how many GBs will be consumed with all required software, save 2~8GB for swap and the remaining amount could be assigned for /home.
I have a question, i have windows on my internal ssd and i installed a 1tb nvme ssd that i wanna install parrotsec on. Think pad t580 what partitions should I make. @fernandom.1228
My first video of yours and it leaves me wishing I had the words to thank you properly for this video. I tried a couple of others but this is the only one that properly & clearly explained the sequence to get the missing AHCI drivers loaded. I would have been tearing my hair out if I hadn't taken the time to watch one more video. THANK YOU!!
This was a blast from the past for me. I used to switch distros every week like it was candy. I stopped dual booting after I built my first PC in 2014 and Windows wouldn't allow me to install linux. I think it was my fault because I installed Windows first and then I assumed Windows changed the BIOS to only allow Microsoft approved software. Come to find out after days of research, that the UEFI or whatever was preventing any Linux distro to be installed. The only one that I was able to install was Ubuntu 14 LTS which at the time was behind several versions. I gave up after weeks of research. I found out that the new motherboards lock out any OS that is not Microsoft approved because they are deemed 'unsafe'. Great! Fantastic. Great video !!
Thanks bro. This video is really helpful. I installed mint first with the help of your video, did not like it much and now installed Ubuntu. Thanks again.
I'm pretty sure you didn't need to create a swap partition, because Ubuntu creates a swap file which expands according to your needs and can be configured.
Thank You sir for this Helpful video ❤ I kinda like the way you don't edit those error during and also show us all the complete process that really helps in countering those same errors so Thanks again
I recently bought Dell XPS 15 9530 and I really don't get the logic of default being set to RAID in BIOS, its nuisance specially if you install second SSD like Samsung 990 Pro, which apparently doesn't work well with Intel drivers. This video also made me realize how much pain it is to dual boot Linux alongside windows. My idea was to partition the second SSD and boot Linux exclusively from that, but all this hassle is probably not worth it.
Great video! Ironically I just missed it after taking the same plunge to dual boot Ubuntu and Windows on my XPS 17 a few weeks ago. I was going into this expecting to have to reinstall Windows, but I found out the safe mode method of getting the AHCI drivers loaded from a random forum post. Now that that's all sorted both OSes run perfectly on my machine, on separate drives just to ensure a rogue Windows update doesn't brick my Linux install or something.
Darn dude, typing out those bitlocker recovery keys is like having your mother in law moving in with you for just a couple months and a year have passed... She is still with you.
If you don't know how to boot into your BIOS settings, just go to Windows Settings->Open Security and Updates-> Go to recovery option->click on Restart now option-> Your system now goes into a blue screen with first 2 options-> click Advanced settings and in there click uefi firmware settings)..... now your system restarts and shows options for Boot configurations, and other options, now just select the bios settings and you will get into the same thing shown in the video
If you are gona make changes on the BIOS is better to deactivate bitlocker (or disk encription on Home Editions) to prevent the bitlocker recovery key prompt every time you boot Windows. And Ubuntu should be capable of install with secure boot enable as default.
i think battery life would be most interesting topic for a linux laptop (which is also most tidious one to film) i expect to see pretty nice compile performance with linux system and this translates to poor battery life. Maybe you can uninstall dedicated gpu and use igpu to test battery life?? also thanks for the nice video. one note thoug;i think when it asks you to enter bitlocker key you can go back to boot menu and seitch back settings (instead of entering bitlocker key)
I've tried installing dual boot before and never ran into those troubles, so very useful video as usual. I'm looking forward to seeing some machine learning tests in that Linux XPS.
I read online that the Linux kernel version for this 22.04 LTS was not fully compatible for Intel 12 and 13th gen with that P and E cores architecture, can you do a comparison with an updated kernel ? Anw love your content man keep it up !
You shouldn't have to disable secure boot. Ubuntu works just fine with it since the kernel has a key. Also, instead of going into the bios and reordering the boot options you should just need to hit F12 at the time you were hitting F2. That should allow you to select the USB drive. I don't have an answer for the RAID bit because I would have just reinstalled Windows.
At 2:44 in the video he talks about changing the boot order to UEFI but which do you set it to - UEFI for the c: drive or UEFI for the USB stick where you have the ISO file saved ? He doesn't show a screen shot of his settings which is not helpful ! Anyone help me out on this one ?😁
Similar things happened to me on the HP, you have to disable dump protection, boot protection, activate legacy, verify that SATA was not with a Rapid Storage system, verify Bitlocker. Check if the partitions are MBR or GPT. All these steps are extremely important haha otherwise you will have a lot of headaches
I'm not sure if it was mentioned in another comment or in the video, but, if you have your system in Legacy BIOS, you first need to change it to UEFI (this part involves going all the way back to partitioning your disk, because you need to merge it again if you already separate it, and start from there).
On Dell’s, F12 for boot selection. Generally, once you’ve installed Ubuntu, GRUB2 would normally be first on the UEFI boot order after the installer restart and by default it’d boot to Ubuntu with Windows somewhere down the list. After logging into Ubuntu and go over whatever OOBE steps u do, u can install grub customizer to change the grub boot order if u want Windows to be first. At this point, just use grub as the first boot option in UEFI settings. Bonus, remember to configure the timezone settings on Linux so that it doesn’t mess up the time on Windows every time u switch between the 2 OS’s.
Just a quick FYI: if you want to boot with an SD card, this option must be enabled in BIOS. More, when booting with a valid image on the SD card you need to go back into BIOS and put that device at the top of the boot order.
WOOW, THAT WAS VERY USEFUL LESSON FOR DEVELOPERS WHO USES MULTI CROSS PLATFORM DEV TOOLS HUGE THANKS, I HAVE LEARNED PRICELESS TECHNIQUES 👍🏻👍🏻👍🏻🦁🦁🦁🦁🦁👑👑👑👑👑
can you make tutorial how to remove ubuntu from dual boot and most importantly how to uninstall grub proper way to leave just windows sorry if my English is bad
I’m amazed! I followed these steps one by one and tried not to panic and it worked! If I would have ran into any other issues than the ones you faced I would have been smoked… Can I reenable safe boot now or will that destroy everything?
The most interesting things are not shown: does wifi work, what about speakers and microphone, is it possible to switch to power safe mode and use integrated video card?
I have read some docs about swapfile and swap space volume, the later on seem has a faster speed, but the former one has more flexibility to adjust size
This video is exactly what i wanted as i have exactly the same problems.. Thanks I know also on Ubuntu website they do mention another solution .. but your version looks very do-able .
Great instructions! How do I do the same thing the other way around: I have a laptop that already has Ubuntu on it, and I want to create a grub menu that allows me to select Windows 11 as well.
Thanks for this video and showing all of the problems you have had. I have a dell XPS 9520 15 inch laptop. I’m having problems getting it to boot a USB DOS drive for running a special spinrite software disk maintenance software. I see you have UEFI San disk USB listed. How did you do that. Seems that turning of secure boot and just putting in the USB drive and choosing to boot the USB drive doesn’t work, since the USB is formatted for BIOS boot. Do you know how to make the dell boot from a BIOS Bootable USB? Or are you aware of a USB UEFI bootable DOS available for download? Thanks again for the video, good information .
> raid on weird, on Fedora (and Arch, NixOS), the kernel driver vmd was always loaded properly. I did have to disable it because there's a bug on linux that makes the storage get stuck at the highest power usage level.
Thanks Alex, I've got my XPS15 9520 i7-12700 dual booting now. I've used Pop!_OS 22.04 alongside Windows 11 (the original Dell version). Once installed, it seems that Pop can cope with the "RAID" setting, so I'm leaving that as it is. I've not got my grub menu working yet, so I currently need to F2 and change boot order to swap OS on reboot ... but this might be because Ieft the setting at RAID. I set up separate root, boot/efi, swap and home partitions. Pop has then also added another swap file, so I've got more swap (my 4G partition and Pop's additional 16G file) than intended, but that can stay as it is for now, as I can turn off my 4G but not the other 20G. Unlike my old XPS13 (from 2018) I can't seem to set the sleep mode to deep as /sys/power/mem_sleep can't be written. But since it is usually plugged in that's not stopping me from working. So, I'd better get the Linux setup finished and do some of that work now! Thanks again for the great video ... one of many great videos.
you can disable bitlocker and decrypt your drive prior to messing with it, then you won't have problems. They started to encrypt drives by default since windows 11 for some reason. At the same time they removed my good password and made me use 4 digit pincode...
to fix bitlocker problem follow these steps :- 1. Turn On Secure boot 2.Boot in WIndows 3.After booting in Windows go to settings and search Drive encryption 4.Turn off Drive encryption 5. Turn off Secure boot again. and boom! now its gona work fine 😁
Hi Alex, thanks for the great walkthrough. Would you recommend using a VM or Dual boot: I’m little concerned about OS upgrade. Will it wipe the boot menu again?
Go for dual boot, even if you have good hardware vm will still be slow comparably. Also you can just turn off the bit locker in windows before doing the installation then you'll not need to enter bit locker key if you access the windows drive from linux.
Battery life optimisation with linux is a bit of effort and normally slightly worse than OEMs Winows settings. Best results i got was with Pop OS from System 76. Out of the box good battery and hybrid gpu support.
Hi there, need a little help here 😣......so i was able to install Ubuntu perfectly but every time when I reboot my system the GRUB menu does not appear and each time I have to press F9 key for boot menu and select Ubuntu to launch it every time
Hi Alex, thanks for the video. Interesting that this procedure seems to get even more complicated rather than easier. I would recommend using a virtual machine for Linux instead on a Windows host. No need to mess around with partitioning, secure boot, Bitlocker, BIOS (except maybe for enabling virtualization), etc. You can get rid of a VM fast and easy. Backup, snapshots, restore, cloning are simple to use and make things a lot easier when developing. And you can run your Windows and Linux in parallel instead of choosing one over the other when booting. I don't think that dual boot is the way to go today. I think the only advantage it has is running on bare metal. Especially with Linux the performance gain is not that much compared to a VM, I think - I might be mistaken. Maybe you can do a comparison with some example projects?
i am working on some ROS robotic project which run ~280 packages at the same time, including precetion with AI model, which VM cannot handle it well, not mentioning about VM not supporting the GPU driver
I suggest you to save recovery file un safe usb drive to saving time next time. This happen even turn on or after turn back on. It is little bit annoying but anyway this working for me.
It’s a bit of an odd request, but i wonder if you could do a video seeing how difficult it’d be to have a workflow that includes two macs and universal control. For me, i need >=3 displays for my job, and i’m tempted to try a mac mini + macbook air instead of buying a macbook pro/max.
Hi, thanks the video! I have a question tho, which UEFI should go first on the boot sequence? I have 4 UEFI options (UEFI HTTPs boot, UEFI REST and two UEFI Generic Mass Storage) Thanks in advance :)
@@pfitz4881 Yes this is possible, just did this last night. Basically everything in his video step by step works for the most part, linux should recognize the second ssd you installed and you can do the same swap partition in the set up process. I have Windows 11 on my oem ssd in slot 1 and ubuntu 23.10 on slot 2 on a sandisk extreme 1tb ssd. The bitlocker key shit during this process is annoying af but it's not too bad. By the end dual boot works.
Forget to mention, if laptop use those pesky enterprise BitLocker encryption. Need to write down the BitLocker key or disable BitLocker in Windows first, before resize and reboot system, otherwise booting into windows later will required enter BitLocker key, without key you will be lock out of the Windows.
Broo i dual booted my pc and Ubuntu works fine but my windows is showing Blue screen error saying critical process died and i did all the things available on the internet plzz help. Do i need to reinstall my windows ? But for few days windows is also working fine but all of a sudden it shows Blue screen from that day(few months ) i was unable to acces window in my pc
guys, if my puepose is to develop on robotics software likes ROS, and a bit perception with AI, should I go for XPS or Precision laptop. Having a hard time to choose between
hub 6-0:1.0: config failed, hub doesn't have any ports However, when I try to boot into Kali Linux from the GRUB menu, I encounter the following error message:hub 6-0:1.0: config failed, hub doesn't have any ports After this message, the screen freezes, and I can't proceed. Windows 11 boots without any issues. I have managed to boot into Kali Linux by adding the nomodeset parameter, which allowed me to update the system and the graphics drivers. However, upon rebooting without nomodeset, the same issue occurs. It will also Booted through recovery mode. And tried changing GRUB settings to include nomodeset permanently. But it hanged will booting to kali linux so i changed it again. Despite these attempts, the issue persists. I would appreciate any guidance or solutions to resolve this boot problem. Thank you!
Haha, welcome to the world of dualboot and distrohopping😄 many computers have a key (F11 often) for bootmenu. Switch off fastboot if u want access ntfs from linux. I use a separate second ESP (linux efi partition) for cleaner setups. I can heartly recommend "refind" as a bootmanager for efi systems. I dont use bitlocker nor secure boot as i permanently reinstall linux. Sudo apt install refind. You can manage bootorders in linux via bootmgr -o.
Why didn't you disable bitlocker when it popped up the first time. I think that could have saved you a lot of time( and security as well but maybe worth giving up)
The only issue with dual boot with the same drive when the system get corrupted it's all gone windows and Linux that is why i prefer to have each OS to have there own drive at least reinstall one drive without the other drive to be affected .
But, i hate dual boot with any linux distro with Windows 11, because when you workin on windows, the windows will lost the performance especially when the system start for indexing the files.
Hey, i was wondering if you could help me with some issues that im facing with my asus vivobook s14 k3402za, when i turned off, the battery drains, for example y turned off and leave it there for 8 hours and it drains 5%, also for 12 hours and it drains 6%, im waiting for the drain of 16 hours, it could be 10% because in 8 hours its 5% so idk what its causing this problem, but i tried a lot of things, and i know that its normal like 1 or 2% but in a week or something like that but i make some math and for our it drains like 0.632% of battery, and the laptop its pretty new it has a intel i5 12500h, Could you help me? Thanks
I hate laptops which come with Windows license on them since they're strictly locked under the secure boot. What kind of shit is that? Why can't there be more laptops with no OS installed?
its because that's the way Microsoft earn money from manufacturer and give free upgrade for the users, and that's how manufacture price up their product
JOIN: youtube.com/@azisk/join
Personal choice here ---> Create 3 partitions: root (/), swap AND home - all personal files will be stored in the latter. If you need to reinstall / change the OS for another linux distro, personal files will be safe. Might be useful.
thanks for this idea :)
How much gb should I give to home??
@@jainampunamia9823
There isn't a magic number here... it really depends on how much memory is available and how it will be used. You should first assess how many GBs will be consumed with all required software, save 2~8GB for swap and the remaining amount could be assigned for /home.
I have a question, i have windows on my internal ssd and i installed a 1tb nvme ssd that i wanna install parrotsec on. Think pad t580 what partitions should I make. @fernandom.1228
@@jciabatoni
Unless there is a specific need in which an additional partition is required/recommended, I would stick with the 3 mentioned above. 👍
Great video. This is what I need to do to my XPS15, and now I'm more confident to give it a try. Thanks very much.
Sometimes you need to disable windows fast boot in the control panel. It helps a lot when dual booting or trying a live image.
This type of videos is so helpful thank you, Alex!
My first video of yours and it leaves me wishing I had the words to thank you properly for this video. I tried a couple of others but this is the only one that properly & clearly explained the sequence to get the missing AHCI drivers loaded. I would have been tearing my hair out if I hadn't taken the time to watch one more video. THANK YOU!!
Glad to help!
This was a blast from the past for me. I used to switch distros every week like it was candy. I stopped dual booting after I built my first PC in 2014 and Windows wouldn't allow me to install linux. I think it was my fault because I installed Windows first and then I assumed Windows changed the BIOS to only allow Microsoft approved software. Come to find out after days of research, that the UEFI or whatever was preventing any Linux distro to be installed. The only one that I was able to install was Ubuntu 14 LTS which at the time was behind several versions. I gave up after weeks of research. I found out that the new motherboards lock out any OS that is not Microsoft approved because they are deemed 'unsafe'. Great! Fantastic. Great video !!
Thanks bro. This video is really helpful. I installed mint first with the help of your video, did not like it much and now installed Ubuntu. Thanks again.
I'm pretty sure you didn't need to create a swap partition, because Ubuntu creates a swap file which expands according to your needs and can be configured.
Thank You sir for this Helpful video ❤ I kinda like the way you don't edit those error during and also show us all the complete process that really helps in countering those same errors so Thanks again
I never had many issues dual booting, but the last time i did was in 2016. Have been rocking full Linux for a while now.
Just disable bitlocker and switch to AHCI. That worked for me with both windows and Linux working perfectly fine.
How did you disabled the bit Locker?
@@kamentim run command prompt as administrator and type: manage-bde -off c:
I recently bought Dell XPS 15 9530 and I really don't get the logic of default being set to RAID in BIOS, its nuisance specially if you install second SSD like Samsung 990 Pro, which apparently doesn't work well with Intel drivers. This video also made me realize how much pain it is to dual boot Linux alongside windows.
My idea was to partition the second SSD and boot Linux exclusively from that, but all this hassle is probably not worth it.
I was thinking about this video for couple of days and its finally here, damn I am so lucky. This guy is so good at explainging things.
Big fan of your work! Hi from Australia :)
Great video! Ironically I just missed it after taking the same plunge to dual boot Ubuntu and Windows on my XPS 17 a few weeks ago. I was going into this expecting to have to reinstall Windows, but I found out the safe mode method of getting the AHCI drivers loaded from a random forum post. Now that that's all sorted both OSes run perfectly on my machine, on separate drives just to ensure a rogue Windows update doesn't brick my Linux install or something.
Could I know where you take that AHCI drivers ? I search for Dell Inspiron 14 I cannot find that?
Darn dude, typing out those bitlocker recovery keys is like having your mother in law moving in with you for just a couple months and a year have passed... She is still with you.
it’s like having to pick up your dog’s waste, and then the whole neighborhood’s dogs’ waste
@@AZisk you win, just disgusting. I know the feeling, I have 7 dogs, all strays...
If you don't know how to boot into your BIOS settings, just go to Windows Settings->Open Security and Updates-> Go to recovery option->click on Restart now option-> Your system now goes into a blue screen with first 2 options-> click Advanced settings and in there click uefi firmware settings)..... now your system restarts and shows options for Boot configurations, and other options, now just select the bios settings and you will get into the same thing shown in the video
6:11 In older laptop models the bios configurations and dual booting is much more easier..... These newer models... ugh...😬🤔😯
Wow! Thank you! I'm learning some Windows stuff. (Safe boot - location & Shrink Volume) 👨💻
Windows(RaidON --> AHCI) --> SafeMode automatically helps and reinstall needed drivers :)
Yo man love your content
well ubuntu does support secure boot so you doesn't have to do any of this just install ubuntu with secure boot on
If you are gona make changes on the BIOS is better to deactivate bitlocker (or disk encription on Home Editions) to prevent the bitlocker recovery key prompt every time you boot Windows. And Ubuntu should be capable of install with secure boot enable as default.
😣 i definitely should have done that first
Thank you for the really clear guide! One clarification: if you choose btrfs instead of ext4 for Linux partitions, it should support RAID storage.
i think battery life would be most interesting topic for a linux laptop (which is also most tidious one to film) i expect to see pretty nice compile performance with linux system and this translates to poor battery life. Maybe you can uninstall dedicated gpu and use igpu to test battery life?? also thanks for the nice video. one note thoug;i think when it asks you to enter bitlocker key you can go back to boot menu and seitch back settings (instead of entering bitlocker key)
I've tried installing dual boot before and never ran into those troubles, so very useful video as usual. I'm looking forward to seeing some machine learning tests in that Linux XPS.
I read online that the Linux kernel version for this 22.04 LTS was not fully compatible for Intel 12 and 13th gen with that P and E cores architecture, can you do a comparison with an updated kernel ? Anw love your content man keep it up !
You shouldn't have to disable secure boot. Ubuntu works just fine with it since the kernel has a key. Also, instead of going into the bios and reordering the boot options you should just need to hit F12 at the time you were hitting F2. That should allow you to select the USB drive. I don't have an answer for the RAID bit because I would have just reinstalled Windows.
Absolute life saver! Thank you so much for this, love the channel!
Thank you so much sir for the very detailed instructions! Like & Subscribed!
At 2:44 in the video he talks about changing the boot order to UEFI but which do you set it to - UEFI for the c: drive or UEFI for the USB stick where you have the ISO file saved ? He doesn't show a screen shot of his settings which is not helpful !
Anyone help me out on this one ?😁
you do not need to turn off secure boot for popular linux distros. just small niche ones.
Similar things happened to me on the HP, you have to disable dump protection, boot protection, activate legacy, verify that SATA was not with a Rapid Storage system, verify Bitlocker.
Check if the partitions are MBR or GPT.
All these steps are extremely important haha otherwise you will have a lot of headaches
This helped a lot. Thank you so much!
Can u explain a bit the workaround logic behind? Why safe mode first could help fixing it
I'm not sure if it was mentioned in another comment or in the video, but, if you have your system in Legacy BIOS, you first need to change it to UEFI (this part involves going all the way back to partitioning your disk, because you need to merge it again if you already separate it, and start from there).
On Dell’s, F12 for boot selection.
Generally, once you’ve installed Ubuntu, GRUB2 would normally be first on the UEFI boot order after the installer restart and by default it’d boot to Ubuntu with Windows somewhere down the list.
After logging into Ubuntu and go over whatever OOBE steps u do, u can install grub customizer to change the grub boot order if u want Windows to be first. At this point, just use grub as the first boot option in UEFI settings.
Bonus, remember to configure the timezone settings on Linux so that it doesn’t mess up the time on Windows every time u switch between the 2 OS’s.
Just a quick FYI: if you want to boot with an SD card, this option must be enabled in BIOS. More, when booting with a valid image on the SD card you need to go back into BIOS and put that device at the top of the boot order.
WOOW, THAT WAS VERY USEFUL LESSON FOR DEVELOPERS WHO USES MULTI CROSS PLATFORM DEV TOOLS
HUGE THANKS, I HAVE LEARNED PRICELESS TECHNIQUES 👍🏻👍🏻👍🏻🦁🦁🦁🦁🦁👑👑👑👑👑
Very interesting, I encountered the same problems myself but did not know what to do with it :)
can you make tutorial how to remove ubuntu from dual boot and most importantly how to uninstall grub proper way to leave just windows sorry if my English is bad
I’m amazed! I followed these steps one by one and tried not to panic and it worked! If I would have ran into any other issues than the ones you faced I would have been smoked…
Can I reenable safe boot now or will that destroy everything?
The most interesting things are not shown: does wifi work, what about speakers and microphone, is it possible to switch to power safe mode and use integrated video card?
Battery life comparison (Windows vs Ubuntu), please!
Great video. Just what I needed for a new dell xps purchase that shipped with Windows, but the price was just too good.
7:02 instead you might want to use /swapfile instead of creating separate partition for that
sorry to disturb. is it possible to fully install it on the flash drive? Don't wanna partition my internal ssd
@@willy7968 oh no worries :) yes you can but ready to get slow write/read speeds as it heats up easily so not recommended. better partition the ssd
I have read some docs about swapfile and swap space volume, the later on seem has a faster speed, but the former one has more flexibility to adjust size
@@thomasluk4319 could you have a chance to send the doc please? I didn’t know there has been a catch
This video is exactly what i wanted as i have exactly the same problems.. Thanks I know also on Ubuntu website they do mention another solution .. but your version looks very do-able .
Nice Alex! I was an xps user a couple of years ago, and wanted to do dual boot W and L... never managed to do it correctly.
Switched to mac now 😂
Great instructions! How do I do the same thing the other way around: I have a laptop that already has Ubuntu on it, and I want to create a grub menu that allows me to select Windows 11 as well.
Thanks for this video and showing all of the problems you have had. I have a dell XPS 9520 15 inch laptop. I’m having problems getting it to boot a USB DOS drive for running a special spinrite software disk maintenance software. I see you have UEFI San disk USB listed. How did you do that. Seems that turning of secure boot and just putting in the USB drive and choosing to boot the USB drive doesn’t work, since the USB is formatted for BIOS boot. Do you know how to make the dell boot from a BIOS Bootable USB? Or are you aware of a USB UEFI bootable DOS available for download? Thanks again for the video, good information .
Thanks for showing the process with the pitfalls too. What kind of development will you be doing with Linux?
I have a question, I will do the project about the deep learning and I would like to know that what should I use WSL or Dual Boot, which is better?
> raid on
weird, on Fedora (and Arch, NixOS), the kernel driver vmd was always loaded properly. I did have to disable it because there's a bug on linux that makes the storage get stuck at the highest power usage level.
Some benchmarks with complex spring boot project building time and Unit test running
Thanks Alex, I've got my XPS15 9520 i7-12700 dual booting now. I've used Pop!_OS 22.04 alongside Windows 11 (the original Dell version). Once installed, it seems that Pop can cope with the "RAID" setting, so I'm leaving that as it is. I've not got my grub menu working yet, so I currently need to F2 and change boot order to swap OS on reboot ... but this might be because Ieft the setting at RAID. I set up separate root, boot/efi, swap and home partitions. Pop has then also added another swap file, so I've got more swap (my 4G partition and Pop's additional 16G file) than intended, but that can stay as it is for now, as I can turn off my 4G but not the other 20G. Unlike my old XPS13 (from 2018) I can't seem to set the sleep mode to deep as /sys/power/mem_sleep can't be written. But since it is usually plugged in that's not stopping me from working. So, I'd better get the Linux setup finished and do some of that work now! Thanks again for the great video ... one of many great videos.
Hello @AZisk thankyou for this video. How did you find battery life on the linux install - is it roughly equivalent to Windows?
you can disable bitlocker and decrypt your drive prior to messing with it, then you won't have problems. They started to encrypt drives by default since windows 11 for some reason. At the same time they removed my good password and made me use 4 digit pincode...
Great work, thanks mate
to fix bitlocker problem follow these steps :-
1. Turn On Secure boot
2.Boot in WIndows
3.After booting in Windows go to settings and search Drive encryption
4.Turn off Drive encryption
5. Turn off Secure boot again.
and boom! now its gona work fine 😁
awesome! thanks!
Hi Alex, thanks for the great walkthrough. Would you recommend using a VM or Dual boot: I’m little concerned about OS upgrade. Will it wipe the boot menu again?
Go for dual boot, even if you have good hardware vm will still be slow comparably. Also you can just turn off the bit locker in windows before doing the installation then you'll not need to enter bit locker key if you access the windows drive from linux.
Battery life optimisation with linux is a bit of effort and normally slightly worse than OEMs Winows settings. Best results i got was with Pop OS from System 76. Out of the box good battery and hybrid gpu support.
Hi there, need a little help here 😣......so i was able to install Ubuntu perfectly but every time when I reboot my system the GRUB menu does not appear and each time I have to press F9 key for boot menu and select Ubuntu to launch it every time
Great video, thanks a lot! But, how can I undo all changes?
Alex Ziskind I'm more interested in ARM releases. Did you upgrade your Surface Pro X to Surface Pro 9 SQ3?
Oh my God, sir, you are a life saver. Thank you very, very much!
Hi Alex, thanks for the video. Interesting that this procedure seems to get even more complicated rather than easier. I would recommend using a virtual machine for Linux instead on a Windows host. No need to mess around with partitioning, secure boot, Bitlocker, BIOS (except maybe for enabling virtualization), etc. You can get rid of a VM fast and easy. Backup, snapshots, restore, cloning are simple to use and make things a lot easier when developing. And you can run your Windows and Linux in parallel instead of choosing one over the other when booting. I don't think that dual boot is the way to go today. I think the only advantage it has is running on bare metal. Especially with Linux the performance gain is not that much compared to a VM, I think - I might be mistaken. Maybe you can do a comparison with some example projects?
i am working on some ROS robotic project which run ~280 packages at the same time, including precetion with AI model, which VM cannot handle it well, not mentioning about VM not supporting the GPU driver
I suggest you to save recovery file un safe usb drive to saving time next time. This happen even turn on or after turn back on. It is little bit annoying but anyway this working for me.
It’s a bit of an odd request, but i wonder if you could do a video seeing how difficult it’d be to have a workflow that includes two macs and universal control.
For me, i need >=3 displays for my job, and i’m tempted to try a mac mini + macbook air instead of buying a macbook pro/max.
Awesome :-) thank you for your tutorial. A question, but your speaker and subwoofer work under linux ?
Hi, thanks the video! I have a question tho, which UEFI should go first on the boot sequence? I have 4 UEFI options (UEFI HTTPs boot, UEFI REST and two UEFI Generic Mass Storage) Thanks in advance :)
Thanks a lot it helped me a lot thank u so much great video
Hi Alex, is it possible to boot Windows from the 1st PCIe and Linux from the 2nd PCIe slot of the XPS 15 9530?
I want to do this as well.. Windows 11 Pro on SSD1, and Linux Mint DE6 on SSD2. Did you ever get this working?
@@pfitz4881 Yes this is possible, just did this last night. Basically everything in his video step by step works for the most part, linux should recognize the second ssd you installed and you can do the same swap partition in the set up process. I have Windows 11 on my oem ssd in slot 1 and ubuntu 23.10 on slot 2 on a sandisk extreme 1tb ssd. The bitlocker key shit during this process is annoying af but it's not too bad. By the end dual boot works.
Forget to mention, if laptop use those pesky enterprise BitLocker encryption. Need to write down the BitLocker key or disable BitLocker in Windows first, before resize and reboot system, otherwise booting into windows later will required enter BitLocker key, without key you will be lock out of the Windows.
Broo i dual booted my pc and Ubuntu works fine but my windows is showing Blue screen error saying critical process died and i did all the things available on the internet plzz help. Do i need to reinstall my windows ?
But for few days windows is also working fine but all of a sudden it shows Blue screen from that day(few months ) i was unable to acces window in my pc
is this possible on an older laptop? thinkpad from 2016 for example..
How long is battery life in linux?
Do your subwoofers work on linux? (On my xps they don't, and I could get them to work, they're fine on windows though)
Dont use rufus or other same software. You can just mount the image and copy files from it to your usb drive :)
guys, if my puepose is to develop on robotics software likes ROS, and a bit perception with AI, should I go for XPS or Precision laptop. Having a hard time to choose between
hub 6-0:1.0: config failed, hub doesn't have any ports
However, when I try to boot into Kali Linux from the GRUB menu, I encounter the following error message:hub 6-0:1.0: config failed, hub doesn't have any ports After this message, the screen freezes, and I can't proceed. Windows 11 boots without any issues.
I have managed to boot into Kali Linux by adding the nomodeset parameter, which allowed me to update the system and the graphics drivers. However, upon rebooting without nomodeset, the same issue occurs. It will also Booted through recovery mode.
And tried changing GRUB settings to include nomodeset permanently. But it hanged will booting to kali linux so i changed it again. Despite these attempts, the issue persists. I would appreciate any guidance or solutions to resolve this boot problem. Thank you!
I have dual boot Linux and Windows on my computer but don't know when I need Linux, would you show out what you do on Linux ? :)
Haha, welcome to the world of dualboot and distrohopping😄 many computers have a key (F11 often) for bootmenu. Switch off fastboot if u want access ntfs from linux. I use a separate second ESP (linux efi partition) for cleaner setups. I can heartly recommend "refind" as a bootmanager for efi systems. I dont use bitlocker nor secure boot as i permanently reinstall linux. Sudo apt install refind. You can manage bootorders in linux via bootmgr -o.
Why didn't you disable bitlocker when it popped up the first time. I think that could have saved you a lot of time( and security as well but maybe worth giving up)
Grt tutorial.... but now all my bitlocked partition of windows are shown as locked in linux. Cannot access them....anybidea how to go about that?
Really good ❤️ thank you
does the Ubuntu support all the hardware of XPS? - like WiFi card, Nvidia card, Bluetooth and all
The only issue with dual boot with the same drive when the system get corrupted it's all gone windows and Linux that is why i prefer to have each OS to have there own drive at least reinstall one drive without the other drive to be affected .
Getting to dualboot Ubuntu and Windows is a nightmare. Doesn't matter the machine.
But, i hate dual boot with any linux distro with Windows 11, because when you workin on windows, the windows will lost the performance especially when the system start for indexing the files.
Hey, i was wondering if you could help me with some issues that im facing with my asus vivobook s14 k3402za, when i turned off, the battery drains, for example y turned off and leave it there for 8 hours and it drains 5%, also for 12 hours and it drains 6%, im waiting for the drain of 16 hours, it could be 10% because in 8 hours its 5% so idk what its causing this problem, but i tried a lot of things, and i know that its normal like 1 or 2% but in a week or something like that but i make some math and for our it drains like 0.632% of battery, and the laptop its pretty new it has a intel i5 12500h, Could you help me? Thanks
The challenges with Linux is that not all device drivers are there. Sometimes the SD card reader doesn't work any more, or the wifi chip.
it's a game, but at least my lenovo ideapad 5 works wonderfully on it
uff… I don't think I can handle that much stress at the moment, but WSL 2 getting out of memory is pretty annoying as well.
Why on kali the screen generate PWM lines and does not in windows?
Feel like watching OS focused channel
Clean and Neat ❤
Is it the same process with any linux distribution
I constantly have to enter the Bitlocker number - is this correct or can it be canceled?
I just got a used ThinkPad for Linux. I didn't want to deal with dual booting one machine.
I hate laptops which come with Windows license on them since they're strictly locked under the secure boot. What kind of shit is that? Why can't there be more laptops with no OS installed?
i hate the secure boot feature
its because that's the way Microsoft earn money from manufacturer and give free upgrade for the users, and that's how manufacture price up their product
After the dual boot I'm able to run Ubuntu without any error, but, Windows OS is resulting in an error.
Not sure what I did wrong. How do I fix this ?