How do I convert a FAT32 to ext3 (keeping the data on it)












11















Is there a way to convert a FAT partition to ext3 (or other ext..) while keeping the data on it? I don't have access to a external USB hard disk to temporarily store the data, so I'd like to just convert it while the data sits on the partition. Is that possible?










share|improve this question

























  • How big is your disk and how much data is there on it? I have an idea, but it requires you having enough space to store a copy of everything you wish to preserve.

    – user2405
    Nov 20 '10 at 13:20











  • It is possible if you have at least as much free space as your largest file + the minimum size used by ext3 for FS headers & metadata. But doing it like that is not really safe if you don't have backups (which you obviously don't have) and depending on the free space available it might take a lot of time and manual work.

    – JanC
    Nov 20 '10 at 13:36











  • Just assume my hard disk is 90% full. I can't copy the whole partition to a temporary filesystem. I think I will have to buy an extern hdd.

    – Alexander Engelhardt
    Nov 20 '10 at 14:32


















11















Is there a way to convert a FAT partition to ext3 (or other ext..) while keeping the data on it? I don't have access to a external USB hard disk to temporarily store the data, so I'd like to just convert it while the data sits on the partition. Is that possible?










share|improve this question

























  • How big is your disk and how much data is there on it? I have an idea, but it requires you having enough space to store a copy of everything you wish to preserve.

    – user2405
    Nov 20 '10 at 13:20











  • It is possible if you have at least as much free space as your largest file + the minimum size used by ext3 for FS headers & metadata. But doing it like that is not really safe if you don't have backups (which you obviously don't have) and depending on the free space available it might take a lot of time and manual work.

    – JanC
    Nov 20 '10 at 13:36











  • Just assume my hard disk is 90% full. I can't copy the whole partition to a temporary filesystem. I think I will have to buy an extern hdd.

    – Alexander Engelhardt
    Nov 20 '10 at 14:32
















11












11








11


3






Is there a way to convert a FAT partition to ext3 (or other ext..) while keeping the data on it? I don't have access to a external USB hard disk to temporarily store the data, so I'd like to just convert it while the data sits on the partition. Is that possible?










share|improve this question
















Is there a way to convert a FAT partition to ext3 (or other ext..) while keeping the data on it? I don't have access to a external USB hard disk to temporarily store the data, so I'd like to just convert it while the data sits on the partition. Is that possible?







ext3 fat32






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 20 '10 at 15:09









8128

24.9k21101137




24.9k21101137










asked Nov 20 '10 at 13:11









Alexander EngelhardtAlexander Engelhardt

2321211




2321211













  • How big is your disk and how much data is there on it? I have an idea, but it requires you having enough space to store a copy of everything you wish to preserve.

    – user2405
    Nov 20 '10 at 13:20











  • It is possible if you have at least as much free space as your largest file + the minimum size used by ext3 for FS headers & metadata. But doing it like that is not really safe if you don't have backups (which you obviously don't have) and depending on the free space available it might take a lot of time and manual work.

    – JanC
    Nov 20 '10 at 13:36











  • Just assume my hard disk is 90% full. I can't copy the whole partition to a temporary filesystem. I think I will have to buy an extern hdd.

    – Alexander Engelhardt
    Nov 20 '10 at 14:32





















  • How big is your disk and how much data is there on it? I have an idea, but it requires you having enough space to store a copy of everything you wish to preserve.

    – user2405
    Nov 20 '10 at 13:20











  • It is possible if you have at least as much free space as your largest file + the minimum size used by ext3 for FS headers & metadata. But doing it like that is not really safe if you don't have backups (which you obviously don't have) and depending on the free space available it might take a lot of time and manual work.

    – JanC
    Nov 20 '10 at 13:36











  • Just assume my hard disk is 90% full. I can't copy the whole partition to a temporary filesystem. I think I will have to buy an extern hdd.

    – Alexander Engelhardt
    Nov 20 '10 at 14:32



















How big is your disk and how much data is there on it? I have an idea, but it requires you having enough space to store a copy of everything you wish to preserve.

– user2405
Nov 20 '10 at 13:20





How big is your disk and how much data is there on it? I have an idea, but it requires you having enough space to store a copy of everything you wish to preserve.

– user2405
Nov 20 '10 at 13:20













It is possible if you have at least as much free space as your largest file + the minimum size used by ext3 for FS headers & metadata. But doing it like that is not really safe if you don't have backups (which you obviously don't have) and depending on the free space available it might take a lot of time and manual work.

– JanC
Nov 20 '10 at 13:36





It is possible if you have at least as much free space as your largest file + the minimum size used by ext3 for FS headers & metadata. But doing it like that is not really safe if you don't have backups (which you obviously don't have) and depending on the free space available it might take a lot of time and manual work.

– JanC
Nov 20 '10 at 13:36













Just assume my hard disk is 90% full. I can't copy the whole partition to a temporary filesystem. I think I will have to buy an extern hdd.

– Alexander Engelhardt
Nov 20 '10 at 14:32







Just assume my hard disk is 90% full. I can't copy the whole partition to a temporary filesystem. I think I will have to buy an extern hdd.

– Alexander Engelhardt
Nov 20 '10 at 14:32












3 Answers
3






active

oldest

votes


















9














If you're not booting off the partition (is this even possible without using wubi?) and it's at least half free then just use gparted (paste apt:gparted in firefox).




  • Run it from the menu.

  • Find out the name of your partition
    using fdisk -l in a terminal. The
    partition named something like
    /dev/sda* where * is a number. Or look through the list in the upper right edge of gparted

  • Resize the fat32 partition to less then half of it's original size

  • Create a new ext* partition

  • Move all files over to the ext partition

  • Delete the old one and resize the ext partition.


Note that I've done this several times and it always worked as intended HOWEVER there are many reports of people that lost data this way. Depending on the amount of data you can use Ubuntu One or Dropbox to backup your stuff. They both offer 2 GB which is most probably not enough.






share|improve this answer
























  • Hey, I used gparted to resize and move the partitions around. Now I just have to convert the filesystem. Apparently it's not possible to change a filesystem /with data on it/ without tricks?

    – Alexander Engelhardt
    Nov 20 '10 at 14:29











  • You already split the partition have created ext and moved your files over? Then you can just delete the old fat one and resize ext. No converting needed here.

    – turbo
    Nov 20 '10 at 15:08





















4














Direct conversion is not possible. You will need to copy the data to another drive/partition, change the filesystem, then copy the data back.






share|improve this answer

































    3














    It is posible to convert.




    • FAT32 --> NTFS: see "Convert FAT32 partition to NTFS without data loss?"

    • NTFS --> ext: use anyconvertfs, see this answer.


    However, by definition, any conversion is risky, and the only way to guarantee you will "keep the data" is to do a back-up... but in that case it's simpler to delete partition -> create partition -> copy as per the other aanswers.






    share|improve this answer


























    • it seems anyconvertfs can also convert from FAT32 to ext3 directly

      – phuclv
      Jun 10 '17 at 17:16











    • The question asks for FAT32 to ext3, not to NTFS.

      – fosslinux
      1 hour ago











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f14165%2fhow-do-i-convert-a-fat32-to-ext3-keeping-the-data-on-it%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    9














    If you're not booting off the partition (is this even possible without using wubi?) and it's at least half free then just use gparted (paste apt:gparted in firefox).




    • Run it from the menu.

    • Find out the name of your partition
      using fdisk -l in a terminal. The
      partition named something like
      /dev/sda* where * is a number. Or look through the list in the upper right edge of gparted

    • Resize the fat32 partition to less then half of it's original size

    • Create a new ext* partition

    • Move all files over to the ext partition

    • Delete the old one and resize the ext partition.


    Note that I've done this several times and it always worked as intended HOWEVER there are many reports of people that lost data this way. Depending on the amount of data you can use Ubuntu One or Dropbox to backup your stuff. They both offer 2 GB which is most probably not enough.






    share|improve this answer
























    • Hey, I used gparted to resize and move the partitions around. Now I just have to convert the filesystem. Apparently it's not possible to change a filesystem /with data on it/ without tricks?

      – Alexander Engelhardt
      Nov 20 '10 at 14:29











    • You already split the partition have created ext and moved your files over? Then you can just delete the old fat one and resize ext. No converting needed here.

      – turbo
      Nov 20 '10 at 15:08


















    9














    If you're not booting off the partition (is this even possible without using wubi?) and it's at least half free then just use gparted (paste apt:gparted in firefox).




    • Run it from the menu.

    • Find out the name of your partition
      using fdisk -l in a terminal. The
      partition named something like
      /dev/sda* where * is a number. Or look through the list in the upper right edge of gparted

    • Resize the fat32 partition to less then half of it's original size

    • Create a new ext* partition

    • Move all files over to the ext partition

    • Delete the old one and resize the ext partition.


    Note that I've done this several times and it always worked as intended HOWEVER there are many reports of people that lost data this way. Depending on the amount of data you can use Ubuntu One or Dropbox to backup your stuff. They both offer 2 GB which is most probably not enough.






    share|improve this answer
























    • Hey, I used gparted to resize and move the partitions around. Now I just have to convert the filesystem. Apparently it's not possible to change a filesystem /with data on it/ without tricks?

      – Alexander Engelhardt
      Nov 20 '10 at 14:29











    • You already split the partition have created ext and moved your files over? Then you can just delete the old fat one and resize ext. No converting needed here.

      – turbo
      Nov 20 '10 at 15:08
















    9












    9








    9







    If you're not booting off the partition (is this even possible without using wubi?) and it's at least half free then just use gparted (paste apt:gparted in firefox).




    • Run it from the menu.

    • Find out the name of your partition
      using fdisk -l in a terminal. The
      partition named something like
      /dev/sda* where * is a number. Or look through the list in the upper right edge of gparted

    • Resize the fat32 partition to less then half of it's original size

    • Create a new ext* partition

    • Move all files over to the ext partition

    • Delete the old one and resize the ext partition.


    Note that I've done this several times and it always worked as intended HOWEVER there are many reports of people that lost data this way. Depending on the amount of data you can use Ubuntu One or Dropbox to backup your stuff. They both offer 2 GB which is most probably not enough.






    share|improve this answer













    If you're not booting off the partition (is this even possible without using wubi?) and it's at least half free then just use gparted (paste apt:gparted in firefox).




    • Run it from the menu.

    • Find out the name of your partition
      using fdisk -l in a terminal. The
      partition named something like
      /dev/sda* where * is a number. Or look through the list in the upper right edge of gparted

    • Resize the fat32 partition to less then half of it's original size

    • Create a new ext* partition

    • Move all files over to the ext partition

    • Delete the old one and resize the ext partition.


    Note that I've done this several times and it always worked as intended HOWEVER there are many reports of people that lost data this way. Depending on the amount of data you can use Ubuntu One or Dropbox to backup your stuff. They both offer 2 GB which is most probably not enough.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 20 '10 at 13:55









    turboturbo

    3,31732245




    3,31732245













    • Hey, I used gparted to resize and move the partitions around. Now I just have to convert the filesystem. Apparently it's not possible to change a filesystem /with data on it/ without tricks?

      – Alexander Engelhardt
      Nov 20 '10 at 14:29











    • You already split the partition have created ext and moved your files over? Then you can just delete the old fat one and resize ext. No converting needed here.

      – turbo
      Nov 20 '10 at 15:08





















    • Hey, I used gparted to resize and move the partitions around. Now I just have to convert the filesystem. Apparently it's not possible to change a filesystem /with data on it/ without tricks?

      – Alexander Engelhardt
      Nov 20 '10 at 14:29











    • You already split the partition have created ext and moved your files over? Then you can just delete the old fat one and resize ext. No converting needed here.

      – turbo
      Nov 20 '10 at 15:08



















    Hey, I used gparted to resize and move the partitions around. Now I just have to convert the filesystem. Apparently it's not possible to change a filesystem /with data on it/ without tricks?

    – Alexander Engelhardt
    Nov 20 '10 at 14:29





    Hey, I used gparted to resize and move the partitions around. Now I just have to convert the filesystem. Apparently it's not possible to change a filesystem /with data on it/ without tricks?

    – Alexander Engelhardt
    Nov 20 '10 at 14:29













    You already split the partition have created ext and moved your files over? Then you can just delete the old fat one and resize ext. No converting needed here.

    – turbo
    Nov 20 '10 at 15:08







    You already split the partition have created ext and moved your files over? Then you can just delete the old fat one and resize ext. No converting needed here.

    – turbo
    Nov 20 '10 at 15:08















    4














    Direct conversion is not possible. You will need to copy the data to another drive/partition, change the filesystem, then copy the data back.






    share|improve this answer






























      4














      Direct conversion is not possible. You will need to copy the data to another drive/partition, change the filesystem, then copy the data back.






      share|improve this answer




























        4












        4








        4







        Direct conversion is not possible. You will need to copy the data to another drive/partition, change the filesystem, then copy the data back.






        share|improve this answer















        Direct conversion is not possible. You will need to copy the data to another drive/partition, change the filesystem, then copy the data back.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 1 hour ago









        fosslinux

        2,39521837




        2,39521837










        answered Nov 20 '10 at 20:09









        Little JawaLittle Jawa

        2,29321525




        2,29321525























            3














            It is posible to convert.




            • FAT32 --> NTFS: see "Convert FAT32 partition to NTFS without data loss?"

            • NTFS --> ext: use anyconvertfs, see this answer.


            However, by definition, any conversion is risky, and the only way to guarantee you will "keep the data" is to do a back-up... but in that case it's simpler to delete partition -> create partition -> copy as per the other aanswers.






            share|improve this answer


























            • it seems anyconvertfs can also convert from FAT32 to ext3 directly

              – phuclv
              Jun 10 '17 at 17:16











            • The question asks for FAT32 to ext3, not to NTFS.

              – fosslinux
              1 hour ago
















            3














            It is posible to convert.




            • FAT32 --> NTFS: see "Convert FAT32 partition to NTFS without data loss?"

            • NTFS --> ext: use anyconvertfs, see this answer.


            However, by definition, any conversion is risky, and the only way to guarantee you will "keep the data" is to do a back-up... but in that case it's simpler to delete partition -> create partition -> copy as per the other aanswers.






            share|improve this answer


























            • it seems anyconvertfs can also convert from FAT32 to ext3 directly

              – phuclv
              Jun 10 '17 at 17:16











            • The question asks for FAT32 to ext3, not to NTFS.

              – fosslinux
              1 hour ago














            3












            3








            3







            It is posible to convert.




            • FAT32 --> NTFS: see "Convert FAT32 partition to NTFS without data loss?"

            • NTFS --> ext: use anyconvertfs, see this answer.


            However, by definition, any conversion is risky, and the only way to guarantee you will "keep the data" is to do a back-up... but in that case it's simpler to delete partition -> create partition -> copy as per the other aanswers.






            share|improve this answer















            It is posible to convert.




            • FAT32 --> NTFS: see "Convert FAT32 partition to NTFS without data loss?"

            • NTFS --> ext: use anyconvertfs, see this answer.


            However, by definition, any conversion is risky, and the only way to guarantee you will "keep the data" is to do a back-up... but in that case it's simpler to delete partition -> create partition -> copy as per the other aanswers.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 13 '17 at 12:23









            Community

            1




            1










            answered Mar 17 '14 at 8:44









            ignisignis

            3,2812024




            3,2812024













            • it seems anyconvertfs can also convert from FAT32 to ext3 directly

              – phuclv
              Jun 10 '17 at 17:16











            • The question asks for FAT32 to ext3, not to NTFS.

              – fosslinux
              1 hour ago



















            • it seems anyconvertfs can also convert from FAT32 to ext3 directly

              – phuclv
              Jun 10 '17 at 17:16











            • The question asks for FAT32 to ext3, not to NTFS.

              – fosslinux
              1 hour ago

















            it seems anyconvertfs can also convert from FAT32 to ext3 directly

            – phuclv
            Jun 10 '17 at 17:16





            it seems anyconvertfs can also convert from FAT32 to ext3 directly

            – phuclv
            Jun 10 '17 at 17:16













            The question asks for FAT32 to ext3, not to NTFS.

            – fosslinux
            1 hour ago





            The question asks for FAT32 to ext3, not to NTFS.

            – fosslinux
            1 hour ago


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f14165%2fhow-do-i-convert-a-fat32-to-ext3-keeping-the-data-on-it%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            GameSpot

            日野市

            Tu-95轟炸機