Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
> **note**
> ![NOTE]
> Please visit https://github.com/radxa/backup-sh

# Rockpi-toolkit
Expand All @@ -14,6 +14,7 @@ _It may work for unofficial systems, but we do not provide any technical support
### Install

```bash
linaro@rockpi:~ $ sudo apt install cloud-guest-utils # For auto-expanding the image
linaro@rockpi:~ $ curl -sL https://rock.sh/rockpi-backup -o rockpi-backup.sh
linaro@rockpi:~ $ chmod +x rockpi-backup.sh
```
Expand Down
2 changes: 1 addition & 1 deletion rockpi-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ ROOT_DEV=\`lsblk -no PATH,MOUNTPOINT | grep \"/$\" | awk '{print \$1}'\`
# fix disk size
echo w | fdisk \$ROOT_PART

echo -e \"resizepart \$ROOT_PART_NO 100%\ny\" | parted ---pretend-input-tty \$ROOT_PART
growpart \$ROOT_PART \$ROOT_PART_NO

# ext4 part only
resize2fs \$ROOT_DEV
Expand Down