Subject: Re: NetBSD installation
To: None <port-i386@netbsd.org>
From: Georges Heinesch <geohei-ml@geohei.lu>
List: port-i386
Date: 09/15/2001 17:31:22
Quoting Manuel Bouyer (09-Sep-01 21:02:43):
> On Sun, Sep 09, 2001 at 06:21:48PM +0100, Georges Heinesch wrote:
>> I partitioned my harddisk following the NetBSD-i386 installation
>> program. The installation worked fine, and the NetBSD is now
>> properly installed.
>>
>> However when booting up from WinNT, PartitionInfo (part of
>> Powerquest's PartitionMagic) reported error:
>>
>> The EndCylinder is past the end of the drive (it is 5606 and should
>> be
>> 5605).
>>
>> It seems to be a problem with the NetBSD partitioning tool.
>>
>> - Did somebody also encounter this problem?
> No. What's the output of fdisk ?
----- cut here -----
NetBSD disklabel disk geometry:
cylinders: 16383 heads: 16 sectors/track: 63 (1008 sectors/cylinder)
BIOS disk geometry:
cylinders: 1023 heads: 255 sectors/track: 63 (16065 sectors/cylinder)
Partition table:
0: sysid 23 (OS/2 BM: hidden IFS)
start 63, size 4192902 (2047 MB), flag 0x0
beg: cylinder 0, head 1, sector 1
end: cylinder 260, head 254, sector 63
1: sysid 15 (Ext. partition - LBA)
start 8385930, size 25350570 (12378 MB), flag 0x0
beg: cylinder 522, head 0, sector 1
end: cylinder 1023, head 254, sector 63
2: sysid 27 (unknown)
start 4192965, size 4192965 (2047 MB), flag 0x80
beg: cylinder 261, head 0, sector 1
end: cylinder 521, head 254, sector 63
3: <UNUSED>
----- cut here -----
>> - How can I get the MBR correct again?
> fdisk -u wd0 will allow you to change the CHS of the partition,
> without changing its LBA. But make sure PartitionInfo is rigth
> before :)
Before I change something and regret it afterwards, I would like to
know exactly what goes on here.
What can I do to fix the problem?
If you need further details, please let me know.
(I have only one shot) ;)
Many thanks!
--
Cu Georges Heinesch, Luxembourg
geohei@geohei.lu
http://www.geohei.lu
PGP RSA & DH/DSS public key on request and on public servers
... have a plan and make it work ...