Subject: Re: NetBSD installation
To: None <port-i386@netbsd.org>
From: Georges Heinesch <geohei-ml@geohei.lu>
List: port-i386
Date: 09/19/2001 06:12:40
Hi.
Quoting Georges Heinesch (09-Sep-01 18:21:48):
> 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?
> - How can I get the MBR correct again?
> TIA
Ok, I reformulate the questions somewhat:
1. Is there anything wrong with this fdisk output?
----- 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 -----
2. This is the PartitionInfo output of the NetBSD partition:
----- cut here -----
Error #109: Partition ends after end of disk.
ucEndCylinder (5606) must be less than 5606.
Info: Partition didn't end on cylinder boundary.
ucEndHead expected to be 254, not 149.
16,065 0 00 1 1 1 07 1023 254 63 16,128 20,482,812
Info: End C,H,S values were large drive placeholders.
Actual values are:
16,065 0 00 1 1 1 07 1275 254 63 16,128 2,0482,812
----- cut here -----
Here, some things don't work properly.
2 problems show up:
1. the EndCyl is 1 cyl too high exceeding the physical end of the
drive.
2. The head count seems to be wrong (149 instead of 254).
Questions:
1. Is PartitionInfo reading this info from the MBR?
2. Where is fdisk gathering its information from?
(also from the MBR?)
3. Can I safely fix the problem with a Winxx tool?
(if yes, which one?)
This problem only occured after I installed NetBSD at the very end of
this 43 GB drive. I need to get rid of the problem in order to
resize/move partitions ahead of the NetBSD partition, which is at the
very end of the drive (the last 4 GB).
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
... watch your 6 ...