Skip to content

Commit

Permalink
duo remove the third partition for swap
Browse files Browse the repository at this point in the history
Use the method of creating a swap file instead:
fallocate -l 256M /mnt/swapfile
chmod 600 /mnt/swapfile
mkswap /mnt/swapfile
swapon /mnt/swapfile

Check:
swapon --show
or
free -h

Automatically load after reboot:
echo "/mnt/swapfile swap swap defaults 0 0" >> /etc/fstab
  • Loading branch information
carbonfix committed Sep 30, 2024
1 parent 8cff05b commit b986c58
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions device/milkv-duo-sd/genimage.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,4 @@ image milkv-duo-sd.img {
partition-type = 0x83
image = "rootfs.ext4"
}

partition empty {
partition-type-uuid = 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
size = 256M
}
}

0 comments on commit b986c58

Please sign in to comment.