Date: Sun, 05 Dec 2010 20:40:08 -0600 From: "James R. Van Artsdalen" <james-freebsd-fs2@jrv.org> To: freebsd-fs <freebsd-fs@freebsd.org> Subject: zpool suggests "installgrub"? Message-ID: <4CFC4D08.5060004@jrv.org>
next in thread | raw e-mail | index | archive | help
FreeBSD H55ITX.housenet.jrv 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r216088:
Thu Dec 2 20:21:21 UTC 2010
root@H55ITX.housenet.jrv:/usr/obj/usr/src/sys/GENERIC amd64
H55ITX:/root# zpool attach H55ITX ada4p3 ada5p3
Please be sure to invoke installgrub(1M) to make 'ada5p3' bootable.
H55ITX:/root#
>From cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c
#if defined(__i386) || defined(__amd64)
#define BOOTCMD "installgrub(1M)"
#else
#define BOOTCMD "installboot(1M)"
#endif
...
if (rootpool) {
/*
* XXX - This should be removed once we
can
* automatically install the bootblocks on
the
* newly attached
disk.
*/
(void) fprintf(stderr, dgettext(TEXT_DOMAIN,
"Please "
"be sure to invoke %s to make '%s'
bootable.\n"),
BOOTCMD, new_disk);
}
return (0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CFC4D08.5060004>
