posacop.blogg.se

How to install linux on windows 10 dual boot
How to install linux on windows 10 dual boot









how to install linux on windows 10 dual boot

It should work fine and boot both systems. Sudo grub-install /dev/sda # NOTE THAT THERE IS NO DIGITĪnd restart.

how to install linux on windows 10 dual boot

Then continue with those commands: sudo apt-get update If you have UEFI and Windows 8 and above you probably need to replace grub-pc with grub-efi-amd64 in sudo apt-get install grub-pc. Note: These instructions were initially written for Windows 7 and BIOS booting computers. If you have a SEPARATE /boot partition: sudo mount /dev/DEVICENAME_FROM_STEP_ONE /boot Sudo rm -rf /boot # Careful here, make sure YOU ARE USING THE LIVE CD. If you DO NOT have a separate /boot partition: sudo mount /dev/DEVICENAME_FROM_STEP_ONE /mnt Load up from your Ubuntu live CD, and then run these commands. Note: Instead of mounting the boot directory or partition from the installation in the live media environment you can specify the path with the -boot-directory parameter for grub-install, more information on the manpage. Install Windows 7 into the space you just made Step Three – Mount /boot If that doesn't show up there, make note of the / device. If it's a partition, remove it from GRUB to make sure it doesn't break your Ubuntu install - GParted will complain if anything bad is about to happen. Open up GParted, and make sure that you have at least 20 GB available for Windows 7, either as a partition you can remove, or as unpartitioned space. Step Zero – Backup your important data before doing anything Step One – Make space for Windows











How to install linux on windows 10 dual boot