DragonFly users List (threaded) for 2007-02
DragonFly BSD
DragonFly users List (threaded) for 2007-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Upgrading bootblocks


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 8 Feb 2007 09:31:31 -0800 (PST)

: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@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]