01-07-2016, 12:11 PM
Couple of other notes I forgot to mention before.
1. In past, MS Windows always needed to be installed at beginning of drive. I don't think that is the case for Windows 10, but just in case you may want to shrink the LL root from left to right -- resulting in the free space being at the beginning of the drive. Boot one time into LL after doing that to make sure that ability to boot into it is still working. If not, it can be fixed using your live LL dvd/usb, so don't panic if that happens. (See below)
2. The Windows install will wipe-out LL's boot loader and you won't have choice to boot LL anymore. To fix that, boot again with your live LL dvd/usb and do the following using the terminal:
List partitions on the drive to find out which one is your LL root partition (the one formatted as "Ext4")
It may not be /dev/sda1 anymore, so look at output and find out which it is so you can plug the correct partition into the next command. I'm going to use "X" in the spot where you need to put correct root partition number in next command.
Mount the LL root partition to the live dvd/usb environment
Now install the grub boot loader which will replace the MS boot loader
Unmount the root partition
Reboot computer without the live LL dvd/usb and you should now have boot menu choices for booting both LL and Win10.
If don't see choice for booting Windows, boot into installed LL, open a terminal and enter this command to add the boot choice.
Next reboot should show both choices now.
1. In past, MS Windows always needed to be installed at beginning of drive. I don't think that is the case for Windows 10, but just in case you may want to shrink the LL root from left to right -- resulting in the free space being at the beginning of the drive. Boot one time into LL after doing that to make sure that ability to boot into it is still working. If not, it can be fixed using your live LL dvd/usb, so don't panic if that happens. (See below)
2. The Windows install will wipe-out LL's boot loader and you won't have choice to boot LL anymore. To fix that, boot again with your live LL dvd/usb and do the following using the terminal:
List partitions on the drive to find out which one is your LL root partition (the one formatted as "Ext4")
Code:
sudo parted --list
It may not be /dev/sda1 anymore, so look at output and find out which it is so you can plug the correct partition into the next command. I'm going to use "X" in the spot where you need to put correct root partition number in next command.
Mount the LL root partition to the live dvd/usb environment
Code:
sudo mount /dev/sdaX /mnt
Now install the grub boot loader which will replace the MS boot loader
Code:
sudo grub-install --boot-directory=/mnt/boot /dev/sda
Unmount the root partition
Code:
sudo umount /mnt
Reboot computer without the live LL dvd/usb and you should now have boot menu choices for booting both LL and Win10.
If don't see choice for booting Windows, boot into installed LL, open a terminal and enter this command to add the boot choice.
Code:
sudo update-grub
Next reboot should show both choices now.
Try Linux Beginner Search Engine for answers to Linux questions.