I'm planning to buy a laptop without a preinstalled OS.I want to install a Linux distro first, then later dual boot it with linux and windows 10 once I purchase a licence. What is the best way to partition the hard drive and still be able keep a separate partition for all my media and data files without formatting it when I install windows? Also, what are the chances of driver and uefi problems if I dual boot with ubuntu and windows 10?
Installing Linux to then in the future install dual boot with windows 10 will give you some headaches, because Windows will create its own boot partition and will overwrite your current boot. So what you might have to do is to reinstall grub once Windows 10 is installed using your Ubuntu LiveCD.
sudo grub-install --root-directory=/mnt/ /dev/sdX
The best partition?
Leave a portion of your HD without partition, this is more up to you how much space you want for Windows.
Linux: This is very personal, people might have others opinions
/home the rest of space (keep all your media and documents here)
/swap (Is your Disk a Solid state drive? SSD? don't use swap, otherwise use double your RAM 6Gb RAM -> 12Gb swap)
it will look like this
sda XXG 0 disk
├─sda1 XXXG 0 part (free partition for windows)
├─sda2 512M 0 part /boot
├─sda3 10,0G 0 part /root
└─sda4 XXXG 0 part /home
- Start using encryption. Make this an every day routine. Encrypt your /root and /home partition. Take your privacy seriously.
- Linux will fulfill all your needs. No need for Windows. Install Linux as the only OS and if you happen to need windows, just go for a Virtual Machine.
- Give Arch Linux a shoot. A bit complicated at the beginning but totally worth it and stable.
- Use Logic volumes LMV so you can change the sizes later.