Linux Lite Forums
[SOLVED] Dual boot with Windows 10 - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Installing Linux Lite (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=17)
+--- Thread: [SOLVED] Dual boot with Windows 10 (/showthread.php?tid=2519)

Pages: 1 2


Re: [SOLVED] Dual boot with Windows 10 - gold_finger - 01-07-2016

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")
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.


Re: [SOLVED] Dual boot with Windows 10 - stevedat - 01-11-2016

Thank you!
It works for me perfectly.
Took time to shrink the partition then finally it works as it should be.
a Big thank to @gold_finger
^ ^


Re: [SOLVED] Dual boot with Windows 10 - gold_finger - 01-11-2016

Glad to here everything worked out.

Just out of curiosity, did Windows install to unformatted/unpartitioned space on the drive, or did you have to create an NTFS partition for it?


Re: [SOLVED] Dual boot with Windows 10 - stevedat - 01-11-2016

GParted it without formatting.
Booting with Windows 10 installer via USB recognized the unformatted partition by itself.


Re: [SOLVED] Dual boot with Windows 10 - stevedat - 01-14-2016

After that I decided to install Ubuntu-Mate also, and now it comes to this.
[Image: view?usp=sharing]
[Image: view?usp=sharing]
I can boot directly to Ubuntu-Mate.
Windows 10 can start but have to wait a bit.
Linux Lite gone  (T_T)
What should I do?
Thanks.


Re: [SOLVED] Dual boot with Windows 10 - stevedat - 01-14-2016

How can I insert pictures?
https://drive.google.com/file/d/1XfAKj8FaBH0qyolFOWrB6DDBZycpEyGdSA/view?usp=sharing
https://drive.google.com/file/d/1xNjn3yrRsegp9m7u1fJeldEPiaAetKATOA/view?usp=sharing



Re: [SOLVED] Dual boot with Windows 10 - firenice03 - 01-14-2016

For the images.. Try using imgur.. Upload image then copy the BBC code and paste into the forum...
If you had Windows 10, then Linux Lite then tried Ubuntu.. Grub probably needs updated/corrected.. There are several posts if this is what you need.. Linux Lite's grub likes to be the main/primary Smile

Give this link a look over.. Specifically posts from gold_finger Smile
https://www.freecinema2022.gq/forums/installing-software/dual-boot-up-problem/msg19604/#msg19604


Re: [SOLVED] Dual boot with Windows 10 - gold_finger - 01-14-2016

(01-14-2016, 01:45 AM)stevedat link Wrote: After that I decided to install Ubuntu-Mate also, and now it comes to this.
[Image: view?usp=sharing]
[Image: view?usp=sharing]
I can boot directly to Ubuntu-Mate.
Windows 10 can start but have to wait a bit.
Linux Lite gone  (T_T)
What should I do?
Thanks.

Follow link provided by firenice -- that will get you fixed.


(01-11-2016, 10:37 AM)stevedat link Wrote: GParted it without formatting.
Booting with Windows 10 installer via USB recognized the unformatted partition by itself.

Thanks for the info -- I wasn't sure what Windows would need because it's been a while since I've installed it myself.


If you don't mind, after you fix booting LL issue, can you post output of this terminal command to show what your partitions look like on  drive?  (I'm just curious again.  Can be done from either LL or Ubuntu.)  Thanks.
Code:
sudo parted --list



Re: [SOLVED] Dual boot with Windows 10 - stevedat - 01-16-2016

Code:
sudo parted --list
[/quote]
Here is the output:
stevedat@stevedat-N4050:~$ sudo parted --list
[sudo] password for stevedat:
Model: ATA ST9500325AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start  End    Size    Type      File system    Flags
1      1049kB  525MB  524MB  primary  ntfs            boot
2      525MB  85.9GB  85.4GB  primary  ntfs
3      85.9GB  345GB  259GB  primary  ext4
4      345GB  500GB  155GB  extended
6      345GB  498GB  153GB  logical  ext4
5      498GB  500GB  2049MB  logical  linux-swap(v1)