为了账号安全,请及时绑定邮箱和手机立即绑定

我把U盘插上分区后最后W保存后发现有以下警告,是什么问题呀?

WARNING :Re-reading the partition table dailed with error 22:无效的参数
The kernel still uses the old table.The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8)syncing disks.

谢谢,是提示需要重启后才能使用新的分区吗?

正在回答

1 回答

貌似因为 U盘是 fat32的。所以你在分区的选项之前先输入 o ,在输入w ,接下来再按视屏上的操作就可以了。以下是我网上看到的解决方法:

How To Fix "Warning: Re-reading the partition table failed with error 22: Invalid argument" Error on Linux
If you are getting the following error while trying to change the default fat32 partition on a new drive to another linux partition type, I might have the answer for you.
This is the error that you keep getting:
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
Here's the way to fix it, noting that this will wipe your drive. Start up fdisk for the appropriate drive (may not be /dev/sde for you)
fdisk /dev/sde
Then use the "o" option, which according to the menu is:
   o   create a new empty DOS partition table
Now write the changes to disk with "w", and then open up fdisk again. Now you can create your partition.
Don't forget to actually create the filesystem for your new partition, which can be done with "mkfs". You can also use the shortcut method like this:
mkfs.reiserfs /dev/sde1
The nice thing is that the shortcut is easy to type with command line completion.

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

我把U盘插上分区后最后W保存后发现有以下警告,是什么问题呀?

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信