I have a 250 GB SATA SSD. I was in a hurry while I was setting up the OS in this disk, so I selected Next in “Disk Partition” part without changing anything. I thought all of the disk will be used for Ubuntu, however I was wrong. Only 111 GB of the disk is splitted for Ubuntu, other part belongs to Windows which has been set up on my M2 SSD.
So, here are the disk properties:
== START OF INFORMATION SECTION ===
Device Model: Samsung SSD 870 EVO 250GB
Firmware Version: SVT02B6Q
User Capacity: 250.059.350.016 bytes [250 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: Unknown(0x09fc), ACS-4 T13/BSR INCITS 529 revision 5
SATA Version is: SATA >3.2 (0x1ff), 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sat May 6 20:17:57 2023 +03
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Here is the usage:
Filesystem Size Used Avail Use% Mounted on
sysfs 0 0 0 - /sys
proc 0 0 0 - /proc
udev 7,8G 0 7,8G 0% /dev
devpts 0 0 0 - /dev/pts
tmpfs 1,6G 2,6M 1,6G 1% /run
/dev/sda4 111G 53G 53G 50% /
securityfs 0 0 0 - /sys/kernel/security
tmpfs 7,9G 67M 7,8G 1% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 7,9G 0 7,9G 0% /sys/fs/cgroup
The output of fdisk -l :
Disk /dev/sda: 232,9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Device Start End Sectors Size Type
/dev/sda1 34 32767 32734 16M Microsoft reserved
/dev/sda2 32768 249842520 249809753 119,1G Microsoft basic data
/dev/sda3 249843712 250892287 1048576 512M EFI System
/dev/sda4 250892288 488396799 237504512 113,3G Linux filesystem
In this answer, answer suggests to reboot from a USB. Is there another way to make Ubuntu use the whole space of this SSD, basically to increase the size?