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

    • BleachBit 6.0.1 Beta by Razvan Serea When your computer is getting full, BleachBit quickly frees disk space. When your information is only your business, BleachBit guards your privacy. With BleachBit you can free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there. Designed for Linux and Windows systems, it wipes clean thousands of applications including Firefox, Microsoft Edge, Google Chrome, Opera, Safari, and more. Beyond simply deleting files, BleachBit includes advanced features such as shredding files to prevent recovery, wiping free disk space to hide traces of files deleted by other applications, and vacuuming Firefox to make it faster. Better than free, BleachBit is open source. BleachBit has many useful features: Delete your private files so completely that "even God can't read them" according to South Carolina Representative Trey Gowdy. Simple operation: read the descriptions, check the boxes you want, click preview, and click delete. Multi-platform: Linux and Windows Free of charge and no money trail Free to share, learn, and modify (open source) No adware, spyware, malware, browser toolbars, or "value-added software" Translated to 64 languages besides American English Shred files to hide their contents and prevent data recovery Shred any file (such as a spreadsheet on your desktop) Overwrite free disk space to hide previously deleted files Portable app for Windows: run without installation Command line interface for scripting and automation CleanerML allows anyone to write a new cleaner using XML Automatically import and update winapp2.ini cleaner files (a separate download) giving Windows users access to 2500+ additional cleaners Frequent software updates with new features Going beyond standard deletion of files, BleachBit has several advanced cleaners: Clear the memory and swap on Linux Delete broken shortcuts on Linux Delete the Firefox URL history without deleting the whole file—with optional shredding Delete Linux localizations: delete languages you don't use. More powerful than localepurge and available on more Linux distributions. Clean APT for Debian, Ubuntu, Kubuntu, Xubuntu, and Linux Mint Find widely-scattered junk such as Thumbs.db and .DS_Store files. Execute yum clean for CentOS, Fedora, and Red Hat to remove cached package data Delete Windows registry keys—often where MRU (most recently used) lists are stored Delete the OpenOffice.org recent documents list without deleting the whole Common.xcu file Overwrite free disk space to hide previously files Vacuum Firefox, Google Chrome, Liferea, Thunderbird, and Yum databases: shrink files without removing data to save space and improve speed Surgically remove private information from .ini and JSON configuration files and SQLite3 databases without deleting the whole file Overwrite data in SQLite3 before deleting it to prevent recovery (optional) BleachBit 6.0.1 Beta release notes: BleachBit 6.0.1 beta is now available for testing. This maintenance-focused release includes bug fixes, updated translations, and a range of safe enhancements. This release fixes a Windows security issue that could allow arbitrary file deletion during privileged cleaning (reported by Zeze with TeamT5). It also adds new cleaners (including a DNS cache cleaner, Claude Code, and Visual Studio Code forks), support for multiple Chrome and Edge profiles, new deep scan options for developer directories like node_modules and venv, and safer, faster file shredding. All Platforms Added cleaners for Claude Code, DNS cache, and many Visual Studio Code forks. Added support for multiple Chrome and Edge profiles. Chrome can now clean downloaded AI models. Deep Scan can optionally remove venv, __pycache__, node_modules, and .angular directories. Deep Scan is faster by skipping directories on the keep list. File shredding is safer, faster, and leaves fewer recoverable traces. Improved handling of cookies, symlinks, Unicode filenames, external processes, and configuration files. Improved Expert Mode warnings and long warning dialogs. Fixed crashes related to cleaner detection, invalid Unicode, and malformed cleaner data. Clipboard is now cleared automatically after shredding files via paste operations. Linux Added AppImage support. Added cleaners for Visual Studio Code, Codeium, Librewolf (.deb), Transmission (Flatpak), and Profanity. Improved Linux trash detection, including Snap-installed applications and mounted drives. Fixed Wayland root CLI issues and several Snap-related problems. Improved package dependencies, AppStream metadata, and desktop file handling. Fixed startup crashes when Python Requests is unavailable. Windows Fixed a security vulnerability that could allow arbitrary file deletion when cleaning with elevated privileges. Added %WindowsSystem% variable support. Improved clipboard clearing using native Windows APIs. Improved installer experience on unsupported Windows versions. Reduced installer size and improved application robustness. Fixed Unicode handling, filename anonymization, Git revision reporting, and splash screen stability. [full release notes] Download: BleachBit 6.0 | Portable | ~20.0 MB (Open Source) View: BleachBit Home page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • DriversCloud 12.1.6 by Razvan Serea With DriversCloud (formerly My-Config.com), you can explore your computer easily, safely and free. The application quickly scans your PC and identifies the hardware and software components. DriversCloud then establishes a list of the different drivers compatible with your OS and hardware. Download the drivers needed for the proper functioning of your computer. To detect your drivers, DriversCloud also displays a detailed summary of your hardware and software configuration, analyzes your BSOD, monitors in real-time your PC voltages and temperatures and lets you share your configuration online. Once the hardware components have been detected, you will be able to obtain with just a few clicks the latest drivers corresponding to the identified hardware. You can record your configuration on the site for free, and can get the corresponding URL to post the configuration to technical forums, e-mail and social networks. You can also download the detection result (the configuration) as a PDF file. To protect the user's privacy and data confidentiality, a 4-level confidentiality system was created that filters the XML marks and gives control to the user. The default level can be modified in the preferences. Using the maximum level will prevent the user from publishing his configuration and generating a corresponding PDF file. In non-connected mode, each XML configuration is stored on the server for one day (for practical reasons). However, you are given the opportunity to manually delete it. Created in 2004, and continually improved, My-Config.com has established itself on the web as a free service to PC users running Windows and Linux operating systems. The service is designed to work with the most common Internet browsers (Edge, Firefox, Chrome, Safari). Download: DriversCloud 64-bit | 20.0 MB (Freeware) Download: DriversCloud 32-bit | 18.9 MB Link: DriversCloud Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      AndreaB earned a badge
      One Month Later
    • One Month Later
      agatameier earned a badge
      One Month Later
    • Week One Done
      agatameier earned a badge
      Week One Done
    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
  • Popular Contributors

    1. 1
      +primortal
      516
    2. 2
      +Edouard
      193
    3. 3
      PsYcHoKiLLa
      149
    4. 4
      ATLien_0
      96
    5. 5
      Steven P.
      77
  • Tell a friend

    Love Neowin? Tell a friend!