2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
* util/grub.d/10_freebsd.in: Use an absolute device path for `vfs.root.mountfrom'. Set `vfs.root.mountfrom.options=rw'.
This commit is contained in:
parent
6dcfcb3291
commit
4e2171f866
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
|
||||
|
||||
* util/grub.d/10_freebsd.in: Use an absolute device path for
|
||||
`vfs.root.mountfrom'. Set `vfs.root.mountfrom.options=rw'.
|
||||
|
||||
2009-08-06 Felix Zielcke <fzielcke@z-51.de>
|
||||
|
||||
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Fix
|
||||
|
|
|
@ -50,8 +50,6 @@ if [ "x$kfreebsd" != "x" ] ; then
|
|||
devices_rel_dirname=`make_system_path_relative_to_its_root $devices_dirname`
|
||||
fi
|
||||
|
||||
root_device=`basename ${GRUB_DEVICE}`
|
||||
|
||||
# For "ufs" it's the same. Do we care about the others?
|
||||
kfreebsd_fs=${GRUB_FS}
|
||||
|
||||
|
@ -69,7 +67,8 @@ EOF
|
|||
EOF
|
||||
fi
|
||||
cat << EOF
|
||||
set FreeBSD.vfs.root.mountfrom=${kfreebsd_fs}:${root_device}
|
||||
set FreeBSD.vfs.root.mountfrom=${kfreebsd_fs}:${GRUB_DEVICE}
|
||||
set FreeBSD.vfs.root.mountfrom.options=rw
|
||||
}
|
||||
EOF
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue