Date: Wed, 20 Nov 1996 13:35:53 +0100 From: Jean-Pierre Morant <jpm@marben.be> To: freebsd-hackers@freebsd.org Subject: Recuperating a DOS partition Message-ID: <3292FB29.63DE@marben.be>
next in thread | raw e-mail | index | archive | help
Hello !
being a bit short on swap space I would like to reuse a DOS
partition on my wd1 (second ESDI) disk.
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.
Apaprently there is a step inbetween that I'm missing : how to tell
FreeBSD that the second (nr 1) partition on disk wd1 should be used as
/dev/wd1s1f ?
Do anybody know what I'm forgetting ?
Thanks
ADDITIONNAL INFO
=====
Now, if I type swapon -a
I get : swapon: /dev/wd1s1f: Device not configured
fdisk /dev/wd1
tells me that :
******* Working on device /dev/wd1 *******
parameters extracted from in-core disklabel are:
cylinders=244160 heads=1 sectors/track=1 (1 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=244160 heads=1 sectors/track=1 (1 blks/cyl)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
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
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
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
where partition 0 is another file system mounted and used as :
/dev/wd1s1e on /tmp (local)
--
Jean-Pierre Morant
c/o MARBEN S.A./N.V. La vie serait tellement
Boulevard du Souverain,400, Vorstlaan plus facile
1160 Bruxelles Si seulement
Belgium nous avions les sources....
+ 32 2 663 1130 (phone)
+ 32 2 663 1199 (fax)
http://www.marben.be
jpm@marben.be
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3292FB29.63DE>
