Subject: Re: [Ext2 Mount] Newbie Question
To: William Pomian <willish@free.fr>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 04/21/2001 14:52:37
On Sat, Apr 18, 2020 at 10:40:53AM +0200, William Pomian wrote:
> Hello, I'm new user and I have a little pbm to mount an existing ext2 partition
>
> I have on the same HD (46Go) in this order
> - a 4Go partition for NetBSD
> - a 42Go partition of data in ext2 format
>
> [...]
> > # size offset fstype [fsize bsize cpg]
> > a: 1091601 63 4.2BSD 1024 8192 16 # (Cyl. 0*- 1082)
> > b: 2099664 1091664 swap # (Cyl. 1083 - 3165)
> > c: 8191953 63 unused 0 0 # (Cyl. 0*- 8126)
> > d: 90069840 0 unused 0 0 # (Cyl. 0 - 89354)
> > e: 5000688 3191328 System V # (Cyl. 3166 - 8126)
Why is partition e of type "System V" ?
Anyway, you need to add another ( e.g. 'f') partition to your disklabel,
matching your ext2 partition. For this use fdisk to find start and size of
the ext2 partition, and add this to the disklabel with 'disklabel -e'
The fstype should be 'Linux Ext2' but as there's a space it may not
be possible to add it with 'disklabel -e'. In this case, use
4.2BSD as fstype instead, and change it to Linux Ext2 using 'disklabel -i'
later.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--