>
> 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. . .


On Fri, Jun 10, 2016 at 1:10 PM, Robert Nelson <[email protected]>
wrote:

> On Fri, Jun 10, 2016 at 3:05 PM, Vladimir Gusiatnikov
> <[email protected]> wrote:
> > Indeed I get the open-source/unpaid paradigm and sincerely appreciate the
> > contributions. But, if a version breaks something, as I here seem to have
> > material proof, perhaps there should at least be disclaimers and not an
> > urging to use that specific version with detailed instructions on how to
> do
> > so.
> >
> > So, where I got to with this particular SD card is as follows, which is
> > beyond my knowledge of Linux, for which I apologize. I reformatted it in
> > Windows in SD Formatter to FAT32, Windows can read and write and sees the
> > 7.2 GB (the mystery of the extra space is perhaps simple—an 8 GB card
> with
> > some bad blocks sold as 4 GB). I reformatted in every possible
> combination
> > of options, then put a file on the SD card.
> >
> > lsblk on Ubuntu then reports 7.2 GB on /dev/sdb1.
> >
> > I can mount /dev/sdb1 on Ubuntu and read the file I wrote in Windows.
> >
> > When I run sudo cfdisk /dev/sdb, I see 780 MB of free space. (Before I
> did
> > the Windows reformatting, I tried reformatting sdb in Linux, and I
> deleted
> > the partitions that were previously formed by dd'ing the 7.9 image).
> >
> > When I run sudo cfdisk /dev/sdb1, I see 7.2 GB of free space. Yes, free
> > space, despite being able to read, on the same machine at the same time,
> the
> > file that's on the SD card.
> >
> > It seems to me that partition tables are corrupted, the portions that are
> > seen by Linux/Ubuntu, and that they were corrupted by running
> > grow_partition.sh on the Beaglebone earlier. And, that Ubuntu is
> confused by
> > these tables and does not know how to recover.
>
> 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...
>
> 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/CAOCHtYjLSppXbb8r%2BS_WLPQNkpvkWV%2B8vSeRYo55R7spMMFSLw%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CALHSORqVLBop9jnKRBW8uW65W1yBJ7Z09fU9U1L3APm%2BMqtA%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to