Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 2004 17:30:11 +0200 (CEST)
From:      Svein Halvor Halvorsen <svein-freebsd-questions@theloosingend.net>
To:        Henrik W Lund <henrik.w.lund@broadpark.no>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: accidental fdisk -BI
Message-ID:  <20041017172502.P872@maren.thelosingend.net>
In-Reply-To: <41724FE4.20506@broadpark.no>
References:  <417183FE.1000102@atopia.net> <41724FE4.20506@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help

[Henrik W Lund, 2004-10-17]
>  What this means is that any other slices you had on the disk will be gone. I
>  don't know what disk layout you had, but something tells me that you may have
>  erased /usr, /var and /tmp (if you used the default fdisk layout when
>  installing FreeBSD, that is). I'm no expert, but I think this _can_ lead to
>  complications.

Note that BIOS partitions are not the same as BSD partitions. The former 
is known as slices in BSD. fdisk -BI /dev/da0 will initialize the disk for 
one *slice* covering the whole disk. BSD partitions inside this slice will 
not be afflicted, so /usr, /var and /tmp are probably still intact as 
well :)

If there were other slices on the disk (bios partitions) the original 
partition table may be recovered using sysutils/gpart.


Svein Halvor



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