/dev/sdf4パーティションのスペースをSDカードの最後まで拡張するには? resize2fsまたはgpartedが正しく機能しません。

/dev/sdf4パーティションのスペースをSDカードの最後まで拡張するには? resize2fsまたはgpartedが正しく機能しません。

Ubuntu 22.04ディストリビューションにインストールされているSDカードの/dev/sdf4パーティションのサイズを変更したいと思います。これを行うには2つの方法を試しました。

  1. resizefsコマンドを使用しましたが失敗しました。

mario@Z390-AORUS-PRO-DEST:/media/ziomario/Elements/Backup/ChromeBook# resize2fs /dev/sdf4 resize2fs 1.46.5(2021年12月30日)。ファイルシステムの長さはすでに1174779(4k)ブロックです。やることがない!

  1. 私はgpartedを試しましたが、それも失敗しました。これが私がしたことです:

1 :拡張したいパーティションです...

2 :4589年から180577年まで...

サム :…ご覧のとおり、現在の設定を続行するかどうかを尋ねるメッセージが表示されます。 「はい」と答えると、パーティションのサイズは変更されません。 「いいえ」と答えるとパーティションのサイズが変更され、表示されたエラーが修正されますが、SDカードをネットブックに挿入すると、SDカードに取り付けられているubuntuは起動しません。

パーティションのサイズを変更しようとすると、次のことが発生します。

https://ibb.co/5My7q7s

sdf4 のサイズを変更したり、未割り当て領域に新しい ext4 パーティションを作成したりすることはできません。

https://ibb.co/FqskSSh

https://ibb.co/3k8dnYZ

端末に表示されるログメッセージは次のとおりです。

mario@Z390-AORUS-PRO-DEST:/media/ziomario/Elements/Backup/ChromeBook# gparted /dev/sdf
GParted 1.3.1
configuration --enable-libparted-dmraid --enable-online-resize
libparted 3.4
Not all of the space available to /dev/sdf appears to be used, you can fix the GPT to use all of the space (an extra 369821696 blocks) or continue with the current setting? 
Not all of the space available to /dev/sdf appears to be used, you can fix the GPT to use all of the space (an extra 369821696 blocks) or continue with the current setting? 

** (gpartedbin:44337): WARNING **: 20:16:57.049: invalid substitution "%s" in fmt string "percorso: %1 (%s)"
Not all of the space available to /dev/sdf appears to be used, you can fix the GPT to use all of the space (an extra 369821696 blocks) or continue with the current setting? 
Unable to satisfy all constraints on the partition.
Not all of the space available to /dev/sdf appears to be used, you can fix the GPT to use all of the space (an extra 369821696 blocks) or continue with the current setting? 
Not all of the space available to /dev/sdf appears to be used, you can fix the GPT to use all of the space (an extra 369821696 blocks) or continue with the current setting? 
Not all of the space available to /dev/sdf appears to be used, you can fix the GPT to use all of the space (an extra 369821696 blocks) or continue with the current setting?

ベストアンサー1

おすすめ記事