[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

disk partitioners vs disk with 2048 byte phusical sectors

Greetings all;

I just bought a 1TB disk, in a usb3 interface format, had a full disk 
ntfs partition on it.  The machine its to be used on is an arm64 
rockchip called a rock64. It looks like a pi killer and I intend to 
replace the 1GB of memory pi-3b with this 4GB of memory card.

This disk has a 2048 byte sector. From dmesg:
[ 2401.645069] sd 0:0:0:0: [sda] Spinning up disk...
[ 2402.650332] ...ready
[ 2404.664052] sd 0:0:0:0: [sda] 1953525167 512-byte logical blocks: 
(1.00 TB/932 GiB)
[ 2404.676277] sd 0:0:0:0: [sda] 2048-byte physical blocks

But I've now spent several hours trying to put the 1st of 3 partitions on 
it with figures that satisfy parted's align-check, including calculation 
of values that result in mod(2048)=0. Nothing seems to satisfy parted.

So I've come to the conclusion parted is broken for this size of physical 

Do we have a disk partitioner that does understand a physical sector size 
of any power of 2? gparted is out as this machine does not yet have an x 
server installed, so I need a commandline tool.

Suggestions will be investigated, thank you.

Cheers, Gene Heskett
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

Reply to: