About 1tb hard disk

i cant use my 1tb hard disk and dont know what to do… please help me

Hi, can you please be a little more specific. Is the 1 TB Disk the only disk in your computer and have you installed EOS to it, but can’t use the whole space? Or do you have two or more disks and want to use the 1 TB one solely for the purpose of storing data to it and the disk isn’t visible?

i dont have much knowledge in this theme so :smiley: can u see answer here ? i cant use it

OK, thats possible, but involves a good deal of work on your side. I recommend to delete the Partitions 4 and 5 and then resize 3 to fill the available space. This way you have enough space for applications and data without the hassle of mounting an additional partition and changing flatpak’s sandbox permission to allow access to it.

PLEASE NOT THAT THE PROCESS IS COMPLEX AND MAY LEAD TO DATA LOSS

Open up a Terminal and make yourself root

sudo bash

With the command line partitioner examine the partitions available:

fdisk /dev/sda

(Press ‘p’) to print the partition table. Will look something like:

Disk /dev/sda: 100 GiB, 107374182400 bytes, 209715200 sectors
Disk model: VBOX HARDDISK   
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: dos
Disk identifier: 0x172ef920

Device     Boot  Start       End   Sectors  Size Id Type
/dev/sda1         2048    129023    126976   62M ef EFI (FAT-12/16/32)
/dev/sda2  *    131072 109715166 109584095  56G 83 Linux
/dev/sda3    109715167 209715166 100000000  51G 83 Linux

Now you have to remember the start address of the partition with named ostree (partition number 3 in your case). Delete all partitions except 1 and 2, these contain the EFI Bootloader Partition and the BIOS Boot partition. Use the command “d” in fdisk to delete them. Your device should now only contain two partitions (1 and 2) - verify with “p”.

In the next step, we need to create the partition again, use the command “n” for this. Make it a primary partition. Specify the start address you remembered earlier as the start address and press enter when asked for the size. Ignore the complain about the partition signature and proceed.

Press “a” to set the bootable flag on the partition you created. Verify with “p”. Should look something like:

Device     Boot  Start       End   Sectors  Size Id Type
/dev/sda1         2048    129023    126976   62M ef EFI (FAT-12/16/32)
/dev/sda2   *   131072 209715199 209584128  100G 83 Linux

Write the new partition table by pressing “w”. This will also exit fdisk. Now reboot.

Then the system is back online, open a Terminal and make yourself root again. Then enter:

resize2fs /dev/sda3

This will make the filesystem on the newly resized partition to also fill up the entire space available.

Good luck.

1 Like

thank you so much ! <3 it works, god bless you !

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.