Date: Wed, 01 Mar 2000 11:11:35 -0800 From: Mike Smith <msmith@freebsd.org> To: Marc Frajola <marc@enginet.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: How to fdisk/disklabel whole disk for FreeBSD from command line? Message-ID: <200003011911.LAA00739@mass.cdrom.com> In-Reply-To: Your message of "Wed, 01 Mar 2000 01:05:31 PST." <200003010905.BAA16360@enginet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > What are you using for your command lines? You have to target the > > disklabel specifically at slice 1 on the disk otherwise disklabel will > > think you're trying to overwrite the slice table and get mad. > > Here's what I did: > > fdisk -e /dev/rda1 > disklabel -r -w da1 auto > > The disklabel command gives 'disklabel: No space left on device'. This is nonsensical; first you are trying to slice the disk, then you are trying to initialise it sliceless without first removing the slices. If you want the disk sliced, use disklabel on rda1sX, where X is the slice you've created. If you want it unsliced, dd 8k of zeroes over the beginning of da1 first. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003011911.LAA00739>