Fsck error after shrinking ext4 partition
Using Gparted on a live Ubuntu flash drive, I shrank the SSD partition on which my Ubuntu 18.10 installation sits. I did not move it to the right, just shrank it, leaving unused space to the right. It still had plenty of empty space even after the shrink.
Grub worked, I booted up, logged on to my user account, and had trouble launching programs.
I rebooted, and after grub, Ubuntu did not come up. I was staring at a purple screen with no text.
I rebooted into safe mode, and got a message like /dev/sda?: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
This issue is repeatable. Every time I shrank the disk, I had the same issue.
Eventually I ran fsck manually on the specified sda (don't remember which), and clicked "yes" every time, and that fixed it. No issues since then.
So my question is: why does this happen, and how can it be avoided?
dual-boot grub2 partitioning gparted
add a comment |
Using Gparted on a live Ubuntu flash drive, I shrank the SSD partition on which my Ubuntu 18.10 installation sits. I did not move it to the right, just shrank it, leaving unused space to the right. It still had plenty of empty space even after the shrink.
Grub worked, I booted up, logged on to my user account, and had trouble launching programs.
I rebooted, and after grub, Ubuntu did not come up. I was staring at a purple screen with no text.
I rebooted into safe mode, and got a message like /dev/sda?: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
This issue is repeatable. Every time I shrank the disk, I had the same issue.
Eventually I ran fsck manually on the specified sda (don't remember which), and clicked "yes" every time, and that fixed it. No issues since then.
So my question is: why does this happen, and how can it be avoided?
dual-boot grub2 partitioning gparted
No answers... am I just unlucky, and other people don't ever get errors like this after shrinking a Linux partition? If it would be boot error, I wouldn't be so surprised. But it was an error at a later stage, it prevented the OS from loading. For someone coming from Windows, that's weird.
– shmu
Jan 18 at 6:01
add a comment |
Using Gparted on a live Ubuntu flash drive, I shrank the SSD partition on which my Ubuntu 18.10 installation sits. I did not move it to the right, just shrank it, leaving unused space to the right. It still had plenty of empty space even after the shrink.
Grub worked, I booted up, logged on to my user account, and had trouble launching programs.
I rebooted, and after grub, Ubuntu did not come up. I was staring at a purple screen with no text.
I rebooted into safe mode, and got a message like /dev/sda?: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
This issue is repeatable. Every time I shrank the disk, I had the same issue.
Eventually I ran fsck manually on the specified sda (don't remember which), and clicked "yes" every time, and that fixed it. No issues since then.
So my question is: why does this happen, and how can it be avoided?
dual-boot grub2 partitioning gparted
Using Gparted on a live Ubuntu flash drive, I shrank the SSD partition on which my Ubuntu 18.10 installation sits. I did not move it to the right, just shrank it, leaving unused space to the right. It still had plenty of empty space even after the shrink.
Grub worked, I booted up, logged on to my user account, and had trouble launching programs.
I rebooted, and after grub, Ubuntu did not come up. I was staring at a purple screen with no text.
I rebooted into safe mode, and got a message like /dev/sda?: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
This issue is repeatable. Every time I shrank the disk, I had the same issue.
Eventually I ran fsck manually on the specified sda (don't remember which), and clicked "yes" every time, and that fixed it. No issues since then.
So my question is: why does this happen, and how can it be avoided?
dual-boot grub2 partitioning gparted
dual-boot grub2 partitioning gparted
asked Jan 17 at 10:00
shmushmu
1165
1165
No answers... am I just unlucky, and other people don't ever get errors like this after shrinking a Linux partition? If it would be boot error, I wouldn't be so surprised. But it was an error at a later stage, it prevented the OS from loading. For someone coming from Windows, that's weird.
– shmu
Jan 18 at 6:01
add a comment |
No answers... am I just unlucky, and other people don't ever get errors like this after shrinking a Linux partition? If it would be boot error, I wouldn't be so surprised. But it was an error at a later stage, it prevented the OS from loading. For someone coming from Windows, that's weird.
– shmu
Jan 18 at 6:01
No answers... am I just unlucky, and other people don't ever get errors like this after shrinking a Linux partition? If it would be boot error, I wouldn't be so surprised. But it was an error at a later stage, it prevented the OS from loading. For someone coming from Windows, that's weird.
– shmu
Jan 18 at 6:01
No answers... am I just unlucky, and other people don't ever get errors like this after shrinking a Linux partition? If it would be boot error, I wouldn't be so surprised. But it was an error at a later stage, it prevented the OS from loading. For someone coming from Windows, that's weird.
– shmu
Jan 18 at 6:01
add a comment |
0
active
oldest
votes
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110505%2ffsck-error-after-shrinking-ext4-partition%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110505%2ffsck-error-after-shrinking-ext4-partition%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
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
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
No answers... am I just unlucky, and other people don't ever get errors like this after shrinking a Linux partition? If it would be boot error, I wouldn't be so surprised. But it was an error at a later stage, it prevented the OS from loading. For someone coming from Windows, that's weird.
– shmu
Jan 18 at 6:01