Date: Wed, 20 Nov 1996 15:46:54 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-hackers@freebsd.org (FreeBSD hackers) Cc: jpm@marben.be (Jean-Pierre Morant) Subject: Re: Recuperating a DOS partition Message-ID: <199611201446.PAA16176@uriah.heep.sax.de> In-Reply-To: <3292FB29.63DE@marben.be> from Jean-Pierre Morant at "Nov 20, 96 01:35:53 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611201446.PAA16176>