[arm-allstar] partitions

Patrick Perdue borrisinabox at gmail.com
Thu Apr 7 20:22:17 EDT 2022


Never mind, figured it out. Used the parted rescue command plus 
start/end in MB, not sectors, to recover the existing partition, and 
then resized it and the respective file system successfully.


On 4/7/2022 4:34 PM, Patrick Perdue wrote:
> I did something incredibly stupid, and accidentally deleted the 
> primary partition on a stock HamVoIP image without first noting the 
> start and end sectors. This is on a remote Pi, so I can't just blow it 
> away. The system works fine for now, because it hasn't been rebooted.
>
> This version of parted is different than what I'm used to from Debian.
>
> I need to create a new partition starting at sector 206848 and ending 
> at the end of the disk, which is 62333952. Then I can clean/resize the
>
> file system. I tried
>
> parted
>
> mkpart primary 206847 62333952
>
> Error: The location 206848 is outside of the device /dev/mmcblk0.
> (parted)
>
> So obviously, this isn't the format it expects.
>
> Thanks for any assistance.
>
> I know resizing the partition isn't necessarily a great idea. I should 
> just have created a second one, as I want to use a bit more of the 
> space on this 32GB SD card since it isn't local to me.
>
> 73
>
> N2DYI
>


More information about the ARM-allstar mailing list