mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
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:
1 parent
6dcfcb3291
commit
4e2171f866
2 files changed
+7
-3
No files matched your search
@@ -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>
|
2009-08-06 Felix Zielcke <fzielcke@z-51.de>
|
||||||
|
|
||||||
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Fix
|
* 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`
|
devices_rel_dirname=`make_system_path_relative_to_its_root $devices_dirname`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
root_device=`basename ${GRUB_DEVICE}`
|
|
||||||
|
|
||||||
# For "ufs" it's the same. Do we care about the others?
|
# For "ufs" it's the same. Do we care about the others?
|
||||||
kfreebsd_fs=${GRUB_FS}
|
kfreebsd_fs=${GRUB_FS}
|
||||||
|
|
||||||
@@ -69,7 +67,8 @@ EOF
|
|||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
cat << EOF
|
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
|
EOF
|
||||||
fi
|
fi
|
||||||
Reference in new issue
Block a user