Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 1996 18:47:29 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        "Jesus A. Mora Marin" <amora@obelix.cica.es>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Creating a second freebsd slice
Message-ID:  <Pine.BSI.3.94.960903184439.223F-100000@gdi.uoregon.edu>
In-Reply-To: <199609030831.KAA09370@obelix.cica.es>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 3 Sep 1996, Jesus A. Mora Marin wrote:

> ******* Working on device /dev/rwd0 *******
> parameters extracted from in-core disklabel are:
> cylinders=525 heads=64 sectors/track=63 (4032 blks/cyl)
> 
> parameters to be used for BIOS calculations are:
> cylinders=525 heads=64 sectors/track=63 (4032 blks/cyl)
> 
> Warning: BIOS sector numbering starts with sector 1
> Information from DOS bootblock is:
> The data for partition 0 is:
> sysid 6,(Primary 'big' DOS (> 32MB))
>     start 63, size 1056321 (515 Meg), flag 0
> 	beg: cyl 0/ sector 1/ head 1;
> 	end: cyl 261/ sector 63/ head 63
> The data for partition 1 is:
> sysid 131,(Linux filesystem)
>     start 1620864, size 491904 (240 Meg), flag 80
> 	beg: cyl 402/ sector 1/ head 0;
> 	end: cyl 523/ sector 63/ head 63
> The data for partition 2 is:
> sysid 165,(FreeBSD/NetBSD/386BSD)
>     start 1056384, size 564480 (275 Meg), flag 0
> 	beg: cyl 262/ sector 1/ head 0;
> 	end: cyl 401/ sector 63/ head 63
> The data for partition 3 is:
> <UNUSED>
> 
> I wanna get rid of the Linux slice and create a second slice for FreeBSD. The
> questions are?
> 1) Is this possible?

Certainly.  You'll have to watch the referenced slice in the canocial name
(wd0s?a), but you should be able to work it no problem.

> 2) If so, is needed to use disklabel for anything? Or I must simply use fdisk
> to delete the Linux slice and create a new FreeBSD slice, and newsf then? Any
> caveat to keep in mind?

You'll need to add your new slice to the disklabel so you have a way of
referencing it.  (ie make it wd0f or whatever is available)  I'm not sure
how to do this (disklabel -e?).  Perhaps someone with experience can jump
in and right us both.

> Er, BTW, FreeBSD version is 2.2-960326SNAP.

You're a bit behind the times.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960903184439.223F-100000>