From owner-freebsd-questions Wed Feb 16 23:21:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id 51B6237B5CE for ; Wed, 16 Feb 2000 23:21:34 -0800 (PST) (envelope-from cwasser@v-wave.com) Received: from crash.ab.videon.ca (crash.ab.videon.ca [206.75.216.220]) by builder.freebsd.org (Postfix) with ESMTP id E30A1132FE for ; Wed, 16 Feb 2000 23:20:52 -0800 (PST) Received: from area51 (area51.v-wave.com [24.108.26.39]) by crash.ab.videon.ca (8.9.2/8.9.2) with SMTP id AAA21615 for ; Thu, 17 Feb 2000 00:21:32 -0700 (MST) Message-Id: <200002170721.AAA21615@crash.ab.videon.ca> From: "Chris Wasser" To: "freebsd-questions@FreeBSD.ORG" Date: Thu, 17 Feb 2000 00:23:23 -0700 Reply-To: "Chris Wasser" X-Mailer: PMMail 2000 Professional (2.10.2010) For Windows 98 (4.10.2222) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: EXT2FS Strangeness... Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----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: 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: 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: The data for partition 4 is: 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