labelling root file system (RELENG_8)

nickolasbug at gmail.com nickolasbug at gmail.com
Wed Jun 8 13:11:40 UTC 2011


1. Change your root fstab record to /dev/ada0s4a (not label!), reboot
to single mode and try to re-label partition.


2. Try boot from live CD or installation CD (fixup console) and label
file system without mounting


2011/6/8 Matthias Andree <matthias.andree at gmx.de>:
> Greetings,
>
> I've tried to re-label an existing (and up to date) 8-STABLE
> installation's root partition.  This failed, tunefs reports it cannot
> write the super block.
>
> I have attempted this sequence:
>
> 1. reboot (through BIOS and loader) directly into single-user mode
> (boot -s)
> 2. sysctl kern.geom.debugflags=16
> 3. tunefs -L root /dev/ada0s4a    # that's the dev I mount the root
>                                  # partition from
>
> Still no joy => tunefs cannot update the super block.
>
> Remounting / as rw doesn't help, as expected.
>
> The root fs uses softupdates but no journalling -- what other hoops do I
> need to jump through to create labels for my root ufs file system?
>
> Thanks.
>
> Best regards,
> Matthias
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>

-------
wbr,
Nickolas


More information about the freebsd-stable mailing list