关于fdisk问题

Ticket #66 (assigned 缺陷(BUG))

Opened 20 months ago

Last modified 20 months ago

关于fdisk问题

Reported by:hu33407285Owned by:lintel
Priority:重要(major)Milestone: 
Component:内核(Kernel)Severity: 
Keywords:fdisk,system,paratitionCc: 

Description

利用trunk源编译的固件不能正确挂载朗科的onlydisk盘,磁盘信息如下:

Disk /dev/sda: 4002 MB, 4002414592 bytes
124 heads, 62 sectors/track, 1016 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Disk identifier: 0x6f20736b

This doesn't look like a partition table
Probably you selected the wrong device.

Device Boot Start End Blocks Id System

/dev/sda1 ? 101215 249694 570754815+ 72 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):

phys=(357, 116, 40) logical=(101214, 43, 11)

Partition 1 has different physical/logical endings:

phys=(357, 32, 45) logical=(249693, 92, 51)

Partition 1 does not end on cylinder boundary.
/dev/sda2 ? 21942 273767 968014120 65 Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):

phys=(288, 115, 43) logical=(21941, 114, 47)

Partition 2 has different physical/logical endings:

phys=(367, 114, 50) logical=(273766, 76, 42)

Partition 2 does not end on cylinder boundary.
/dev/sda3 ? 243221 495046 968014096 79 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):

phys=(366, 32, 33) logical=(243220, 98, 30)

Partition 3 has different physical/logical endings:

phys=(357, 32, 43) logical=(495045, 59, 39)

Partition 3 does not end on cylinder boundary.
/dev/sda4 ? 375349 375356 27749+ d Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):

phys=(372, 97, 50) logical=(375348, 92, 25)

Partition 4 has different physical/logical endings:

phys=(0, 10, 0) logical=(375355, 119, 33)

Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order
我觉得可能是fdisk对分区表的读写问题或者是e2fsprogs格盘的问题,请问下该怎样修改源码?另外多问一句网上贴中关于“openwrt挂载usb”中提到要挂载cifs,这个有必要吗?

Change History

comment:1 Changed 20 months ago by lintel

建议你先清空你的MBR:

dd if=/dev/zero of=/dev/sda bs=512 count=1

然后重新分区。

comment:2 Changed 20 months ago by lintel

  • Owner changed from hu33407285 to lintel
  • Status changed from new to assigned

comment:3 Changed 20 months ago by hu33407285

lintel大大,再请问下这个除了重新分区还有别的办法没?(这个盘再ubuntu系统下可正常读取)请问修改哪个配置文件来满足能正常读取这类USB设备呢?
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值