• 0 Posts
  • 37 Comments
Joined 1 year ago
cake
Cake day: June 4th, 2023

help-circle















  • colournoun@beehaw.orgtoLinux@lemmy.mlMm.. can someone help?
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    7 months ago

    Yes a back up is possible. Don’t back up partitions, back up the whole device. All 150+g at once.

    Whenever you try to mount the device or the filesystems, make sure to mount it read-only so that no changes are written to the device.

    Also, shrinking 84g of data into 32g is definitely not possible. Just changing the fdisk partition table doesn’t shrink or relocate the data. You need a filesystem-aware resizing tool to shrink the filesystem before shrinking the partition.

    Hopefully you can just change the partition table back to the original values and get a clean fsck.