From owner-freebsd-questions@FreeBSD.ORG Mon Sep 10 03:32:33 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E1E1106564A for ; Mon, 10 Sep 2012 03:32:33 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 174CC8FC08 for ; Mon, 10 Sep 2012 03:32:32 +0000 (UTC) Received: by wibhr14 with SMTP id hr14so1185527wib.13 for ; Sun, 09 Sep 2012 20:32:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6rbqhlZSLuxDb2mKI6euTOGgIG/GiYRFaVuLVRMIeK8=; b=Mu9Nh6sKSIdXOz1pMLjTzn5E02wsHc1dQDAXTEjyiajeJLlUPqYGNM+u+Dj6GeIRUq SiFKB+dx3zUvA5PGv5SyxaYgjmC73HzihWIx9x2aWp7zbDu9A+6+E+L6D41GDsrvNNUR wGDwtfoRkZqBFGjL/bH+Nc5A8qeJePvnPZ9VOTRURWk7W1Q6TLVaK3xyMsNJUrw8ACHo yHJ5/Rhp7IRVFJUAy0UnWGBKewgVh/y8p/3UNDX2woAKJhdkYuBgw37XCxMK5v5jY1rH Bk9LXjwl4umA2NvEcPSlW3JPwg/oXmXRBkE3kKjrq5BBlsQP5h+qxS91CkZ4WqyYVqfY Rd3Q== MIME-Version: 1.0 Received: by 10.216.226.21 with SMTP id a21mr6928040weq.181.1347247952117; Sun, 09 Sep 2012 20:32:32 -0700 (PDT) Received: by 10.223.63.76 with HTTP; Sun, 9 Sep 2012 20:32:32 -0700 (PDT) In-Reply-To: References: Date: Sun, 9 Sep 2012 20:32:32 -0700 Message-ID: From: Kevin Oberman To: Warren Block Content-Type: text/plain; charset=UTF-8 Cc: questions@freebsd.org Subject: Re: Removing UFS label from root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2012 03:32:33 -0000 On Sun, Sep 9, 2012 at 8:00 PM, Warren Block wrote: > On Sun, 9 Sep 2012, Kevin Oberman wrote: > >> On Sun, Sep 9, 2012 at 6:49 PM, Warren Block 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