Hi guys. I bought an external Hard Drive a few days ago so that I could put my files on it whilst I install an up-to-date version of openSuse, but I can’t write to the ext4 partition I created. I’m currently on 15.3 and I used YaST’s Partitioner tool in the hopes that it’d help me to avoid making silly mistakes, but it seems that my capacity for making silly mistakes dwarves the helpfulness of any software.
When I first got the drive, I deleted the single Windows partition that came on it, but I can’t remember if I used the partitioner to replace the partition table. I suspect that my problem is caused by me not doing, but I wanted to ask for help here first, before I go making even more silly mistakes.
I deleted the original partition (and probably failed to replace the partition table) and then I gave 32 GiB to a FAT partition so that I can put some files there without having to worry about which operating system is going to read/write to/from that partition, and then I chose to give the remaining space to a single ext4 partition. After I did this with YaST’s Partitionoer tool, I was able to create a ner folder in the FAT32 partition, but the ext4 partition would not let me create a new folder.
I did fdisk -l to look for any clues as to why, but the only thing that really stuck out to me was that the ext4 partition I expected to be listed as “Linux filesystem” under the Type heading was listed as just “Linux”. The full output of fdisk -l is shown below. `home:~ # fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA DT01ACA1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: B42A699F-07C7-4E19-80EB-01BCFAA04E0B
Device Start End Sectors Size Type
/dev/sda1 2048 1026047 1024000 500M EFI System
/dev/sda2 1026048 626995199 625969152 298.5G Linux filesystem
/dev/sda3 626995200 1920870399 1293875200 617G Linux filesystem
/dev/sda4 1920870400 1953525134 32654735 15.6G Linux swap
Disk /dev/sdb: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ST2000DM001-1ER1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 78959F4C-F459-43EC-8814-2F7603CE3C9D
Device Start End Sectors Size Type
/dev/sdb1 2048 1023999 1021952 499M EFI System
/dev/sdb2 1024000 1286143 262144 128M Microsoft reserved
/dev/sdb3 1286144 3907028991 3905742848 1.8T Microsoft basic data
Disk /dev/sdg: 1.82 TiB, 2000398933504 bytes, 3907029167 sectors
Disk model: Basic
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x0108be83
Device Boot Start End Sectors Size Id Type
/dev/sdg1 2048 67110911 67108864 32G c W95 FAT32 (LBA)
/dev/sdg2 67110912 3907029166 3839918255 1.8T 83 Linux`
I don’t see anything that’d indicate what type of partition table each disk is using. Can I get that information through fdisk? I expect that finding the partition table type is going to be important before I try to make any further changes. Can someone help me figure out where I’ve gone wrong, please?
For clarity, my goal is to have an external USB Hard Drive with a 32 GiB FAT partition, and the rest of the available space be an ext4 partition. Any help would be appreciated