赞
踩
分区 读取参数错误
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.
如果在尝试将新驱动器上的默认fat32分区更改为另一Linux分区类型时遇到以下错误,我可能会为您提供答案。
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.
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)
fdisk /dev/sde
Then use the “o” option, which according to the menu is:
然后使用“ o”选项,根据菜单,该选项为:
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.
现在,使用“ w”将更改写入磁盘,然后再次打开fdisk。 现在,您可以创建分区了。
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”完成。 您也可以使用以下快捷方式:
mkfs.reiserfs /dev/sde1
mkfs.reiserfs /dev/sde1
The nice thing is that the shortcut is easy to type with command line completion.
令人高兴的是,快捷方式很容易通过命令行完成键入。
分区 读取参数错误
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。