Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2003 11:12:46 -0600
From:      Mike Meyer <mwm-dated-1049735567.49b33f@mired.org>
To:        Eduardo Viruena <eduardo_viruena@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: I damaged a disklabel
Message-ID:  <16011.6670.921069.675815@guru.mired.org>
In-Reply-To: <20030402023710.89568.qmail@web40910.mail.yahoo.com>
References:  <20030402023710.89568.qmail@web40910.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In <20030402023710.89568.qmail@web40910.mail.yahoo.com>, Eduardo Viruena <eduardo_viruena@yahoo.com> typed:
> 
> I just blew the label of my disk.
> 
> I do not know how I did it but you know that 
> we can make amazing things without even be aware
> of what we are doing.
> 
> I have a paper on my desk where I write down 
> the sizes of my partitions.
> 
> Is there a way of fixing it?

If you have the starting sector for each partition as well, you can
fix it. You need to use disklabel to set those two numbers. See the
disklabel man page for details.

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16011.6670.921069.675815>