Converting NTFS to EXT without losing data


Recommended Posts

Hey, Linux users. After a few months of dualbooting XP with Ubuntu, I'm ready to become a 100% Linux user. Unfortunately, my 120 GB D drive is currently formatted to NTFS and is almost full. Is there a way to convert NTFS to EXT without losing everything I have? I want to be able to write to that drive under Ubuntu once I get some of the junk cleared off it.

Note: I know Linux can write to FAT but I've always been under the impression that Linux can write more effectively to its own native filesystem than a predominantly Windows-used filesystem.

since your drive isnt completely full, why dont you just resize your partition and make the unused space into ext3, then move soem files from ntfs to ext3 and then convert the newly freed up ntfs space into part of your ext3 partition, doing it chunk by chunk.. might take a while but you wouldnt lose anything...that would work right?

You can't convert a live filesystem containing data from one type to another like that

586074602[/snapback]

Dude yes you can.. MS allows you to convert fat to ntfs using the convert command..

C:\>convert /?

Converts FAT volumes to NTFS.

CONVERT volume /FS:NTFS [/V] [/CvtArea:filename] [/NoSecurity] [/X]

As for linux - Here is a howto for gentoo on how to convert these file systems;

http://gentoo-wiki.com/HOWTO_Convert_Filesystems

his will work for these filesystems:

* minix

* xfs

* jfs

* reiserfs

* ext2

* ext3

But off the top - I do not know of an easy, safe way to convert from ntfs to ext2 or 3, or to any other native linux FS... Hmm, I'll take a look around.

since your drive isnt completely full, why dont you just resize your partition and make the unused space into ext3, then move soem files from ntfs to ext3 and then convert the newly freed up ntfs space into part of your ext3 partition, doing it chunk by chunk.. might take a while but  you wouldnt lose anything...that would work right?

586074623[/snapback]

That was a great idea, but for some reason, PartitionMagic isn't letting me create a new partition on my D drive.

Hey, Linux users. After a few months of dualbooting XP with Ubuntu, I'm ready to become a 100% Linux user.

586074314[/snapback]

First, congratulations on making the 100% switch. (Y)

It took me quite a while longer than two months to finally ditch Windows completely.

As for the drive issue, do you have a home network going on, and could offload files to another PC? But that is an awful lot of files to move! :blink:

EDIT: If you can remove your Windows system from there, it will free up some room to start using. Not a very efficient option, as you really need to find about a 120GB drive to transfer your data to.

go buy a drive, use it for backup. Kill the partition and make a new one on your old HD, then drop the files back over... After that, return the New HD to where you bought it from... I kno its not the most ethical thing to do, but it does work...

I just cant see how anyone could use nothing but Linux :-( Lack of games just kills it for me...

First, congratulations on making the 100% switch. (Y)

It took me quite a while longer than two months to finally ditch Windows completely.

Thanks a lot. I appreciate it. :)

As for the drive issue, do you have a home network going on, and could offload files to another PC?  But that is an awful lot of files to move! :blink:

EDIT:  If you can remove your Windows system from there, it will free up some room to start using.  Not a very efficient option, as you really need to find about a 120GB drive to transfer your data to.

Unfortunately, my PC is the only one in the house, so my options are limited at the moment. :(

I just cant see how anyone could use nothing but Linux :-( Lack of games just kills it for me...

My GameCube and PS2 satisfy my gaming needs.

The only thing I'm left with now, is the thought of a friend with a spare harddrive? Or a DVD-RW drive and a crap load of disks..

586074887[/snapback]

I have a DVD burner, but not enough DVD-R's for the job, and I'm currently without the 13 bucks needed for a stack of 25 until my next paycheck.

Hmmmm, I wonder. Since I can't get DVD-R's just yet, while at the same time I don't really want to wait that long to get rid of Windows, can I convert the NTFS drive to FAT32, clean install Ubuntu on my C drive, and use a Linux CD/DVD burning application to get the files off the D drive once I buy some more DVD-R's?

Dude yes you can.. MS allows you to convert fat to ntfs using the convert command..

Converting from ms filesystem to another ms filesystem doesn't count :p

As for linux - Here is a howto for gentoo on how to convert these file systems;

http://gentoo-wiki.com/HOWTO_Convert_Filesystems

his will work for these filesystems:

    * minix

    * xfs

    * jfs

    * reiserfs

    * ext2

    * ext3

Well slap me silly and call me a pickled trout, I never did know about convertfs. Thanks for pointing it out, looks like a nifty tool.

But off the top - I do not know of an easy, safe way to convert from ntfs to ext2 or 3, or to any other native linux FS...  Hmm, I'll take a look around.

586074640[/snapback]

Indeed, FS converters seem to only convert between filesystems of the same OS, unfortunately.

Maybe this tid bit of advice might help ya out....

Even though we had a 120 on this system, which has now been upgraded, I tend to do cleanup of files and saved programs by priority. Priority being, how hard was it to get those files/programs...how old are they, how many multiple versions have I kept...and how long does it take to re-download any given file, or program???

You may find that you can simply live without any of the backed up programs cuz you'll have plenty of time to redownload them after you've made your final switch. This in turn will free up how many DVDs you'll need to keep the stuff you cannot redownload such as game save files, or photos...pics you've created...songs, rare songs for that matter...or files you got from someone's FTP server that is no longer up. In my case of having only a mere 30gigs used, only about 7.5g's of it is irreplacable, and is backed up to DVD on a regular basis. All the other stuff is just programs used to do fresh installations over the network.

Hopefully, after doing that, you'll have saved some time and were able to burn what was left...giving you the opportunity to clear the entire drive...remove all the partitions..zero the drive, and start with a fresh installation of Ubuntu.

Maybe this tid bit of advice might help ya out....

Even though we had a 120 on this system, which has now been upgraded, I tend to do cleanup of files and saved programs by priority.  Priority being, how hard was it to get those files/programs...how old are they, how many multiple versions have I kept...and how long does it take to re-download any given file, or program???

You may find that you can simply live without any of the backed up programs cuz you'll have plenty of time to redownload them after you've made your final switch.  This in turn will free up how many DVDs you'll need to keep the stuff you cannot redownload such as game save files, or photos...pics you've created...songs, rare songs for that matter...or files you got from someone's FTP server that is no longer up.  In my case of having only a mere 30gigs used, only about 7.5g's of it is irreplacable, and is backed up to DVD on a regular basis.  All the other stuff is just programs used to do fresh installations over the network.

Hopefully, after doing that, you'll have saved some time and were able to burn what was left...giving you the opportunity to clear the entire drive...remove all the partitions..zero the drive, and start with a fresh installation of Ubuntu.

586075128[/snapback]

Sadly, a lot of it is valuable, but I might have enough DVD-R's to burn off what I absolutely CANNOT replace. Thanks for the input.  :)

Converting from ms filesystem to another ms filesystem doesn't count :p

586075075[/snapback]

Dude it was in answer to your "blanket" statement of;

"You can't convert a live filesystem containing data from one type to another like that"

Which obviously was wrong - in both windows and linux ;)

On another note - how much space do you have available? Would surely be a drawn out process.. But you have some space to work with.. You could copy some files from the ntfs to linux ext2,3,xfs,reiser,whatever.. Then resize the ntfs partition with partition magic or other tools.. Create a linux friendly partition on the freed up space.. move more files from the ntfs partition to the linux parition, resize the ntfs smaller, make the linux one bigger...

Repeat until all files have been moved from the ntfs partition to linux partition - resizing as you go along ;)

Depending on how much space you have to work with - might only take a few iterations ;)

On another note - how much space do you have available?  Would surely be a drawn out process.. But you have some space to work with..  You could copy some files from the ntfs to linux ext2,3,xfs,reiser,whatever..  Then resize the ntfs partition with partition magic or other tools..  Create a linux friendly partition on the freed up space.. move more files from the ntfs partition to the linux parition, resize the ntfs smaller, make the linux one bigger...

586076708[/snapback]

If you do this, do not use an ext2/3 partition as you linux one. Use reiserfs. Ext2/3 has a fixed number of indoes allocated when the filesystem is created whereas reiserfs creates inodes in it's b-tree as needed. If you use ext2/3, you won't be able to increase the available number of inodes as you increase the filesystem size and hence, you won't be able to make many files.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Rufus alternative Ventoy now supports Windows 11's mandatory update, fixes major boot bug by Sayan Sen While Microsoft has its own official Media Creation Tool used for making bootable USB media, there are some popular third-party utilities as well which offer additional options like bypassing system requirements, Microsoft Account creation, and more. One of these is Ventoy, and the software has received its latest update today. In fact, the app actually got a slew of updates over the last couple of days, three version releases in total, to be specific. The first release, version 1.1.13, was pulled as there was some unspecified error in the update, and as such, the corrected version 1.1.14 was pushed out. Following that on very short notice, 1.1.15 was published as well. For those unfamiliar, Ventoy is an open-source utility that lets users create a bootable USB drive once and then simply copy ISO, WIM, IMG, VHD, or EFI files onto it without repeatedly formatting the drive. It supports both legacy BIOS and UEFI boot modes, Secure Boot, and a wide range of operating systems, making it one of the most versatile tools in the category. The biggest change in version 1.1.14 is an updated Secure Boot shim file aimed at resolving the UEFI CA 2023 issue, which is basically a compatibility problem that has affected Secure Boot environments on some systems. If you recall, we reported about severe boot issues on HP devices following the release of updated Secure Boot 2023 keys. For anyone who may not be aware, back in early 2024, Microsoft announced that it was updating Secure Boot keys as they were going to become 15 years old in 2026, which is also when they are set to expire. As such, the new 2023 certificates have been rolling out with the newest Windows 11 updates. Updated boot manager and Secure Boot certificates are crucial for protection against malware like bootkits. These are mandatory updates. Alongside that, the VentoyPlugson graphical plugin configurator was updated in sync with the release. The update also introduces a new VTOY_SECURE_BOOT_POLICY option within the Global Control plugin, giving users more flexibility in managing Secure Boot behavior. Ventoy has also received a fix for a startup issue when Secure Boot was disabled. Microsoft does officially allow users to boot systems without Secure Boot as long as the PC is Secure Boot capable. The full changelog is given below: Update secure boot shim file to solve the UEFI CA 2023 issue. The new release use a new CA, so you need to enroll the new key for the first boot time. VentoyPlugson update synchronously. Global control plugin add a VTOY_SECURE_BOOT_POLICY option. Fix the boot issue when Secure Boot is disabled in the UEFI firmware. You can download the latest version of the app here on Ventoy's official GitHub repo or from Neowin software stories.
    • Windows 11 is fine, no issues on any of the machines I've run it on since release. The stricter security requirements are a good thing, sometimes the baseline needs to change and people will winge, but it is what it is. Happened with the move from 9x to NT - broke compatability Happened with XP SP2 when security started to become a serious consideration Certainly happend with Vista that brought in UAC, the concept of not running as admin (something that has been the norm in Linux/Unix from pretty much the start) and a completely new driver stack. Windows 11 will probably get looked back at as the point where even consumer and SMB IT was dragged kicking and screaming into a somewhat secure by default configuration.
    • Bluestacks has been emulating Android on Windows for fifteen years. It's janky and riddled with ads though, so WSA looked like it was going to be a huge improvement over the emulator experience. Too bad Microsoft dropped the ball on that.
    • Classic. China would be nothing without Western, Japanese, and South Korean technology.
    • The world is larger then your small viewpoint. Plenty of scientists care about this, especially those involved in space.
  • Recent Achievements

    • Rookie
      krychek57 went up a rank
      Rookie
    • Grand Master
      Jaybonaut went up a rank
      Grand Master
    • One Year In
      Philsl earned a badge
      One Year In
    • Dedicated
      Scoobystu earned a badge
      Dedicated
    • First Post
      Tom Schmidt earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      441
    2. 2
      +Edouard
      172
    3. 3
      PsYcHoKiLLa
      134
    4. 4
      Michael Scrip
      78
    5. 5
      Xenon
      77
  • Tell a friend

    Love Neowin? Tell a friend!