From owner-freebsd-questions@FreeBSD.ORG Sat Aug 2 16:51:19 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3443237B401 for ; Sat, 2 Aug 2003 16:51:19 -0700 (PDT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 22E6243F93 for ; Sat, 2 Aug 2003 16:51:18 -0700 (PDT) (envelope-from krylon@gmx.net) Received: (qmail 4015 invoked by uid 65534); 2 Aug 2003 23:51:14 -0000 Received: from B5e7a.pppool.de (HELO there) (213.7.94.122) by mail.gmx.net (mp025) with SMTP; 03 Aug 2003 01:51:14 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Benjamin Walkenhorst To: Daan Goedkoop , freebsd-questions@freebsd.org Date: Sun, 3 Aug 2003 01:50:22 +0200 X-Mailer: KMail [version 1.3.1] References: <200308022235.42665.daan@daang.ath.cx> In-Reply-To: <200308022235.42665.daan@daang.ath.cx> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20030802235118.22E6243F93@mx1.FreeBSD.org> Subject: Re: Mount NetBSD partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2003 23:51:19 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2. August 2003 22:35, Daan Goedkoop wrote: > Hello, > > On my IDE disk, I have two disk labels, one of FreeBSD and one from NetBSD. > Now that I want to change to NetBSD, I would like to copy my data from the > NetBSD /home partition to FreeBSD. > > However, only a device /dev/ad1s3 exists, with which I can only mount the / > of NetBSD. Does anyone know what I am doing wrong? Hello, Shouldn't the NetBSD-partitions show up like ad1s3a, s3b, ... ? Typically, sXa is /, sXb is swap, c and d are reserved, from there on it's up to you (e to p can be mounted wherever you want) - e is /usr, typically, but not necessarily. I am unsure, however, if corresponding device nodes have to exist, and which partition is identified by what letter from FreeBSD. FreeBSD ordinarily names the partitions by their order on the disk. NetBSD also has a - to my taste - excentric behaviour in naming partitions, much more untidy than with FreeBSD. NetBSD's / is always /dev/wdXa, no matter, at what position NetBSD's disklabel is on the disk (wd0a would be ad0s2a on FreeBSD). This shouldn't impact reading NetBSD's partitions from FreeBSD, though. Are they device nodes for each partition in your disklabel under FreeBSD? Hey, wait a moment, if you want to switch to NetBSD, why are you trying to move stuff from NetBSD's /home to your FreeBSD-disklabel (/home as well, I suppose)? Shouldn't it be the other way round? Or am I getting something wrong? In case you are really desperate, Linux reads disklabels from both Free- and NetBSD just fine; unless you use UFS2 with FreeBSD, that is (if you do, prepare for lots of funny read-errors...). It's just a little tricky to figure out what device-nodes to use for BSD's partitions, they typically show up like logical partitions in extended DOS partitions (/dev/hda5 and upwards) Hope it helps, kind regards, Benjamin - -- Benjamin Walkenhorst eMail: krylon@gmx.net homepage: http://www.krylon.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Public Key available at http://www.krylon.de iD8DBQE/LE5EoYumWdMvhMQRAjqVAJ9FK/BbjQjgyjC0Hd3Ud16P8UwCWQCgiS2r Sa3y9g6tAryPAxJnYGHGG0M= =uhLD -----END PGP SIGNATURE-----