Page 1 of 1

Need to convert EXT4 partition to a supported filesystem

Posted: Fri Apr 23, 2021 1:58 am
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.

Re: Need to convert EXT4 partition to a supported filesystem

Posted: Fri Apr 23, 2021 7:46 am
by NevilleGoddard
Do you want the data that is now on the HDD?

Re: Need to convert EXT4 partition to a supported filesystem

Posted: Fri Apr 23, 2021 7:58 am
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

Re: Need to convert EXT4 partition to a supported filesystem

Posted: Fri Apr 23, 2021 9:38 am
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.

Re: Need to convert EXT4 partition to a supported filesystem

Posted: Fri Apr 23, 2021 9:42 am
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.