Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2012 20:32:32 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        questions@freebsd.org
Subject:   Re: Removing UFS label from root
Message-ID:  <CAN6yY1sKsmQBvahzdR4t%2BEweYP6fXd_4PKgo6oTq_4DT41qTYg@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1209092058390.1143@wonkity.com>
References:  <CAN6yY1vRdXMZVXNzofjjCzjotB1hALAPXMvB1MgV9duAf81LWg@mail.gmail.com> <alpine.BSF.2.00.1209091934230.59524@wonkity.com> <alpine.BSF.2.00.1209091948480.59524@wonkity.com> <CAN6yY1tp4TbbnVuGzPxCNgJXfb5bo2cyQ4sDDijrsD9KYi9esQ@mail.gmail.com> <alpine.BSF.2.00.1209092058390.1143@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 9, 2012 at 8:00 PM, Warren Block <wblock@wonkity.com> wrote:
> On Sun, 9 Sep 2012, Kevin Oberman wrote:
>
>> On Sun, Sep 9, 2012 at 6:49 PM, Warren Block <wblock@wonkity.com> wrote:
>>>
>>> On Sun, 9 Sep 2012, Warren Block wrote:
>>>
>>>> On Sun, 9 Sep 2012, Kevin Oberman wrote:
>>>>
>>>>> I added a label to my root fs some time ago. I really prefer the gpt
>>>>> label and I have added it, but I can't figure out how to remove the
>>>>> ufs label.
>>>>>
>>>>> I boot single user and run 'tunefs -L "" /dev/ada1p2' but I get an
>>>>> "unable to write superblock" error. This is before mounting the drive
>>>>> RW, but it is, of course, mounted RO.
>>>>
>>>>
>>>>
>>>> This worked in a VM when I tested it just now.  Maybe running fsck on
>>>> that
>>>> filesystem first will help.
>>
>>
>> Already tried that.
>>
>> I know I was able to label it originally, so it does seem like
>> something must have changed, but I don't know what. I did use gpart to
>> expand my /usr partition and then used growfs to expand the FS, but I
>> did nothing to root and I was able to remove the labels on all of the
>> other partitions.
>
>
> Might there be a duplicate filesystem label of "root" on ada0 or another
> disk?

No joy. I checked all ufs partitions and none are "root" except for
/dev/ada1p2. All partitions on ada0 are ntfs. (It's my Windows disk.)

But, thanks for trying, Warren. I appreciate it.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6558@gmail.com



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