Other How to add a swap partition on /dev/ada0 ?

I hello again dear friends, I have almost 95% setting up my laptop (thanks to you guys and some people in FreeBSD groups) with FreeBSD but I have the following problem :
Code:
$ sudo gpart show ada0
=>       0  62533296  ada0  BSD  (30G)
         0  54525952     1  freebsd-ufs  (26G)
  54525952   8007344        - free -  (3.8G)
I have this free partition and I was thinking to use it as a swap partition, which command I would need to use or how can I do this? I hope to get some help in here !
 
You probably already have one inside the BSD label. What does gpart show ada0s1 show?

Edit: Looking at it again, there's something not quite right about your partition table. You shouldn't have a BSD label on the disk, it should be on a slice. The partitioning should be MBR or GPT, not BSD.
 
Back
Top