免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 19871 | 回复: 20
打印 上一主题 下一主题

fdisk 错误怎么解决 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-10-21 11:22 |只看该作者 |倒序浏览
20可用积分
用fisk 进行分区,在write的时候报错

WARNING: Re-reading the partition table failed with error 22: 无效的参数.

最佳答案

查看完整内容

难道不是fdisk /dev/sdb吗?为什么是fdisk /dev/sdb1呢?!

论坛徽章:
0
2 [报告]
发表于 2009-10-21 11:22 |只看该作者
原帖由 bbjjqq 于 2009-10-21 11:30 发表
这个我式了,我是这样操作的
fdisk /dev/sdb1
o
w
然后还是提示上面的信息



难道不是fdisk /dev/sdb吗?为什么是fdisk /dev/sdb1呢?!

论坛徽章:
0
3 [报告]
发表于 2009-10-21 11:26 |只看该作者
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
4 [报告]
发表于 2009-10-21 11:29 |只看该作者
在线等

论坛徽章:
0
5 [报告]
发表于 2009-10-21 11:29 |只看该作者
这个报错是不是发生在你将一个fat32的分区格式化成linux分区的时候啊?


重启以后没有用吗?“The new table will be used at the next reboot.”这句话有吗?

[ 本帖最后由 zyp339025518 于 2009-10-21 11:31 编辑 ]

论坛徽章:
0
6 [报告]
发表于 2009-10-21 11:30 |只看该作者
这个我式了,我是这样操作的
fdisk /dev/sdb1
o
w
然后还是提示上面的信息

论坛徽章:
0
7 [报告]
发表于 2009-10-21 11:31 |只看该作者

回复 #4 zyp339025518 的帖子

是的

论坛徽章:
0
8 [报告]
发表于 2009-10-21 11:32 |只看该作者
哦,只要达到目的就行,没有图形分区工具吗?

论坛徽章:
0
9 [报告]
发表于 2009-10-21 11:33 |只看该作者
没用过,linux下有自带的吗

论坛徽章:
0
10 [报告]
发表于 2009-10-21 11:40 |只看该作者
你是什么版本的linux有的,partition  editor就是图形界面的,还蛮好用的!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP