NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-i386/42483: fdisk can not be used on 1.5TB disks



>Number:         42483
>Category:       port-i386
>Synopsis:       fdisk can not be used on 1.5TB disks
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 20 14:50:00 +0000 2009
>Originator:     Bernd Ernesti
>Release:        NetBSD 5.0_STABLE
>Organization:
>Environment:
System: netbsd-5 20091215
Architecture: i386
Machine: i386
>Description:
        I want to change the defautl start value from 63 to a multiple of 4, but
        fdisk does not accept that with a 1.5 TB disk.
>How-To-Repeat:
        Run fisk for a 1.5TB disk and try to change the start sector:

# fdisk -u wd4
fdisk: primary partition table invalid, no magic in sector 0
fdisk: Cannot determine the number of heads
Disk: /dev/rwd4d
NetBSD disklabel disk geometry:
cylinders: 2907021, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 2930277168

BIOS disk geometry:
cylinders: 1024, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 2930277168

Do you want to change our idea of what BIOS thinks? [n] 

Partition table:
0: <UNUSED>
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Bootselector disabled.
No active partition.
Which partition do you want to change?: [none] 0
The data for partition 0 is:
<UNUSED>
sysid: [0..255 default: 169] 
start: [0..182401cyl default: 63, 0cyl, 0MB] 2048
2048 is not between 0 and -1364690128.


>Fix:
        - Allow changing the start value for disks > 2^31 sectors
or
        - At least change the default from 63 to a multiple of 4
          e.g. 2048 which is now used by Windows



Home | Main Index | Thread Index | Old Index