Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2008 22:30:52 +0100
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        Nikola =?utf-8?B?TGXEjWnEhw==?= <nikola.lecic@anthesphoria.net>
Cc:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>, FreeBSD-stable@FreeBSD.org
Subject:   Re: Reconstruct disklabel for UFS and GELI volumes
Message-ID:  <20080207213052.GA1435@roadrunner.spoerlein.net>
In-Reply-To: <20080207204910.68309fd1@anthesphoria.net>
References:  <7ad7ddd90802061204p35d0368ekbb54149287618f6a@mail.gmail.com> <20080207010502.3f96fd3f.torfinn.ingolfsen@broadpark.no> <7ad7ddd90802070030h3b42296et60d1e12f9d93d65f@mail.gmail.com> <20080207204910.68309fd1@anthesphoria.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 07.02.2008 at 20:49:10 +0100, Nikola Lečić wrote:
> > Thanks for all the suggestions so far. Since I can't install any
> > packages (I'm using the 6.2 fixit cd), how can I calculate the file
> > system size from the ffsinfo output?
> 
> I hate to be boring (since I already suggested the use of
> sysutils/testdisk), but it would be really helpful to give it a try.
> Please read this success story (5 mails):

I would, if installing packages was more easily possible with the fixit
mode. Looks like I need to take up my own live CD project again.

>   http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/164901.html
> 
> Among others things, it contains some notes on how to use packages that
> are not included in rescue CD and how to recalculate your bsdlabel
> offsets and other parametres. And yes, with or without GELI your swap
> will appear just as a hole between "normal" partitions so its
> dimensions are probably the last thing you will reconstruct.

Why is there no metadata for the GELI swap? Is it because the 'label'
command is not used (would make sense to me).

Anyway, I reconstructed my disklabel and everything is back to normal. A
nice exercise it was, though I'd rather have done it on non critical
data :)

Cheers,
Ulrich Spoerlein
-- 
It is better to remain silent and be thought a fool,
than to speak, and remove all doubt.



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