From owner-freebsd-questions Mon Jan 25 18:45:58 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA06579 for freebsd-questions-outgoing; Mon, 25 Jan 1999 18:45:58 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from PigStuy.nws.net (nyc-ny70-37.ix.netcom.com [209.109.226.165]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA06571 for ; Mon, 25 Jan 1999 18:45:53 -0800 (PST) (envelope-from spork@ix.netcom.com) Received: from localhost (spork@localhost) by PigStuy.nws.net (8.9.2/8.8.7) with ESMTP id VAA00624; Mon, 25 Jan 1999 21:44:06 -0500 (EST) (envelope-from spork@ix.netcom.com) X-Authentication-Warning: PigStuy.nws.net: spork owned process doing -bs Date: Mon, 25 Jan 1999 21:44:03 -0500 (EST) From: Spike X-Sender: spork@PigStuy.nws.net Reply-To: sporkl@ix.netcom.com To: cjclark@home.com cc: sporkl@ix.netcom.com, freebsd-questions@FreeBSD.ORG Subject: Re: Deletion of windows and subsequent reformatting In-Reply-To: <199901260239.VAA10644@cc942873-a.ewndsr1.nj.home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- On Mon, 25 Jan 1999, Crist J. Clark wrote: > Spike wrote, > > > I just deleted Winblows 95 off my hard drive. I'm very happy about this, > > but would like to reclaim the space for FreeBSD. > > > > My FreeBSD resides in /dev/sd0s2[abef] and my winblows used to live in > > /dev/sd0s1. "newfs /dev/sd0s1" results in: > > > > PigStuy# newfs /dev/sd0s1 > > newfs: /dev/sd0s1: not a character-special device > > newfs: ioctl (GDINFO): Invalid argument > > newfs: /dev/sd0s1: can't read disk label; disk type must be specified > > > > How do I re-format the ex-winblows part of my hard drive so FreeBSD can > > use it? > > You need to label the 'disk.' (Remeber a DOS partition is a FreeBSD > slice, and that FreeBSD partitions live in one slice.) See 'man > disklabel.' In a sense, FreeBSD treats a slice like a whole disk. "disklabel -r /dev/sd0s1" reports: disklabel: bad pack magic number (label is damaged, or pack is unlabeled) This doesn't make much sense to me. I wish to partition the entire thing in to a FreeBSD filesystem partition (no swap). "fdisk -t /dev/sd0" reports: ******* Working on device /dev/sd0 ******* parameters extracted from in-core disklabel are: cylinders=522 heads=255 sectors/track=63 (16065 blks/cyl) parameters to be used for BIOS calculations are: cylinders=522 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 6,(Primary 'big' DOS (> 32MB)) start 63, size 4192902 (2047 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 260/ sector 63/ head 254 The data for partition 2 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 4192965, size 4192965 (2047 Meg), flag 80 (active) beg: cyl 261/ sector 1/ head 0; end: cyl 521/ sector 63/ head 254 The data for partition 3 is: The data for partition 4 is: > > Think about how you might want to repartition your disk. > -- > Crist J. Clark cjclark@home.com > > -Spike Gronim sporkl@ix.netcom.com The majority only rules those who let them. -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQCVAwUBNq0r9Z31G6IEwnwxAQECEAP+OojIy0dBjwE/0moO8yZv0F0X81hszuRj Fh/3LUv4RfXNFaZolGCIe4X1J5XwlqgP7Whig+jBH4RyUTNKNfbHwW2yXIPiIjvW cAW+5tZ7OnU8WM8h4ZczEo8dVQ/6OgCrEUN17kQe21+aKf2LC0HcDR7AgPnZh2Qj xUujyMrumNY= =g+/F -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message