Ticket #66 (assigned 缺陷(BUG))
关于fdisk问题
Reported by: | hu33407285 | Owned by: | lintel |
---|---|---|---|
Priority: | 重要(major) | Milestone: | |
Component: | 内核(Kernel) | Severity: | |
Keywords: | fdisk,system,paratition | Cc: |
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:2 Changed 20 months ago by lintel
- Owner changed from hu33407285 to lintel
- Status changed from new to assigned
建议你先清空你的MBR:
dd if=/dev/zero of=/dev/sda bs=512 count=1
然后重新分区。