How to dual boot with W10 on pre-installed Ubuntu laptop
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to dual boot with W10 on pre-installed Ubuntu laptop
Hello all, I just bought a Dell xps 13" laptop with Ubuntu pre-installed. Does anyone know how to dual-boot it with Windows 10? I can only find threads performing the operation starting from Windows and would hate to cause a catastrophy due to ignorance. Many thanks in advance!
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,521
Rep:
You must make some free space on the HDD to make a Win10 partition. Then, install Win10. After that Ubuntu won't boot anymore. So, you must boot with the Ubuntu install DVD, choose 'rescue', and reinstall the boot loader. Then you should have both OSs.
That sounds pretty straight forward. I'm not sure the laptop comes with a ubuntu install dvd as it's pre-loaded. Does that mean I have to burn a disc image from the pre-installed Ubuntu version in advance or could I just download a new version?
Another possibility is to install VirtualBox under Linux, and boot W10 in a virtual machine.
Yet another option, if you know that the machine can boot from an external device, would be to buy an external hard drive. Put the disk drive of your choice as the primary drive inside the box, and the other one in the external enclosure. Select the operating system by specifying which drive to boot from.
As you might have guessed, I do not like to monkey with "dual booting" or to repartition things. But I use external hard drives (FireWire, in my case ...) rather constantly.
You will first need to determine whether Ubuntu is installed UEFI/GPT or Legacy boot. Since you can boot Ubuntu, do that and open a terminal and run the command below which will output either EFI or Legacy.
Quote:
[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
Windows 10 will have a Custom install option which you should use otherwise you are likely to overwrite everything on the disk. Windows will overwrite your bootloader without asking or informing you if you are using Legacy. Not sure what would happen with an EFI install.
Which release of Ubuntu are you using? You can download and burn a new DVD or put the Ubuntu iso on a flash drive and boot that because you can't do it from the installed system as it will be mounted and in use.
It looks like 16.04 is the version installed on the XPS 13 which is the current LTS version so no worries there. You can burn a DVD or USB and boot to rescue mode where you can reinstall the grub boot loader as stated.
How easy it will be to repartition the drive is dependent on how Dell installed Ubuntu. I'm with sundialsvcs and usually go with VMs over duel booting if needed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.