I'm reading a lot these days in order to make a clean a safe partitioning of my single drive. I have Windows 10 installed already on a 60Gb partition. Now I'd like to use the rest of the space for Ubuntu and one more distro (let's say Debian). Here is my plan so far.
Windows has already created an extra 500Mb partition for the system (don't ask me more about it, I have no clue), so, currently my drive looks like this:
- 500 Mb ntfs for "the system"
- 60 Gb ntfs for Windows 10
- 240 Gb of free space for whatever I want
As far as I know, I can't add more than 2 partitions. Here is what I would do:
- 1 primary ext4 partition dedicated to Grub
- 1 extended ext4 partition for swap, distros and storage
Then, the extended partition would be divided into 4 parts:
- 1 ext4 partition for swap
- 1 ntfs partition for storage shared by all OSs (including Windows)
- 1 ext4 partition for Ubuntu (20 Gb)
- 1 ext4 partition for Debian (20 Gb)
I will have to bind the OSs to the storage partition. I've found something close to what I would do here https://askubuntu.com/a/223670/392225. Though, I'd like to divide the storage folder into multiple users like so.
storage/ userA/ userB/
Thus, the global map would look like this:
Windows : C:/[user] -> storage/[user] Ubuntu : /home/[user] -> storage/[user] Debian : /home/[user] -> storage/[user]
Given a couple of symlinks like
/home/[user]/Downloads -> /media/storage/[user]/Downloads, I assume that Linux is able to allow access to
/home/[user] (that is to say to linked folders located at
/media/storage/[user]), and deny access to the root of the partition mounted at
- What do you think of this partitioning? As a beginner, I guess there are some details I'm not aware of. It would be great if you could show me the potential pitfalls and improvements.
- Is it safe? I'd like to prevent user A from accessing the folder of user B. I have a little idea of how to deal with permissions on Linux (
chmodI guess), but no experience at all on Windows.
- Have you got a better solution? If your own PC currently uses such a structure, would you mind to share some details about your own choices?
- Regarding Linux permissions on mounted drives, is my assumption correct?
https://help.ubuntu.com/community/Grub2/Installing seems to say that installing Grub on a dedicated partition is a bad idea. I'm not sure to get it right, but if so, is it to say that Grub can't be installed without installing Linux first?