免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2688 | 回复: 3

[其它] fdisk的segment,求助! [复制链接]

论坛徽章:
0
发表于 2014-02-24 14:48 |显示全部楼层
5可用积分
本帖最后由 anlan_cs 于 2014-02-24 14:49 编辑

# fdisk -l  查看是ok的

Disk /dev/sda: 8195 MB, 8195604480 bytes
119 heads, 4 sectors/track, 33628 cylinders
Units = cylinders of 476 * 512 = 243712 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               5       33629     8002496  83 Linux

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table



# fdisk /dev/sdb 执行fdisk就出问题了。。。

Device contains [   25.890003] fdisk[101]: segfault at 808604c ip 000000000807f9c4 sp 00000000ffdd2cf4 error 7neither a valid  in busybox[8048a
ble, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.


The number of cylinders for this disk is set to 60801.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Segmentation fault





咋fdisk 还能segment?

最佳答案

查看完整内容

自己编译一个fdisk,不使用busybox的试试ftp://ftp.gnu.org/gnu/fdisk

论坛徽章:
22
丑牛
日期:2014-08-15 14:32:0015-16赛季CBA联赛之同曦
日期:2017-12-14 15:28:14黑曼巴
日期:2017-08-10 08:14:342017金鸡报晓
日期:2017-02-08 10:39:42黑曼巴
日期:2016-11-15 15:48:38CU十四周年纪念徽章
日期:2016-11-09 13:19:1015-16赛季CBA联赛之同曦
日期:2016-04-08 18:00:03平安夜徽章
日期:2015-12-26 00:06:30程序设计版块每日发帖之星
日期:2015-12-03 06:20:002015七夕节徽章
日期:2015-08-21 11:06:17IT运维版块每日发帖之星
日期:2015-08-09 06:20:002015亚冠之吉达阿赫利
日期:2015-07-03 08:39:42
发表于 2014-02-24 14:48 |显示全部楼层
自己编译一个fdisk,不使用busybox的试试
ftp://ftp.gnu.org/gnu/fdisk

论坛徽章:
0
发表于 2014-02-25 16:18 |显示全部楼层
好高端。回复 2# amarant


   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP