> On Oct 27, 2015, at 14:37 , Robert Nelson <[email protected]> wrote:
>
> On Tue, Oct 27, 2015 at 4:21 PM, Rick Mann <[email protected]> wrote:
>> I was looking to resize the partition on my little SD card so I could use
>> the whole thing. I'm following the instructions here:
>>
>>
>> http://elinux.org/Beagleboard:Expanding_File_System_Partition_On_A_microSD
>>
>> According to mount, my rootfs is:
>>
>> /dev/mmcblk0p1 on / type ext4 (rw,noatime,errors=remount-ro,data=ordered)
>
> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Expanding_File_System_Partition_On_A_microSD
This happened:
debian@beaglebone:/opt/scripts/tools$ sudo ./grow_partition.sh
Media: [/dev/mmcblk0]
Disk /dev/mmcblk0: 121472 cylinders, 4 heads, 16 sectors/track
Old situation:
Warning: The partition table looks like it was made
for C/H/S=*/114/26 (instead of 121472/4/16).
For this listing I'll assume that geometry.
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MiB #blocks Id System
/dev/mmcblk0p1 * 1 1689 1689 1729536 83 Linux
start: (c,h,s) expected (0,78,21) found (0,32,33)
end: (c,h,s) expected (1023,113,26) found (215,113,26)
/dev/mmcblk0p2 0 - 0 0 0 Empty
/dev/mmcblk0p3 0 - 0 0 0 Empty
/dev/mmcblk0p4 0 - 0 0 0 Empty
New situation:
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MiB #blocks Id System
/dev/mmcblk0p1 * 1 3795 3795 3886080 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 ...
BLKRRPART: Device or resource busy
The command to re-read the partition table failed.
Run partprobe(8), kpartx(8) or reboot your system now,
before using mkfs
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).)
debian@beaglebone:/opt/scripts/tools$
--
Rick Mann
[email protected]
--
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].
For more options, visit https://groups.google.com/d/optout.