From owner-freebsd-questions Sat Sep 2 0:40: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from desh.cse.iitd.ernet.in (mailer.cse.iitd.ac.in [202.141.68.3]) by hub.freebsd.org (Postfix) with ESMTP id B394037B43C for ; Sat, 2 Sep 2000 00:40:01 -0700 (PDT) Received: from cse.iitd.ernet.in (root@basant.cse.iitd.ernet.in [10.20.14.19]) by desh.cse.iitd.ernet.in (8.8.7/8.8.7) with ESMTP id NAA28540 for ; Sat, 2 Sep 2000 13:12:55 +0530 Received: from localhost (csu96154@localhost) by cse.iitd.ernet.in (8.9.3/8.9.3) with ESMTP id NAA01922 for ; Sat, 2 Sep 2000 13:12:56 +0530 X-Authentication-Warning: basant.cse.iitd.ernet.in: csu96154 owned process doing -bs Date: Sat, 2 Sep 2000 13:12:56 +0530 (IST) From: Rakhesh Sasidharan X-Sender: csu96154@basant.cse.iitd.ernet.in To: freebsd-questions@freebsd.org Subject: Accessing OpenBSD-2.7 partitions from FreeBSD-3.4 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have a setup in my machine as follows: Slice3 -> OpenBSD Slice4 -> FreeBSD I had installed FreeBSD first, and then OpenBSD. After installing OpenBSD, I booted into FreeBSD to try and access the OpenBSD partitions from there. $ disklabel wd0s3 disklabel: ioctl DIOCGDINFO: Invalid argument $ disklabel -r wd0s3 # /dev/rwd0s3c: (snip) bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 sectors/unit: 33683328 (snip) 16 partitions: # size offset fstype [fsize bsize bps/cpg] a: 71680 8456466 4.2BSD 1024 8192 16 # (Cyl. 8389*- 8460*) b: 272624 14850322 swap # (Cyl. 14732*- 15002*) c: 33683328 0 unused 0 0 # (Cyl. 0 - 33415) d: 4755456 9992466 4.2BSD 1024 8192 16 # (Cyl. 9913*- 14630*) e: 51200 8528146 4.2BSD 1024 8192 16 # (Cyl. 8460*- 8511*) f: 1413120 8579346 4.2BSD 1024 8192 16 # (Cyl. 8511*- 9913*) However, I try to access wd0s3a, and it gives me the following error: $ mount /dev/wd0s3a /mnt/ mount: /dev/wd0s3a on /mnt: incorrect super block Why ? What is wrong ? From what I experimented around with, (and my own limited knowledge from that), I feel it is because FreeBSD is getting confused with the offsets of partitions 'a' etc. FreeBSD expects offsets relative to the slice, but these are all absolute. I tried changing the offset to '0', but disklabel gave an error that there is 'No space left on device.' I even tried changing things like the offsets and sizes of 'c' and the number of sectors/unit etc. -- but all of them ended up in failures. Please help. TIA. Rakhesh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message