Upgrading bootblocks
Matthew Dillon
dillon at apollo.backplane.com
Thu Feb 8 09:43:57 PST 2007
:Simon 'corecode' Schubert wrote:
:> Petr Janda wrote:
:>
:>> disklabel: Warning, old bootblocks detected, install new bootblocks &
:>> reinstall the disklabel
:>>
:>> when i do disklabel /dev/ad1s1
:>
:> use disklabel -B /dev/ad1s1
:>
:> cheers
:> simon
:>
:
:I get this:
:
:elevator# disklabel -B /dev/ad1s1
:super block size 0
:
:Petr
There might be a chicken-and-egg problem here. Be sure to back-up the
data on the partition before proceeding (if its important). Then
try doing a raw-mode update:
disklabel -r -w -B /dev/ad1s1
That only works if there is already a disklabel on that partition. If
there isn't you have to install a label first, or as part of the
command:
*** WARNING, THIS WILL DESTROY ALL DATA IN THE PARTITION ***
disklabel -r -w -B /dev/ad1s1 auto
-Matt
Matthew Dillon
<dillon at backplane.com>
More information about the Users
mailing list