2

I just recently got a new laptop with Windows 10. I will use it mostly for gaming or simple tasks. However, I am looking to possibly dual boot Ubuntu on it for personal programming purposes (I absolutely hate doing development on Windows and didn't want to buy a Mac just for it). I have a 1TB SSD on this laptop, but since I use it mostly for gaming I don't want to blindly allocate a ton of space for Ubuntu. I have two questions about this:

1) How much space do I need to allocate for the Ubuntu partition if I'm using Ubuntu for development purposes? Related to that, would I be able to basically store all of my files on the drive that isn't partitioned for Ubuntu while just having any packages or tools necessary installed on the Ubuntu partition?

2) Is it possible to instead install Ubuntu on a USB 3.1 drive and when I want to do coding I can boot that and do everything off that? Ideally, to me, this is my preferred solution because then I don't need to use up any of the SSD space on the laptop, but I have no idea if this is feasible.

Thank you in advance for any help you can give!

2 Answers2

4

The first thing you need to understand is that Ubuntu is very different from Windows. The filesystem is different, installing software is different, security is different, installing and reinstalling is different, etc.

  1. Deeply-ingrained Windows habits will cause problems and break things. You must be open to learning new techniques and habits.

  2. Dual-boot requires good backups from the start. You never know when a Windows update or a user typo will wipe all your partitions. If you lack a good backup strategy, you're not ready to start dual-booting.

  3. Reinstalling Ubuntu is very easy. There's no product key to preserve, no system-restore partition, and no need for a swap partition or separate data partition (though you can have those if you want). Lots of folks change their minds (or really muck things up) and reinstall Ubuntu a few times during their first year.

  4. You can install Ubuntu to a USB stick. Be sure to use USB 3.0 hardware and ports, or you will notice lag. USB sticks have a limited number of write cycles, so it will only last a few months or years of modest use.

Advice: Create a single 300-500GB partition for Ubuntu. No separate data or swap partitions. Nothing fancy -- stick to the installer defaults. Make your first install successful instead of perfect. Try it for a couple weeks -- gain enough experience to have a preference. Then repartition and reinstall as complex a system as you wish.

Advice: Since you have 1TB to work with, consider using a Virtual Machine for Ubuntu. Or WSL. It's much easier and less risky. Then you don't need muck about with partitioning and you can install multiple OS (and multiple versions of OS) for your development and testing.

user535733
  • 68,493
3

2) Is it possible to instead install Ubuntu on a USB 3.1 drive and when I want to do coding I can boot that and do everything off that? Yes, but it will be very slow compared to an internal SSD or HDD, and more likely to fail than either an internal HDD or SSD. It's easy to manage a dual boot system with Ubuntu and Windows 10 on the same internal drive. If you must do this, get a USB flash drive which does not stick out of the PC very far, e.g. from Western Digital or Buy More, and create a LiveUSB using Rufus with Persistence .

1) How much space do I need to allocate for the Ubuntu partition if I'm using Ubuntu for development purposes? Until Ubuntu's addition of Snaps and change to Snap-based installs on many packages, 30GB was the typical advice here for an Ubuntu install; now, 50GB or more is good to start. Please note it's easy to adjust later, especially if you let the Ubiquity installer used by Ubuntu create a swap file instead of manually overriding it to make a swap partition.

Related to that, would I be able to basically store all of my files on the drive that isn't partitioned for Ubuntu while just having any packages or tools necessary installed on the Ubuntu partition? Yes. Ubuntu knows how to read and write into NTFS partitions. However you've got to completely shut down Windows, not Hibernate it, and not use Fast Start.

K7AAY
  • 17,705