From fb1c725171bb24c6a6a72e1c0a4d33bf26b115a5 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 5 Oct 2009 19:01:03 +0000 Subject: setup-disk: do not use UUID for raid devices This fixes #177, the issues with "No operating system found" on boot --- setup-disk.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup-disk.in b/setup-disk.in index 266284f..584f099 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -23,6 +23,9 @@ _blkid() { # if given device have an UUID display it, otherwise return the device uuid_or_device() { local i= + case "$1" in + /dev/md*) echo "$1" && return 0;; + esac for i in $(_blkid "$1"); do case "$i" in UUID=*) eval $i;; -- cgit v1.2.3