On Fri, Jun 10, 2016 at 3:16 PM, William Hermans <[email protected]> wrote:
>> Sounds like a crappy microSD card, as grow_partition calls' sfdisk:
>>
>> sudo sfdisk --unit M ${DISK} <<-__EOF__
>> 1,,L,*
>> __EOF__
>>
>> So if ^ is enough to corrupt your microSD card's, throw them away, as
>> they useless...
>
>
> I ran into this problem once too Robert while manually manipulating
> partitions on an sdcard. It had something to do with how one of the Jessie
> images were laid out.
>
> So you know the old way of growing a partition manually with fdisk right ?
> fdisk the block device, delete the rootfs partition, and then make a new
> partition in it's place to use up all the disk space right ?
>
> Well for some reason on the Jesie images when you do this, the starting
> sector starts at the front of the block device, and then fidks gets some
> whack geometry. . .

Yeah, it does rely on knowing the initial geometry..

On the offical images i store it in /boot/SOC.sh

https://github.com/RobertCNelson/boot-scripts/blob/master/tools/grow_partition.sh#L91-L93

if that fails, i'm basicly guessing:

https://github.com/RobertCNelson/boot-scripts/blob/master/tools/grow_partition.sh#L50

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgiqo2yHL86tn1J16v2nSsr1ogaBCZZk5Vyw2%2BEDXLzPw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to