Date: Mon, 25 Jan 1999 21:44:03 -0500 (EST) From: Spike <spork@ix.netcom.com> To: cjclark@home.com Cc: sporkl@ix.netcom.com, freebsd-questions@FreeBSD.ORG Subject: Re: Deletion of windows and subsequent reformatting Message-ID: <Pine.BSF.4.05.9901252142080.271-100000@PigStuy.nws.net> In-Reply-To: <199901260239.VAA10644@cc942873-a.ewndsr1.nj.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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: <UNUSED> The data for partition 4 is: <UNUSED> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9901252142080.271-100000>