Error when resizing a ext4 partition

Clash 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?
partitioning gparted resize
add a comment |Â
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?
partitioning gparted resize
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 noresize4fs. 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
add a comment |Â
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?
partitioning gparted resize
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
partitioning gparted resize
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 noresize4fs. 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
add a comment |Â
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 noresize4fs. 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
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
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.
answered Feb 16 at 8:23
Victor Doors
58119
58119
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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