bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Raid to fail when trying to upgrade to ubuntu 12.04 or 12.10


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: Raid to fail when trying to upgrade to ubuntu 12.04 or 12.10
Date: Sun, 14 Apr 2013 21:35:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12

Please try:
=== modified file 'util/getroot.c'
--- util/getroot.c      2013-04-12 20:37:59 +0000
+++ util/getroot.c      2013-04-14 19:32:36 +0000
@@ -1956,6 +1956,7 @@
              grub_util_info ("dm_tree_find_node failed");
              goto devmapper_out;
            }
+       reiterate:
          node_uuid = dm_tree_node_get_uuid (node);
          if (! node_uuid)
            {
@@ -2030,6 +2031,9 @@
              goto devmapper_out;
            }
          mapper_name = child_name;
+         *is_part = 1;
+         node = child;
+         goto reiterate;

 devmapper_out:
          if (! mapper_name && node)


On 09.10.2012 22:35, Josef Klotzner wrote:

> 
> this problem causing my Raid to fail when trying to upgrade to 12.04 or 
> 12.10
> every ubuntu version until 11.10 had  NEVER EVER problem with my RAID
> 
> what is going on here?
> the content of device.map seem to be irrelevant or even it is existing
> ... no change ... always same error
> 
> ... restoring ubuntu 11.10 meanwhile ... boring situation
> 
> address@hidden:/# grub-install /dev/mapper/via_jehhchjje
> /usr/sbin/grub-probe: Fehler: cannot find a GRUB drive for
> /dev/mapper/via_jehhchjje8.  Check your device.map.
> Auto-detection of a filesystem of /dev/mapper/via_jehhchjje8 failed.
> Try with --recheck.
> If the problem persists please report this together with the output of
> "/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs
> -v /boot/grub" to <address@hidden <mailto:address@hidden>>
> 
> /usr/sbin/grub-probe: Info: Cannot stat
> `/dev/disk/by-id/raid-via_diegiibaeh', skipping.
> /usr/sbin/grub-probe: Info: Cannot stat
> `/dev/disk/by-id/ata-ST2000DL003-9VT166_5YD3ZNH9', skipping.
> /usr/sbin/grub-probe: Info: Cannot stat
> `/dev/disk/by-id/ata-SanDisk_SDCFH-016G_BKZ042811185926', skipping.
> /usr/sbin/grub-probe: Info: changing current directory to /dev/mapper.
> /usr/sbin/grub-probe: Info: changing current directory to /dev/mapper.
> /usr/sbin/grub-probe: Info: changing current directory to /dev/mapper.
> /usr/sbin/grub-probe: Info: changing current directory to /dev/mapper.
> /usr/sbin/grub-probe: Info: /dev/mapper/via_jehhchjje8 starts from
> 3687977792.
> /usr/sbin/grub-probe: Info: opening the device /dev/mapper/via_jehhchjje3.
> /usr/sbin/grub-probe: Info: the size of /dev/mapper/via_jehhchjje3 is
> 3720743606.
> /usr/sbin/grub-probe: Info: Partition 0 starts from 2.
> /usr/sbin/grub-probe: Info: Partition 4 starts from 102404790.
> /usr/sbin/grub-probe: Fehler: cannot find a GRUB drive for
> /dev/mapper/via_jehhchjje8.  Check your device.map.
> 
> 
> 
> _______________________________________________
> Bug-grub mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-grub



Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]