Xilinx / KRS

The Kria Robotics Stack (KRS) is a ROS 2 superset for industry, an integrated set of robot libraries and utilities to accelerate the development, maintenance and commercialization of industrial-grade robotic solutions while using adaptive computing.
https://Xilinx.github.io/KRS/
Other
46 stars 18 forks source link

Document how to resize partition #32

Open vmayoral opened 2 years ago

vmayoral commented 2 years ago

Signed-off-by: Víctor Mayoral Vilches v.mayoralv@gmail.com

jasvinderkhurana commented 2 years ago

@vmayoral ,

I got another simple way to resize the partition, please check if that is more useful and we can publish that in "How-to" section:

$ sudo parted /dev/mmcblk1 resizepart 2

Warning: Partition /dev/mmcblk1p2 is being used. Are you sure you want to continue? Yes/No? yes
End? [6442MB]? 100%
Information: You may need to update /etc/fstab.

$ sudo resize2fs /dev/mmcblk1p2

resize2fs 1.45.6 (20-Mar-2020)
Filesystem at /dev/mmcblk1p2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 4
The filesystem on /dev/mmcblk1p2 is now 7267455 (4k) blocks long.
vmayoral commented 2 years ago

Looks good to me 👍! Feel free to add it.

El El sáb, 22 ene 2022 a las 20:37, jasvinderkhurana < @.***> escribió:

@vmayoral https://github.com/vmayoral ,

I got another simple way to resize the partition, please check if that is more useful and we can publish that in "How-to" section:

$ sudo parted /dev/mmcblk1 resizepart 2

Warning: Partition /dev/mmcblk1p2 is being used. Are you sure you want to continue? Yes/No? yes End? [6442MB]? 100% Information: You may need to update /etc/fstab.

$ sudo resize2fs /dev/mmcblk1p2

resize2fs 1.45.6 (20-Mar-2020) Filesystem at /dev/mmcblk1p2 is mounted on /; on-line resizing required old_desc_blocks = 1, new_desc_blocks = 4 The filesystem on /dev/mmcblk1p2 is now 7267455 (4k) blocks long.

— Reply to this email directly, view it on GitHub https://github.com/Xilinx/KRS/pull/32#issuecomment-1019345339, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKPYDSBUYWPTTQZGMQEU5DUXMBP3ANCNFSM5JQSKMGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>