Score:0

I am trying to set up a dual boot partition layout. I have win10 already installed and shrunk volume. Help!

at flag

I can't figure out the best way to partition one of my 2x2TB nVME drives for Ubuntu.

I'm also going to install Mint as well, but that's going to occur on another drive and out of scope of this question.

In windows I shrunk my data nVME drive to create a 150GiB partition for Ubuntu. My plan was to just install on this drive. But I completely neglected to think about things like:

  1. Where to place swap
  2. Should I set up another partition to share files with Win10?
  3. Should I separate the Ubuntu system and my personal files via partition as well?

I'm reading this right now and just confused on what to do next.

Here is my data drive and its partitions (I'm running Ubuntu Live right now so I can get this sorted):

enter image description here

The partition labeled "Ubuntu" is the shrunk partition I originally planned to install Ubuntu on. "Data" is all of my personal data from Windows (If this partition gets messed up, I am royally F'd.)

Edits below:

I am going to be using Ubuntu for desktop and development work. Not using server / core / etc. Mostly for coding, browsing the web, and occasionally gaming on GOG/Steam.

I'm thinking now that two partitions would be best:

A. Ubuntu System
B. /home (to share with other NIX and my future Mint install)

So my updated questions are:

  1. I don't know how to split /home into a separate partition. So I need someone to explain this to me or give me a link. I'll search more about this myself as well.
  2. I don't know if splitting /home into a separate partition is really a good idea. Are there downsides?
  3. Should I use GParted to do the partitioning or Windows 10 + DiskMgmt?
  4. What file system formats should I use? ex2/3/4 or NTFS?
  5. The reason I'm mentioning NTFS is because I'm wondering if I can I use NTFS for the /home partition so I can also access it via Windows.
  6. What is the most preferred way to share files between all distros I have installed and W10?
  7. How much disk space should I allocate to Ubuntu? I carved out a 150GB partition, but I'm now positive that's overkill. I made the partition that large because I wanted to make sure I had space for files and other stuff, but now I'm thinking I need to make everything much leaner. How much space is necessary for a normal install?

Edit for #7: I found the following online:

According to the official website, Ubuntu’s minimum requirement 
is 8 GB for the main partition plus the size of your RAM and 
250 MB to 1 GB for the boot partition. At least 15 GB is 
recommended to avoid any issues (the system is blocked when 
the partition is full).

I have 64GB of RAM. Do I really need to add the full size of my RAM to this calculation?

  1. Are there any additional things to consider in regards to optimizing performance?

Any help at all would be hugely appreciated.

guiverc avatar
cn flag
Its helpful if you be specific; you mention Ubuntu - but not if you're asking about Ubuntu Server? Ubuntu Desktop? Ubuntu Core etc? How you partition will depend on how you'll use it; which includes file-systems with extra features available depending on what *fs* you opt to use. For desktop installs I keep it simple; where that's few partitions as you can non-destructively re-install Ubuntu Desktop systems using only a single partition (*though other OSes don't all do that so splitting /home can be beneficial if you may not stay on Ubuntu*). ie. consider the future in the decision too.
fmotion1 avatar
at flag
I am going to be using Ubuntu for desktop and development work. Not using server / core / etc. Mostly for coding, browsing the web, and occasionally gaming.
fmotion1 avatar
at flag
I'd be interested in having /home available via windows as well as Ubuntu. I also want to separate all of my dev files (repos, projects, etc.) from the system (I think this is a good idea?) Also, should I create another partition for swap?
fmotion1 avatar
at flag
@guiverc Also, thank you so much for the help.
guiverc avatar
cn flag
You've not provided release details; but modern Ubuntu systems allow *swapfiles* which allow you to easily adjust sizes without needing to make partition changes - so *swap partition* is **not** required for *modern* releases as you just use a *swapfile*. If you use *swap partition* you can share that space; eg. I can share between my LTS release & my *development* release (you with Linux Mint & Ubuntu) providing you won't hibernate one & want the other to be used (they need their own swap for that!). Extra details belong in question; comments are just that *comments* to OP or prior commenter
fmotion1 avatar
at flag
@guiverc Thanks. I've updated my question. I'd definitely like a way to share space between Mint / Windows / Ubuntu. I'm thinking a NTFS partition. I don't know if this is technically called a "swap partition" or not. The idea is just a communal space to share repos, code, files, etc.
oldfred avatar
cn flag
Do not share /home as settings conflict. I keep /home inside / (root) but then have a large data partition that I mount in all installs. When system has Windows I add another data partition formatted NTFS, but Winodws bit locker & fast start up must be off to be able to share NTFS data. More info: https://askubuntu.com/questions/1013677/storing-data-on-second-hdd-mounting & https://askubuntu.com/questions/1058756/installing-all-applications-on-a-ssd-disk-and-putting-all-files-on-hdd-disk or https://askubuntu.com/questions/1462851/shared-home-folder-between-2-linux-os-trippled-booted-w-win11
fmotion1 avatar
at flag
@guiverc Thank you for all that. How big is your data partition if you don't mind me asking? I also want to be able to share files with Windows so it's good to know that I can just create a NTFS partition for that. I don't use bitlocker, but I'm not sure if I have fast startup on. I'll have to check. I think now my biggest concern is how large to allocate my root partition for Ubuntu.
fmotion1 avatar
at flag
`According to the official website, Ubuntu’s minimum requirement is 8 GB for the main partition plus the size of your RAM`. I have 64GB of RAM (I do a lot of 3D work on the side with GPU rendering) and don't intend on using hibernation... so I don't really know if I need to add the complete size of my ram to the partition. I was hoping to get away with 25-30GB.
guiverc avatar
cn flag
You tagged me on what I think was a comment that maybe should have been directed to @oldfred . Swap space (partition or swapfile) is used in the swapping of RAM to disk to make the machine more usable; it has nothing to sharing data, but is used to achieve more by simulating more RAM (*pages in RAM get temporarily stored (swapped) to disk in the swap area so the CPU can process other tasks*). Swap space can't be shared during operation, but if an OS isn't running another OS can use the space; but windows/Linux use swap differently - so only Linux OSes can share swap space.
fmotion1 avatar
at flag
@guiverc Oops! Sorry about that. Thanks for the explanation.
guiverc avatar
cn flag
You mention 8GB minimum in relation to *main partition* on *official website* which has me confused.. If you mean https://help.ubuntu.com/community/Installation/SystemRequirements then I'd suggest using the recommended 25GB if you plan on adding additional software; myself I like >32GB for my main partition as I want space to add software, and don't want the additional maintenance burden... If you're talking about swap size; I'd likely use *swapfile* which allows you to easily adjust if you didn't allocate enough (or too much) space.. the *swapfile* size should be added to disk allocation..
oldfred avatar
cn flag
I saw one user who, just for snaps used 20GB. I use Kubuntu and remove all snaps & my root is about 18GB in a 40GB partition. Data partition totally depends on what data you have, and that will come with experience. Every 3 to 5 years I get new larger drive & repartition. My photos is the folder growing the most, grandkids & vacations.
karel avatar
sa flag
Does this answer your question? [Installing Ubuntu on a single partition](https://askubuntu.com/questions/973252/installing-ubuntu-on-a-single-partition)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.