From owner-freebsd-hackers Wed Nov 20 06:54:46 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA08948 for hackers-outgoing; Wed, 20 Nov 1996 06:54:46 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id GAA08939 for ; Wed, 20 Nov 1996 06:54:37 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id PAA10361; Wed, 20 Nov 1996 15:51:55 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id PAA04510; Wed, 20 Nov 1996 15:51:54 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id PAA16176; Wed, 20 Nov 1996 15:46:54 +0100 (MET) From: J Wunsch Message-Id: <199611201446.PAA16176@uriah.heep.sax.de> Subject: Re: Recuperating a DOS partition To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Wed, 20 Nov 1996 15:46:54 +0100 (MET) Cc: jpm@marben.be (Jean-Pierre Morant) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <3292FB29.63DE@marben.be> from Jean-Pierre Morant at "Nov 20, 96 01:35:53 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Jean-Pierre Morant wrote: > I've used fdisk to assign that partition to FreeBSD, > then edited the fstab so that /dev/wd1s1f (the next available partition > name) is seen as a swap partition. Are you confusing partitions and slices here? wd1s1f would be partition `f' on slice 1 on wd1. > The data for partition 0 is: > sysid 165,(FreeBSD/NetBSD/386BSD) > start 0, size 244160 (119 Meg), flag 80 > beg: cyl 0/ sector 1/ head 0; > end: cyl 1023/ sector 1/ head 0 This is slice 1. > The data for partition 1 is: > sysid 165,(FreeBSD/NetBSD/386BSD) > start 0, size 244160 (119 Meg), flag 0 > beg: cyl 0/ sector 0/ head 0; > end: cyl 447/ sector 1/ head 0 This is slice 2, i think that's what you're actually trying to use? If so, it's /dev/wd1s2 (eventually followed by a partition letter). I'm not sure whether swapping to partitions != `b' is supported now; it wasn't supported in historic versions. At least, it's the cleanest to stick with the traditional names, disklabel wd1s2, and assign the entire space there to the `b' partition. See also the (updated) section 2.15 of the FAQ for traditional partition naming conventions. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)