Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2000 00:23:23 -0700
From:      "Chris Wasser" <cwasser@v-wave.com>
To:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   EXT2FS Strangeness...
Message-ID:  <200002170721.AAA21615@crash.ab.videon.ca>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

cvsupped a 3.4-RELEASE to 3.4-STABLE (02/16/2000) got it all compiled
and installed, added EXT2FS option to the kernel, but when I try to
mount linux partitions I run into problems. Here's a dump of info:

FreeBSD xxxxxx.com 3.4-STABLE FreeBSD 3.4-STABLE #2: Wed Feb 16
22:52:52 MST 2000     tdf@xxxxxx.com:/usr/src/sys/compile/KATIE  i386

******* Working on device /dev/rwd0 *******
parameters extracted from in-core disklabel are:
cylinders=784 heads=255 sectors/track=63 (16065 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=784 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 5,(Extended DOS)
    start 63, size 8642907 (4220 Meg), flag 0
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 537/ sector 63/ head 254
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 11,(DOS or Windows 95 with 32 bit FAT)
    start 10490445, size 2104515 (1027 Meg), flag 80 (active)
        beg: cyl 653/ sector 1/ head 0;
        end: cyl 783/ sector 63/ head 254
The data for partition 4 is:
<UNUSED>

Now it says the first partition is an Extended Partition and that
it's DOS, this is infact a Linux partition, consisting of hda5,6,7
when I try mounting wd0s1 or wd0s1c or wd0s[5..7] as ext2fs, I get
the following:

ext2fs: dev 0x20002: wrong magic number 0xffff (expected 0xef53)
ext2fs: dev 0x20002: wrong magic number 0xffff (expected 0xef53)

If I try to mount it as -type msdos as fdisk thinks it is, I get
"msdos: invalid argument"

The second linux partition is as follows:

******* Working on device /dev/rwd1 *******
parameters extracted from in-core disklabel are:
cylinders=4982 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=4982 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131,(Linux filesystem)
    start 6409998, size 73625832 (35950 Meg), flag 0
        beg: cyl 399/ sector 1/ head 1;
        end: cyl 1023/ sector 63/ head 254
The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 63, size 2859507 (1396 Meg), flag 80 (active)
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 177/ sector 63/ head 254
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

When I try to mount wd1s1 or wd1s1c I get the following error
message(s) in syslogd after my attempts:

WARNING: R/W mount of dev 0x2000a denied due to unsupported optional
features
WARNING: R/W mount of dev 0x60002 denied due to unsupported optional
features
WARNING: R/W mount of dev 0x80002 denied due to unsupported optional
features

Now for the record, the FAT32 partition mounts fine, no problems, as
do all the BSD partitions ofcourse.

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.2

iQA/AwUBOKuh23kOgeFubyAgEQJ6qgCgsKPTCGcYoyVYLFE5Q+BAJize0fkAn3c/
qqe6eUkfQw7zcLCObDFZLTlf
=85lh
-----END PGP SIGNATURE-----




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002170721.AAA21615>