what is the proper way to change a linux partition into a Fbsd slice?
I have a 500GB sdd in two partitions, the larger one is being used, whereas the 64GB is not, and I'm thinking of making it into a UFS filesystem to use with FBSD.
would this be the proper way following this guild line?
I'm asking because I do not want to screw up these partitons and lose everything on that drive.
commands
if not then a little help please.
I have a 500GB sdd in two partitions, the larger one is being used, whereas the 64GB is not, and I'm thinking of making it into a UFS filesystem to use with FBSD.
Code:
# gpart show
=> 63 976773105 ada0 MBR (466G)
63 63 - free - (32K)
126 135030658 1 linux-data [active] (64G)
135030784 841742336 2 linux-data (401G)
976773120 48 - free - (24K)
I'm asking because I do not want to screw up these partitons and lose everything on that drive.
Code:
# SCSI / USB platters
# dev name da0
# (S)ATA platters
# dev name ad0
#
# WIPE THE PARTITION
gpart destroy -F da0
# CREATE GPT style SLICE (partition)
gpart create -s gpt da0
# CREATE FFS SLICE (filling entire platter)
gpart add -t freebsd-ufs da0
# FORMAT THE NEW FFS SLICE
newfs -U /dev/da0p1
commands
Code:
gpart destroy -F ada0s1
gpart create -s gpt ada0s1
gpart add -t freebsd-ufs ada0s1
newfs -U /dev/ada0s1