* util/grub.d/10_linux.in: Don't use UUID for LVM root.
This commit is contained in:
parent
5944958c61
commit
105a2e8c66
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-07-01 Sean Finney <seanius@seanius.net>
|
||||
|
||||
* util/grub.d/10_linux.in: Don't use UUID for LVM root.
|
||||
|
||||
2010-07-01 Sean Finney <seanius@seanius.net>
|
||||
|
||||
* disk/lvm.c (grub_lvm_scan_device): Skip snapshots.
|
||||
|
|
|
@ -44,7 +44,8 @@ case ${GRUB_DEVICE} in
|
|||
esac
|
||||
|
||||
if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
|
||||
|| ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" ; then
|
||||
|| ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
|
||||
|| [ "x`grub-probe -t abstraction --device ${GRUB_DEVICE}`" = "xlvm" ] ; then
|
||||
LINUX_ROOT_DEVICE=${GRUB_DEVICE}
|
||||
else
|
||||
LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
|
||||
|
|
Loading…
Add table
Reference in a new issue