Error when resizing a ext4 partition

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I used Gparted to resize a ext4 partition but it fails.
This is the command:



% resize2fs -p /dev/sdb5



resize2fs 1.42.13 (17-May-2015)



resize2fs: Filesystem has unsupported read-only feature(s) while trying to open /dev/sdb5 Couldn't find valid filesystem superblock.




I've been searching about this problem and I found similar issues in CentOS and Redhat for which it is recommended to use resize4fs (ext4). However this is not available for Ubuntu 16.04.



How could I tackle this problem?










share|improve this question

















  • 1




    Partition has to be unmounted. You cannot run from your working system, but need to use live installer's gparted or download the latest gparted ISO and use it.
    – oldfred
    Feb 7 at 22:54










  • Using gparted from a recent live CD is the best answer I can think of too. Can you post it as an answer? I would, but I don't want to take credit from you.
    – thomasrutter
    Feb 7 at 23:05











  • There is no resize4fs. It appears that you are using a newer ext4 feature in which case, you need to use a newer release than 16.04 to resize it.
    – psusi
    Feb 8 at 2:39










  • Are you root/did you use sudo ?
    – Robert Riedl
    Feb 8 at 15:39















up vote
0
down vote

favorite












I used Gparted to resize a ext4 partition but it fails.
This is the command:



% resize2fs -p /dev/sdb5



resize2fs 1.42.13 (17-May-2015)



resize2fs: Filesystem has unsupported read-only feature(s) while trying to open /dev/sdb5 Couldn't find valid filesystem superblock.




I've been searching about this problem and I found similar issues in CentOS and Redhat for which it is recommended to use resize4fs (ext4). However this is not available for Ubuntu 16.04.



How could I tackle this problem?










share|improve this question

















  • 1




    Partition has to be unmounted. You cannot run from your working system, but need to use live installer's gparted or download the latest gparted ISO and use it.
    – oldfred
    Feb 7 at 22:54










  • Using gparted from a recent live CD is the best answer I can think of too. Can you post it as an answer? I would, but I don't want to take credit from you.
    – thomasrutter
    Feb 7 at 23:05











  • There is no resize4fs. It appears that you are using a newer ext4 feature in which case, you need to use a newer release than 16.04 to resize it.
    – psusi
    Feb 8 at 2:39










  • Are you root/did you use sudo ?
    – Robert Riedl
    Feb 8 at 15:39













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I used Gparted to resize a ext4 partition but it fails.
This is the command:



% resize2fs -p /dev/sdb5



resize2fs 1.42.13 (17-May-2015)



resize2fs: Filesystem has unsupported read-only feature(s) while trying to open /dev/sdb5 Couldn't find valid filesystem superblock.




I've been searching about this problem and I found similar issues in CentOS and Redhat for which it is recommended to use resize4fs (ext4). However this is not available for Ubuntu 16.04.



How could I tackle this problem?










share|improve this question













I used Gparted to resize a ext4 partition but it fails.
This is the command:



% resize2fs -p /dev/sdb5



resize2fs 1.42.13 (17-May-2015)



resize2fs: Filesystem has unsupported read-only feature(s) while trying to open /dev/sdb5 Couldn't find valid filesystem superblock.




I've been searching about this problem and I found similar issues in CentOS and Redhat for which it is recommended to use resize4fs (ext4). However this is not available for Ubuntu 16.04.



How could I tackle this problem?







partitioning gparted resize






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 7 at 22:33









Victor Doors

58119




58119







  • 1




    Partition has to be unmounted. You cannot run from your working system, but need to use live installer's gparted or download the latest gparted ISO and use it.
    – oldfred
    Feb 7 at 22:54










  • Using gparted from a recent live CD is the best answer I can think of too. Can you post it as an answer? I would, but I don't want to take credit from you.
    – thomasrutter
    Feb 7 at 23:05











  • There is no resize4fs. It appears that you are using a newer ext4 feature in which case, you need to use a newer release than 16.04 to resize it.
    – psusi
    Feb 8 at 2:39










  • Are you root/did you use sudo ?
    – Robert Riedl
    Feb 8 at 15:39













  • 1




    Partition has to be unmounted. You cannot run from your working system, but need to use live installer's gparted or download the latest gparted ISO and use it.
    – oldfred
    Feb 7 at 22:54










  • Using gparted from a recent live CD is the best answer I can think of too. Can you post it as an answer? I would, but I don't want to take credit from you.
    – thomasrutter
    Feb 7 at 23:05











  • There is no resize4fs. It appears that you are using a newer ext4 feature in which case, you need to use a newer release than 16.04 to resize it.
    – psusi
    Feb 8 at 2:39










  • Are you root/did you use sudo ?
    – Robert Riedl
    Feb 8 at 15:39








1




1




Partition has to be unmounted. You cannot run from your working system, but need to use live installer's gparted or download the latest gparted ISO and use it.
– oldfred
Feb 7 at 22:54




Partition has to be unmounted. You cannot run from your working system, but need to use live installer's gparted or download the latest gparted ISO and use it.
– oldfred
Feb 7 at 22:54












Using gparted from a recent live CD is the best answer I can think of too. Can you post it as an answer? I would, but I don't want to take credit from you.
– thomasrutter
Feb 7 at 23:05





Using gparted from a recent live CD is the best answer I can think of too. Can you post it as an answer? I would, but I don't want to take credit from you.
– thomasrutter
Feb 7 at 23:05













There is no resize4fs. It appears that you are using a newer ext4 feature in which case, you need to use a newer release than 16.04 to resize it.
– psusi
Feb 8 at 2:39




There is no resize4fs. It appears that you are using a newer ext4 feature in which case, you need to use a newer release than 16.04 to resize it.
– psusi
Feb 8 at 2:39












Are you root/did you use sudo ?
– Robert Riedl
Feb 8 at 15:39





Are you root/did you use sudo ?
– Robert Riedl
Feb 8 at 15:39











1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










As suggested in the comments a recent gparted live CD solved my problem. I could resize the partition without problems using a live CD of gparted v0.30.0.



However my laptop did not boot after the resizing. The grub got destroyed!!
I solved this with a live CD of systemrescueCd. I restored the grub using the solution 2 from here.






share|improve this answer




















    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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f1004038%2ferror-when-resizing-a-ext4-partition%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote



    accepted










    As suggested in the comments a recent gparted live CD solved my problem. I could resize the partition without problems using a live CD of gparted v0.30.0.



    However my laptop did not boot after the resizing. The grub got destroyed!!
    I solved this with a live CD of systemrescueCd. I restored the grub using the solution 2 from here.






    share|improve this answer
























      up vote
      0
      down vote



      accepted










      As suggested in the comments a recent gparted live CD solved my problem. I could resize the partition without problems using a live CD of gparted v0.30.0.



      However my laptop did not boot after the resizing. The grub got destroyed!!
      I solved this with a live CD of systemrescueCd. I restored the grub using the solution 2 from here.






      share|improve this answer






















        up vote
        0
        down vote



        accepted







        up vote
        0
        down vote



        accepted






        As suggested in the comments a recent gparted live CD solved my problem. I could resize the partition without problems using a live CD of gparted v0.30.0.



        However my laptop did not boot after the resizing. The grub got destroyed!!
        I solved this with a live CD of systemrescueCd. I restored the grub using the solution 2 from here.






        share|improve this answer












        As suggested in the comments a recent gparted live CD solved my problem. I could resize the partition without problems using a live CD of gparted v0.30.0.



        However my laptop did not boot after the resizing. The grub got destroyed!!
        I solved this with a live CD of systemrescueCd. I restored the grub using the solution 2 from here.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 16 at 8:23









        Victor Doors

        58119




        58119



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004038%2ferror-when-resizing-a-ext4-partition%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Which professions warranted travel in Medieval times?

            How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

            Trouble downloading packages list due to a “Hash sum mismatch” error