Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2009 20:40:13 -0600 (CST)
From:      Wes Morgan <morganw@chemikals.org>
To:        George Neville-Neil <gnn@neville-neil.com>
Cc:        current@freebsd.org
Subject:   Re: GEOM and moving to CURRENT from 7.1
Message-ID:  <alpine.BSF.2.00.0901112002080.3696@ibyngvyr.purzvxnyf.bet>
In-Reply-To: <FC3D3CF7-091B-4ECF-BE38-6C7751C20994@neville-neil.com>
References:  <FC3D3CF7-091B-4ECF-BE38-6C7751C20994@neville-neil.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 11 Jan 2009, George Neville-Neil wrote:

> Howdy,
>
> Beware if you are upgrading from a 7.1 system to CURRENT that you may 
> need to have the kernel options GEOM_MBR and GEOM_BSD in your kernel. 
> I spent a couple of hours dealing with this on my Thinkpad X60 today 
> which had, what I thought, was a pretty simple setup of 1 slice for BSD, 
> and a simple layout of /, swap and /usr.  When I tried to boot the new 
> kernel I got to the mount error prompt and could not mount ad4p1 or 
> anything like it. Adding the GEOM_MBR and GEOM_BSD options back into the 
> kernel fixed things. Happily I was able to boot 7.1 still and fix this.

There are several things to be aware of moving from GEOM_MBR|BSD to 
GEOM_PART_*. My label was "wrong" in gpart's eyes, and I had to relabel 
the drive with a copy of the same label (no data loss). I also have a ZFS 
root filesystem embedded in the "e" part of the slice, which was marked as 
"unused" in the label, and thus GEOM_PART_BSD created no device node in 
/dev. Changing it from "unused" to "ZFS" in the label was the solution to 
that.

Unfortunately, during the process of "fixing" the label, grub stopped 
working, leaving my system without a boot loader. In the absence of a 
bootable live cd, I had to pop out the drive and plug it in to another 
system to install the standard boot loader. Was not a fun evening!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0901112002080.3696>