And this is what happens when I ran grow_partition.sh on this brand new 8
GB SD card that I just brought from the store and imaged with 8.4. Note the
error message. After rebooting, df shows 4.1 GB of available space, 3.1 GB
used.
root@beaglebone:/opt/scripts/tools# ./grow_partition.sh
Media: [/dev/mmcblk0]
Disk /dev/mmcblk0: 243200 cylinders, 4 heads, 16 sectors/track
Old situation:
sfdisk: Warning: The partition table looks like it was made
for C/H/S=*/112/62 (instead of 243200/4/16).
For this listing I'll assume that geometry.
Units: 1MiB = 1024*1024 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MiB #blocks Id System
/dev/mmcblk0p1 * 1 3399 3399 3480576 83 Linux
start: (c,h,s) expected (0,33,3) found (0,32,33)
end: (c,h,s) expected (1002,85,42) found (433,111,62)
/dev/mmcblk0p2 0 - 0 0 0 Empty
/dev/mmcblk0p3 0 - 0 0 0 Empty
/dev/mmcblk0p4 0 - 0 0 0 Empty
New situation:
Units: 1MiB = 1024*1024 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MiB #blocks Id System
/dev/mmcblk0p1 * 1 7599 7599 7781376 83 Linux
/dev/mmcblk0p2 0 - 0 0 0 Empty
/dev/mmcblk0p3 0 - 0 0 0 Empty
/dev/mmcblk0p4 0 - 0 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
sfdisk: BLKRRPART: Device or resource busy
sfdisk: The command to re-read the partition table failed.
Run partprobe(8), kpartx(8) or reboot your system now,
before using mkfs
sfdisk: If you created or changed a DOS partition, /dev/foo7, say, then use
dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
--
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/a20c3bf0-d3ec-48ea-ba13-4f3f3792c760%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.