Score:0

Error: Attempt to read or write outside of partition after partitioning [fixed]

vi flag

I was partitioning my main drive from the command line on a USB drive, and used parted to take 75gb off the end of the main partition, when I had 100GB free. That was a success, and I was able to install OpenSUSE on the new partition, however now when I boot into Ubuntu (22.04) it gives the error message: Error: attempt to read or write outside of partition Press any key to continue After that, it prints out a block of text beginning Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) and ends with a very similar message but beginning with End kernel panic

Upon running fsck, it prints another error message Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.

Unfortunately, a fresh install is not an option, so any help would be much appreciated.

Fixed now, thanks.

guiverc avatar
cn flag
Have you booted a *live* system and checked you have no partition problems (corrupted file-systems etc.. ie. performing *file-system checks* using `fsck` or whichever command is appropriate for your file-systems; `fsck` only applies to some don't forget, with OpenSuSE defaulting to BTRFS).
garbelerian avatar
vi flag
The issue seems to be that I didn't correctly resize the filesystem to match the size of the new partition, and it is now too large.
ar flag
Please delete the question. Or you may want to write an answer if you think others can learn from your mistake.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.