Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-663

Problem using dmraid ( fakeraid ) on a gpt partition table with genkernel

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None

      I am using fakeraid and a gpt partition table.

      For fakeraid i am using dmraid to detect my raid array. All is good but dmraid does not detect gpt partitions ( only mbr ).

      The solution for this , is to do a kpartx -a "array disk" after dmraid or to do a "partprobe". Either one works.

      Also dmraid should be changed to dmraid -ay -p ( adding the -p ) to specify to not detect partitions , and those ( mbr or not ) should be detected by kpartx or partprobe.

      Currently I change genkernel dmraid part to this -> http://pastebin.com/TENChx5c on genkernel initrd.scripts and has always worked.

        1. correct_patch_2.tar.xz
          0.7 kB
        2. correct_patch_3.tar.xz
          0.7 kB
        3. correct_patch.tar.xz
          0.7 kB
        4. gen_initramfs.sh
          0.6 kB
        5. initrd.scripts
          0.5 kB

            Unassigned Unassigned
            pereira.alex Alexandre Pereira
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: