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

    • One of the strangest galaxies in our Universe could help answer some long overdue questions by Sayan Sen Image by Pixabay via Pexels | Not representative An international team of astronomers led by the Department of Astronomy at Tsinghua University has discovered an unusually metal-poor galaxy that may contain signs of first-generation star formation. The galaxy, named Metal-Pristine Galaxy COSMOS Redshift 3 (MPG-CR3), or CR3, was identified using observations from the James Webb Space Telescope (JWST), the Very Large Telescope (VLT), and the Subaru Telescope. The findings, published in The Astrophysical Journal Letters, describe CR3 as the most metal-poor galaxy known from the period known as "cosmic noon," around 11.5 billion years ago. Cosmic noon refers to a period when the universe was producing stars at its highest rate and galaxies were growing rapidly. In astronomy, "metals" refers to all elements heavier than helium, including oxygen, carbon, and iron. Because CR3 contains so few of these heavier elements, researchers say it closely resembles what scientists expect the earliest galaxies in the universe may have looked like. The discovery is significant because it could offer clues about Population III (Pop III) stars, the first generation of stars thought to have formed after the Big Bang. These stars are believed to have formed from gas made almost entirely of hydrogen and helium, before heavier elements were created inside stars and spread across the universe through supernova explosions. Hence this is why CR3 has been referred to as a "living fossil." Scientists have long believed that Population III stars existed only in the very early universe. As more generations of stars formed and died, they enriched surrounding gas with heavier elements, making the conditions needed for metal-free star formation increasingly rare. Because of this, researchers expected the formation of such stars to have largely ended after the epoch of reionization, a period when radiation from the first stars and galaxies transformed the neutral hydrogen filling the universe and made it largely transparent to ultraviolet light. CR3 appears to challenge that idea. The galaxy was observed at a redshift of z = 3.193 ± 0.016. Redshift measures how much light from a distant object has been stretched as the universe expands and helps astronomers determine how far back in time they are looking. In this case, the redshift corresponds to roughly 11.5 billion years ago during cosmic noon. Although the universe was already several billion years old by that point, CR3 shows characteristics more commonly associated with much earlier galaxies. Observations revealed exceptionally strong emissions from hydrogen and helium, including Lyα, Hα, and He I λ10830. Lyα, or Lyman-alpha emission, is a specific wavelength of light produced by hydrogen and is widely used to study distant galaxies. Hα emission is another hydrogen signature commonly used to trace active star formation, while He I λ10830 is produced by helium and can indicate the presence of very hot, young stars. The measured equivalent widths of EW₀(Lyα) = 822 ± 101 Å and EW₀(Hα) = 2814 ± 327 Å are among the highest ever observed in star-forming galaxies. Equivalent width is a measure of the strength of an emission line relative to the surrounding light, and such large values are typically associated with intense and very recent star formation. At the same time, researchers found no statistically significant detections of metal emission lines, including [O III] λλ4959, 5007 and C IV λλ1548, 1550. Emission lines act as chemical fingerprints that reveal which elements are present in a galaxy. Oxygen and carbon lines are commonly seen in galaxies that have already undergone significant chemical enrichment. Their absence in CR3 suggests an unusually pristine environment. Using abundance calibration methods developed with JWST observations, the team placed a 2σ upper limit on the galaxy's gas-phase metallicity of 12+log(O/H)<6.52, corresponding to less than 0.7% of the Sun's metallicity (Z < 7 × 10⁻³ Z⊙). Gas-phase metallicity measures the abundance of heavy elements in a galaxy's gas. A 2σ upper limit indicates that the true value is very unlikely to be higher than the quoted threshold. Even when accounting for uncertainties in the calibration methods, the most conservative limit remains 12+log(O/H)<6.95, making CR3 the most metal-poor galaxy identified at cosmic noon. The galaxy also appears to contain very little dust. Researchers measured a Lyα/Hα flux ratio of 13.9 ± 2.5, a result that suggests negligible dust attenuation, meaning very little of the galaxy's light is being absorbed or scattered by cosmic dust. Because dust is usually produced by earlier generations of stars, this finding further supports the idea that CR3 has experienced very little chemical enrichment. Further analysis using spectral energy distribution modelling, a technique that compares observed light with theoretical models, suggests that CR3 contains an extremely young stellar population only around 2 million years old. The modelling, which used Population III stellar templates, also indicates the galaxy has a stellar mass of approximately 6.1 × 10⁵ M⊙. The symbol M⊙ represents one solar mass, or the mass of the Sun. One of the key questions raised by the discovery is how such a chemically primitive galaxy could exist in a universe that had already spent billions of years producing heavier elements. To investigate this, the researchers examined CR3's surroundings. Their analysis suggests the galaxy may lie in a slightly underdense environment, with a density contrast of roughly δ ≈ −0.12. An underdense region contains less matter and fewer galaxies than average. The team suggests that this relative isolation may have helped preserve pockets of pristine gas. Metal-rich material expelled from nearby galaxies may never have reached CR3, while the lower rate of galaxy mergers and interactions could have slowed the mixing of enriched gas into the system. If future observations confirm these findings, CR3 could provide some of the strongest evidence yet that first-generation star formation continued well after the epoch of reionization. Such a result would challenge the conventional view that pristine star formation ended by z ≳ 6 and suggest that small pockets of metal-free gas survived much longer than previously thought. Researchers stress that more observations will be needed to determine the galaxy's true nature. Future spectroscopic studies with higher resolution and better signal quality could help confirm whether CR3 is genuinely hosting Population III star formation. The discovery is also expected to encourage searches for other similar galaxies, which could help astronomers better understand how the first stars formed and how galaxies evolved in the early universe. Source: Tsinghua University, IOPscience This article was generated with some help from AI and reviewed by an editor. Under Section 107 of the Copyright Act 1976, this material is used for the purpose of news reporting. Fair use is a use permitted by copyright statute that might otherwise be infringing.
    • "I think in the immediate absence of a partner to apply relief" In the words of Sterling Archer... "Phrasing!"
    • For me, the fundamental problems with these "smartglasses" is that they really don't work well for people with significant prescriptions and massively up the price if you use attached lenses if they have displays, and if they don't, then they're not actually "smart" anything, rather just connecting to your phone and relaying voice to an AI. In a few cases like this, they throw in small cameras to feed video to the AI. All around, these feel like both a solution looking for a problem, and the problems it tries to solve seem more easily solved by different approaches and designs. Oddly, if the rumours are true, Apple may actually have invented something for once and it kind of does this right: put cameras in ear buds and manage the interface to AI exactly as most of us do: tapping on an ear bud and saying "Hey Google" or "Hey Siri." That makes them compatible with almost everyone, can double up as a hearing assist device, an impaired vision assist device, a "smart" device... and answer your phone and play music. That just seems like a better solution all around.
    • Usually the bigger ones with many fixes/changes take a few, theyre an exception to the rule most likely
    • If you don’t get lucky with Valve’s Steam Machine reservation system, you can make your own Steam Machine instead. Valve says that “starting with the SteamOS 3.8 release, you can put together your own Steam Machine using whatever PC parts you want.” SteamOS 3.8.10 launched last week with a slew of updates, including “improved compatibility with recent Intel and AMD platforms.” Alongside that improved compatibility, Valve is giving gamers the green light to install SteamOS on their own desktops. In an interview with The Verge, Valve’s Pierre-Loup Griffais said Valve has been “rolling out improvements to [SteamOS] so it’s more compatible with desktop hardware,” including eventual support for Nvidia graphics. Griffais says Valve has “a growing team” working on Nvidia driver support for SteamOS, adding, “We’re collaborating with Nvidia very closely.” While he mentioned that Nvidia support might not come this year, Griffais emphasized that “it’s certainly something that we’re working on in the background.”     Subscription not needed: https://archive.fo/Tssfc Subscription needed: https://www.theverge.com/games/953411/valve-steamos-desktop-nvidia
  • Recent Achievements

    • Dedicated
      HidekoYamamoto94 earned a badge
      Dedicated
    • One Month Later
      timbobit earned a badge
      One Month Later
    • One Month Later
      nates earned a badge
      One Month Later
    • Week One Done
      Almohandis earned a badge
      Week One Done
    • Rookie
      dorf went up a rank
      Rookie
  • Popular Contributors

    1. 1
      +primortal
      452
    2. 2
      +Edouard
      161
    3. 3
      PsYcHoKiLLa
      107
    4. 4
      Michael Scrip
      84
    5. 5
      Steven P.
      70
  • Tell a friend

    Love Neowin? Tell a friend!