Subject: mounting extended linux partitions
To: None <netbsd-help@netbsd.org>
From: Wayne Cuddy <wcuddy@crb-web.com>
List: netbsd-help
Date: 02/06/2002 08:55:48
I have Debian Linux and NetBSD 1.5.2 both installed on my Laptop.  Here is the
Linux fdisk output of the partition table on the 1st harddisk.
----
Disk /dev/hda: 240 heads, 63 sectors, 2584 cylinders
Units = cylinders of 15120 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1         5     31216+  83  Linux
Partition 1 does not end on cylinder boundary:
     phys=(4, 31, 63) should be (4, 239, 63)
/dev/hda2             5      1305   9828504   a9  Unknown
/dev/hda4          1305      2584   9671256    5  Extended
/dev/hda5          1305      1576   2048224+  83  Linux
/dev/hda6          1576      1915   2560288+  83  Linux
/dev/hda7          1915      2186   2048224+  83  Linux
/dev/hda8          2186      2203    131512+  82  Linux swap
----

As displayed the NetBSD partition is /dev/hda2,  /dev/hda1 is the Linux /boot
partition, the rest of the Linux system is in /dev/hda4..  If I want to mount
he Linux partitions /dev/hda[5-8] what devices files should I specify to
mount_ext2fs?

Thanks,
Wayne