Subject: Re: [Ext2 Mount] Newbie Question
To: Webmaster Jim <jspath@bcpl.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 04/22/2001 14:51:30
On Sat, Apr 21, 2001 at 05:16:38PM -0400, Webmaster Jim wrote:
> [...]
> 
> Disk /dev/hdb: 255 heads, 63 sectors, 2489 cylinders
> Units = cylinders of 16065 * 512 bytes
> 
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hdb1             1      1024   8225248+   c  Win95 FAT32 (LBA)
> /dev/hdb2          1025      1793   6176991+  a9  Unknown
> /dev/hdb3          1794      2489   5590620    5  Extended
> /dev/hdb5          1794      1796     24066   83  Linux
> /dev/hdb6          1797      1813    136521   82  Linux swap
> /dev/hdb7          1814      2489   5429938+  83  Linux
> 
> [...]
>   h: 10744272 29256192 Linux Ext2        0     0         # (Cyl. 29024 - 39682)

rochebonne#/usr/src/lost+found>expr 1814 \* 16065
29141910
rochebonne#/usr/src/lost+found>expr 2489 - 1814
675
rochebonne#/usr/src/lost+found>expr 675 \* 16065
10843875

So I think your 'h' partition should looks like:
h: 10843875 29141910 Linux Ext2        0     0         # (Cyl. 29024 - 39682)

BTW, you should be able to change the unit to sector in linux's fdisk :)

--
Manuel Bouyer <bouyer@antioche.eu.org>
--