Solved Shrinking my partition (UFS) (without losing data)

Thinking about dual booting FreeBSD and Linux on my machine on the same SSD. I need to free up 500GBs for my Linux system

Code:
=>        40  1953525095  ada1  GPT  (932G)
          40        1024     1  (null)  [bootme]  (512K)
        1064  1946156032     2  rootfs-1tb-toshiba  (928G)
  1946157096     7368032     3  swap-1tb-toshiba  (3.5G)
  1953525128           7        - free -  (3.5K)
 
Shrinking a partition isn't really supported because this could lead to all sorts of problems. There might be some third party tools around that are able to do this, but I don't know any that would support FreeBSD's UFS. Even if there's a tool for it, it may end quite disastrous, so make sure you have good backups.
 
I usually insert a bigger drive and dd the old one over the first part of the new one.

Shrinking isn't supported by any of the main filesystems in FreeBSD.
 
Back
Top