Date: Sat, 14 Sep 2002 10:37:10 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Peter Leftwich <Hostmaster@Video2Video.Com> Cc: FreeBSD LIST <FreeBSD-Questions@FreeBSD.ORG> Subject: Re: disklabel -W /dev/ad1 error Message-ID: <20020914093710.GA46500@happy-idiot-talk.infracaninophi> In-Reply-To: <20020913205904.K33339-100000@earl-grey.cloud9.net> References: <20020913205904.K33339-100000@earl-grey.cloud9.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 13, 2002 at 09:00:04PM -0400, Peter Leftwich wrote: > myprompt$ disklabel -W /dev/ad1 > disklabel: ioctl DIOCWLABEL: Operation not supported by device > > After the above, these next commands won't work right. Please help > someone? disklabel usually operates on a disk slice, rather than a whole disk: ie. disklabel -R -r /dev/ad1s1 /tmp/disklabel.out The only reason to run disklabel against a whole disk is when you want to create a 'dangerously dedicated' disk. In general, you don't want to do that: the usual slice/partition setup works very much better, is supported by every BIOS compatible with FreeBSD and the difference in usable space is trivially small compared to the size of a modern hard drive. To make a second disk bootable, use fdisk(8) and/or boot0cfg(8) --- the precise combination required depends on how many different OS's and disk drives you need to have bootable. This section of the handbook is pertinent: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK 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?20020914093710.GA46500>