Because ubuntu often encounters various problems and needs to be reinstalled, it is entangled with the partitioning of the disk every time . The solutions obtained by searching everywhere are different, and a lot of time is wasted, so I sorted it out and checked it by myself.
Take 330G space to install ubuntu as an example.
EFI
boot partition
Size:1G
Type:Logical
Location:Beginning of this space
Use as:efi
swap
swap partition,
Size:32G,推荐是电脑内存大小的两倍。
Type:Logical
Location:Beginning of this space
Use as:swap area
/
Root directory,
Size:至少15GB,大约可以占总容量的30%,我这里分100G。
Type:Logical
Location:Beginning of the space
Use as:Ext4 journaling file system
Mount point:/
/home
Download and store data (equivalent to a data disk), so the memory required is the largest
Size:剩余所有
Type:Logical
Location:Beginning of this space
Use as:Ext4 journaling file system
Mount point:/home
reference:
- https://itsfoss.com/install-ubuntu-dual-boot-mode-windows/