[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
|
[SOLVED] Dual boot with Windows 10 - stevedat - 12-29-2015 Hi everyone, First of all, a big thank to Linux Lite creator & its team members. I am running Linux Lite 2.6 on my Dell Inspiron N4050 and being happy with it. ;D However I need to use Windows for some stuff. I know that most of the stuff can find and work on Linux, but it's not all. So I want to reinstall Windows on my machine. The point is I decided to install Linux Lite 2.6 on my entire HDD (500GB). I separated my hard drive like that: /root (80GB), /home (400BG), and /swap (2GB) (there is only 3 partitions and amount numbers of GB on each partition is not accurate, just relevant numbers). And now I am going to install Windows 10 and having a dual boot to pick up which OS to boot up when I want to run Linux Lite or Windows 10. : Can you guys guide me best ways to do it without losing any existing data at /home? Re-seizing partitions by GParted takes long to complete - it was a painful experience. !_! I think that I need a way fast & secured! :-[ Thanks. Dat Re: [SOLVED] Dual boot with Windows 10 - torreydale - 12-29-2015 Why not run Windows 10 in a virtual machine using VirtualBox? Re: [SOLVED] Dual boot with Windows 10 - gold_finger - 12-29-2015 (12-29-2015, 10:11 AM)stevedat link Wrote: Can you guys guide me best ways to do it without losing any existing data at /home?There is no 100% guarantee when installing any operating system (Windows or Linux), so it's always advisable to make backup copies of important files before doing any new installation. Please do that if you can. Whenever partitions on the drive need to be manipulated/changed there is always a risk that something will go wrong. When following correct procedures problems are rare, but there is always some risk involved. In order to give you best advise on how to proceed, please boot into Linux Lite, open a terminal and post back here with the output from this command: Code: sudo parted --list That will show exact partition structure on the disk right now and whether those partitions are "primary" or "logical", which is important to know before giving you instruction. If you are only planning to use Windows for a few things (and don't plan to install a lot of programs to it), there is a good chance that you may not need to shrink your Linux home partition at all. Your current LL root partition is 80GB, which is way more than necessary. I believe a new install of Win 10 will take-up around 20GB +/- of space. Your LL root probably uses only 6-10GB of space, so you can safely shrink the root partition to 20GB and still have plenty of space left over for expansion. That will leave you with 60GB to put Windows on. Windows will take-up about 20GB of that and you'll still have around 40GB left to install other programs, etc. If you want to see exactly how much space is being used on your LL root partition right now, open a terminal, enter this command and look at what is says for the root partition: Code: df -h Before doing anything, make sure you have a "live" Linux Lite dvd/usb. If you still have the one you used to install LL, good. If not, make a new one and test booting it to make sure it works properly. You will need the LL dvd/usb to shrink the root and/or home partition. (You can not do that while booted into the LL that you installed on the hard drive. It must be done from a live dvd/usb.) After you post back with terminal output requested above, I (or someone else) will get back to you with specific instructions on how to proceed. Unless you already know how to fix boot issues yourself, don't attempt to shrink the root partition before one of us posts back with those instructions. (Shrinking root could break booting of LL, so you'll need to know how to fix that using a live dvd/usb before you try doing it.) Re: [SOLVED] Dual boot with Windows 10 - stevedat - 12-30-2015 (12-29-2015, 11:29 AM)torreydale link Wrote: Why not run Windows 10 in a virtual machine using VirtualBox?Actually my dell laptop just installed 2GB of Ram, impossible to run Windows 10 in VirtualBox ^ ^, and I got Windows XP in VirtualBox already, but it seems that there is something wrong with USB connection although I also installed needed extension pack but it's useless. Re: [SOLVED] Dual boot with Windows 10 - stevedat - 12-30-2015 Thank you. I will try. I didn't notice partitions are primary or logical and because it's quite strange to me ^^ When installing Linux Lite 2.6, I started from formatting the entire drive then separated /root, /home, and /swap :'( Re: [SOLVED] Dual boot with Windows 10 - gold_finger - 12-30-2015 stevedat, You're welcome, but I meant for you to post back the output of "sudo parted --list" before trying to proceed. I wanted to see that output first for two reasons:
Re: [SOLVED] Dual boot with Windows 10 - stevedat - 01-02-2016 Hi, Here is the output: (I think I forgot what i had done ) Model: ATA ST9500325AS (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 498GB 498GB primary ext4 boot 2 498GB 500GB 2049MB extended 5 498GB 500GB 2049MB logical linux-swap(v1) Re: [SOLVED] Dual boot with Windows 10 - Earthenware - 01-03-2016 (12-30-2015, 01:23 AM)stevedat link Wrote: ...but it seems that there is something wrong with USB connection although I also installed needed extension pack but it's useless. I was also unable to access any USB devices from the guest. I upgraded VirtualBox from v4 to v5 and USB now works. Having said that, it can be a bit picky about returning control of the USB device to the host after exiting the guest, but that doesn't happen often and it works fine in the guest, which I think you were referring to. Re: [SOLVED] Dual boot with Windows 10 - gold_finger - 01-04-2016 @ stevedat, Ok, you've only got a large primary partition for Root (498GB) and a logical Swap partition (2GB) and the drive is using MBR partitions. Windows should be able to install and make 2 partitions for itself. You just need to shrink the LL root partition first to make room for it. Best way to do that is to boot with the dvd/usb you made to install LL and use GParted from there. (You can't use GParted from your installed LL because it won't let you shrink the root partition while you're using it.) Boot from live LL dvd/usb and open GParted. Right-click on the root partition (/dev/sda1), choose resize and shrink it by however much you want to dedicate to Windows. Yes, it will take a while. Just be patient and let it go until it tells you it's done. I think you can just leave the space unformatted and direct the Windows installer to use that, but I'm not sure. Try that and if it doesn't show a way to direct install to that area, cancel and use GParted again to create one large NTFS partition in that space. Then try running Windows installer again and direct it to the NTFS partition. Like I said before, there's no guarantee that something won't go wrong -- so backup anything important first. Re: [SOLVED] Dual boot with Windows 10 - stevedat - 01-07-2016 Thank you. I will try doing it then let you know whether it works or not. Cheers. |