Thursday, February 22, 2024
 Popular · Latest · Hot · Upcoming
42
rated 0 times [  42] [ 0]  / answers: 1 / hits: 112280  / 2 Years ago, sun, december 5, 2021, 11:43:13

I have 2 TB of data on an NTFS drive which I would like to convert to EXT4 filesystem. My OS runs on a (comparatively) small 60GB SSD. Is there any way to convert the filesystem, apart from backing up and reformatting?


More From » filesystem

 Answers
0

Just for the record, there is a software (actually, a mini-distro) that does exactly the procedure arrange said in enzotib's answer:



Parted Magic



It looks like a direct conversion from NTFS to ext4, but internally the procedures are:




  1. Shrink the NTFS partition

  2. Create an ext4 partition in the empty space

  3. Move data from NTFS to ext4 until ext4 is full

  4. If NTFS is empty (all data was moved), go to step 8

  5. Shrink NTFS

  6. Enlarge ext4

  7. Repeat steps 3 to 6 until done

  8. Delete NTFS partition

  9. Move ext4 partition to NTFS' orignal place

  10. Trim ext4 partition to NTFS' original size



So the more occupied your NTFS partition is, the longer it will take. If it is less than 50%, it will convert in one pass, in a single shrink-copy-enlarge iteration.



Although Parted Magic conveniently automates all of this, it is still essentially the same procedures described by arrange, so it is very risky and very time consuming. Backup-format-restore is much safer and much faster.


[#43341] Tuesday, December 7, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oleard

Total Points: 344
Total Questions: 105
Total Answers: 113

Location: Bonaire
Member since Tue, Sep 20, 2022
1 Year ago
;