for the root fs for grub files and they happen to be on the same file system
as the root ("/") filesystem.
+2007-04-10 Jerone Young <jerone@gmail.com>
+ * util/i386/pc/getroot.c: Update so that if root device is /dev/root ,
+ continue on and look for device node with real device name.
+
2007-04-10 Jerone Young <jerone@gmail.com>
* configure.ac: Add argument for autoconf to use tranformation
strip_extra_slashes (res);
free (cwd);
+ /* /dev/root is not a real block device keep looking, takes care
+ of situation where root filesystem is on the same partition as
+ grub files */
+
+ if (strcmp(res, "/dev/root") == 0)
+ continue;
+
if (chdir (saved_cwd) < 0)
grub_util_error ("Cannot restore the original directory");