On Tue, Jun 17, 2008 at 12:29:51PM +0200, michael netz wrote: > # grub-probe -t device /boot > /dev/.tmp.md0
This shouldn't be /dev/.tmp.md0. Does the attached patch help? -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What good is a phone call… if you are unable to speak? (as seen on /.)
diff -x ChangeLog -x configure -x config.h.in -x CVS -x '*~' -x '*.mk' -urp ../grub2/util/getroot.c ./util/getroot.c --- ../grub2/util/getroot.c 2008-05-28 15:41:58.000000000 +0200 +++ ./util/getroot.c 2008-06-17 13:31:46.000000000 +0200 @@ -227,7 +227,7 @@ find_root_device (const char *dir, dev_t } } - if (S_ISBLK (st.st_mode) && st.st_rdev == dev) + if (S_ISBLK (st.st_mode) && st.st_rdev == dev && ent->d_name[0] != '.') { /* Found! */ char *res;