I am currently trying to install ubuntu on an external hdd. (Seagate Expansion 2TB USB 3.0). And I am rather new to Linux installations.
Since my laptop does not have a cd drive I downloaded the iso, created a new partition (4Gb) on one of my internal drives, installed refind and rebooted the device. This works fine (following this guide)
The problem occures when I try to install ubuntu. After the setup window opens, I click trough until I can "Choose something else" where I can partition my previously not formatted hdd.
I then created a 25 GB partition for the os in ext4 and a swap of the same size. I then chose the newly created partition as the palce for the bootloader.
The program then complained that the partition is not aligned and I should redo the whole procedure. So I did. The result was the same.
What I tried
I then searched into this alignment stuff. I mainly oriented myself with this guide. (Look into the comments. A user named Nova deViator apparently had the same hdd as me)
I closed the installation and followed the instructions of the guide. I calculated that the partition starting sector should be 8191.875. This is not possible. Multiplying this number a few times shows that 65535 is the nearest natural number. So I used that to create a new ext4 partition of 25Gb. GParted even attested me that this partition may not be minimally aligned but that it is optimally aligned.
Knowing this I started the installation process anew, chose "Something else" and saw my partition... in ext4... i chose this to be the location og my boot loader, hit install now... and was told i should mount the device first. I clicked "change" changed usage from "not used" to ext4 and mount to "/".
The i clicked "install now" again and lo and behold: got the same alignment error as before. I tried to just ignore it but the offered "continue" button just returns me to the partitioning menu seemingly doing nothing.
I am at the point where I'd say "screw it i use an internal drive". But I'd rather not do this as its much cooler to have a ready os with all your stuff with you at all times.
So is my hdd just shitty? Can I circumvent the whole partitioning screen or trigger the installation via the terminal? Did I understand something fundamentally wrong?
Some Numbers of my hdd
cat /sys/block/sdb/queue/optimal_io_size 33553920 cat /sys/block/sdb/queue/minimum_io_size 4096 cat /sys/block/sdb/alignment_offset 0 cat /sys/block/sdb/queue/physical_block_size 4096