Need to convert EXT4 partition to a supported filesystem

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
User avatar
security_lover
Posts: 69
Joined: Thu Apr 22, 2021 9:54 am

Need to convert EXT4 partition to a supported filesystem

Post by security_lover »

I have 2 disks on my desktop. One SSD & one spinning HDD. I have installed GhostBSD & Debian (dual boot) on the SSD. I am using the spinning HDD to store data only. At the moment the spinning HDD has 1 EXT4 partition. I want to change it to a partition that is fully supported by GhostBSD.

Which filesystem is ideal for this situation ? UFS ?

Under Linux I use Gparted which is graphical. Is there a similar tool available under GhostBSD ? If not then please tell me the command which will format the partion from EXT4 to UFS.

Code: Select all

~> gpart show
=>       34  312581741  ada0  GPT  (149G)
         34       2014        - free -  (1.0M)
       2048  312578048     1  linux-data  (149G)
  312580096       1679        - free -  (840K)

=>       34  312581741  diskid/DISK-6RAAA8P8  GPT  (149G)
         34       2014                        - free -  (1.0M)
       2048  312578048                     1  linux-data  (149G)
  312580096       1679                        - free -  (840K)

=>       34  234441581  ada1  GPT  (112G)
         34       2014        - free -  (1.0M)
       2048    1048576     1  efi  (512M)
    1050624  182190080     2  linux-data  (87G)
  183240704   51200000     3  freebsd-zfs  (24G)
  234440704        911        - free -  (456K)
ada0 is the drive that I want to format.

All data is already backed up.
I am paranoid about security !
User avatar
NevilleGoddard
Developer
Posts: 517
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan

Re: Need to convert EXT4 partition to a supported filesystem

Post by NevilleGoddard »

Do you want the data that is now on the HDD?
User avatar
security_lover
Posts: 69
Joined: Thu Apr 22, 2021 9:54 am

Re: Need to convert EXT4 partition to a supported filesystem

Post by security_lover »

NevilleGoddard wrote: Fri Apr 23, 2021 7:46 am Do you want the data that is now on the HDD?
The data was already backed up so I just used this command & it worked :

Code: Select all

newfs /dev/ada0p1
I am paranoid about security !
User avatar
ericbsd
Developer
Posts: 2105
Joined: Mon Nov 19, 2012 7:54 pm

Re: Need to convert EXT4 partition to a supported filesystem

Post by ericbsd »

Same here force upgrade automount as I said in https://forums.ghostbsd.org/viewtopic.php?p=9351#p9351 you should be good after that.
User avatar
ericbsd
Developer
Posts: 2105
Joined: Mon Nov 19, 2012 7:54 pm

Re: Need to convert EXT4 partition to a supported filesystem

Post by ericbsd »

there was a bug case by gvfs in the last release, I have not yet released a new version because I have started to work on the GhostBSD base on FreeBSD 13. Since then I have been fixing the bad implementation of OpenRC that was done when I started to use it for GhostBSD.
Post Reply