Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPTconverter seems to work but still left with same partition sizes #2

Open
DecB4 opened this issue Aug 17, 2024 · 5 comments
Open

Comments

@DecB4
Copy link

DecB4 commented Aug 17, 2024

Hi Patrick,
Thank you for your time with this software. It seems to run ok (option 1b) but my partitions are still the same size and I suspect I have to now figure out a way of increasing the partition I'm using....any pointers should be great.
Thanks,
Declan.

sudo fdisk -l
Disk /dev/loop0: 33.65 MiB, 35287040 bytes, 68920 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

Disk /dev/loop1: 33.71 MiB, 35344384 bytes, 69032 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

Disk /dev/nvme0n1: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: CT4000P3PSSD8
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
Disk identifier: E0F52DAC-FDD5-46D0-BC45-C90428CCF7CF

Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M Microsoft basic data
/dev/nvme0n1p2 1050624 3907545087 3906494464 1.8T Linux filesystem
/dev/nvme0n1p3 3907545088 7814035455 3906490368 1.8T Linux filesystem

@DecB4
Copy link
Author

DecB4 commented Aug 18, 2024

sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
[sudo] password for declan:
NAME FSTYPE SIZE MOUNTPOINT LABEL
loop0 33.7M /snap/snapd/21467
loop1 33.7M /snap/snapd/21761
nvme0n1 3.6T
├─nvme0n1p1 vfat 512M /boot/firmware system-boot
├─nvme0n1p2 ext4 1.8T / writable
└─nvme0n1p3 ext4 1.8T

@mcpat-it
Copy link
Owner

As I can see you have 3 partitions (ending p1, p2 and p3). Your total size is 3.6T and you use this total size. p2 and p3 have 1.8T. So if you only want "one" big partition, you have to delete partion p3 and resize p2 to full size (around 3.6T). p1 is always needed as system-boot partition with 512M.
This is no error of gptconverter, it's your amount of partitions.

@DecB4
Copy link
Author

DecB4 commented Aug 19, 2024 via email

@mcpat-it
Copy link
Owner

mcpat-it commented Aug 19, 2024

I am not sure if ubuntu server is using p3, so what is the content of p3? I rethink about it, just deleting is maybe not safe. I use Raspberry Pi OS and this isn't creating/using p3.

you can also try to install gparted with sudo apt-get install gparted and then you can also do all operations with this grapical ui.

@DecB4
Copy link
Author

DecB4 commented Aug 23, 2024

I got it working eventually. I wiped my 4TB drive and reinstalled Ubuntu Server. Then used your script from Raspberry Pi OS on the SSD card, used option 1b and expanded the GPT partition ....thanks!

Now I have on the NVME:
$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
NAME FSTYPE SIZE MOUNTPOINT LABEL
loop0 squashfs 33.7M /snap/snapd/21467
loop1 squashfs 33.7M /snap/snapd/21761
nvme0n1 3.6T
├─nvme0n1p1 vfat 512M /boot/firmware system-boot
└─nvme0n1p2 ext4 3.6T / writable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants