search for: grub_device_uuid

Displaying 1 result from an estimated 1 matches for "grub_device_uuid".

2010 May 18
8
/etc/grub.d/09-xen for generating grub.cfg for hypervisor boot entries.
...# loop-AES arranges things so that /dev/loop/X can be our root device, but # the initrds that Linux uses don''t like that. case ${GRUB_DEVICE} in /dev/loop/*|/dev/loop[0-9]) GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"` ;; esac if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \ || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" ; then LINUX_ROOT_DEVICE=${GRUB_DEVICE} else LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID} fi test_gt () { local a=`echo $1 | sed -e &...