Hi, Vladimir Serbinenko made this small patch that would, in principle, enable UUID-based device location when booting GNU/kFreeBSD from GRUB.
It can be applied directly to /etc/grub.d/10_kfreebsd. Please could someone confirm that it works? If it does we'll merge it in GRUB trunk repository. Using UUIDs for device location is quite important, because it resolves problems with device nodes changing their names (e.g. if disks are moved, or the setup used during install differs from the one used in installed system). -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."
=== added file 'ChangeLog.fbsduuid' --- ChangeLog.fbsduuid 1970-01-01 00:00:00 +0000 +++ ChangeLog.fbsduuid 2009-11-21 20:02:05 +0000 @@ -0,0 +1,3 @@ +2009-11-21 Vladimir Serbinenko <[email protected]> + + * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Use UUID. === modified file 'util/grub.d/10_kfreebsd.in' --- util/grub.d/10_kfreebsd.in 2009-11-20 08:41:20 +0000 +++ util/grub.d/10_kfreebsd.in 2009-11-21 20:02:05 +0000 @@ -61,7 +61,7 @@ EOF fi cat << EOF - set kFreeBSD.vfs.root.mountfrom=${kfreebsd_fs}:${GRUB_DEVICE} + set kFreeBSD.vfs.root.mountfrom=${kfreebsd_fs}:${kfreebsd_fs}id/${GRUB_DEVICE_UUID} set kFreeBSD.vfs.root.mountfrom.options=rw } EOF

