Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 429728 - sys-kernel/genkernel-3.4.40: dmraid + gpt failure
Summary: sys-kernel/genkernel-3.4.40: dmraid + gpt failure
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal critical
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-03 20:56 UTC by Leonardo Amaral
Modified: 2012-11-02 17:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo Amaral 2012-08-03 20:56:43 UTC
Im using a disk partitioned using gpt like this:


/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p13 on /hypercomplex type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p6 on /hypercomplex/bin type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p2 on /hypercomplex/boot type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p3 on /hypercomplex/etc type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p10 on /hypercomplex/home type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p7 on /hypercomplex/sbin type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p9 on /hypercomplex/usr type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p5 on /hypercomplex/usr/bin type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p4 on /hypercomplex/usr/sbin type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p8 on /hypercomplex/var type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p12 on /hypercomplex/var/log type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p11 on /hypercomplex/var/tmp type ext4 (rw)

Ive enabled dmraid (And *NOT* mdadm since it corrupts my raid volume) and created a monolithic (no module support) kernel and a initramfs - my aim is just run a dmraid -ay, recognize the partitions and mount root.

But initramfs cant find the rootfs (Find as sda13 but mark as incorrect) and when i go to busybox shell, i see after running dmraid -ay the disk exists in /dev/mapper but NOT the partitions.

Reproducible: Always
Comment 1 Leonardo Amaral 2012-08-07 17:52:21 UTC
Ive seen https://bugzilla.redhat.com/show_bug.cgi?id=500322 which says dmraid will not support GPT partition. So will hurt include kpartx in genkernel images or some another kind of solution?
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-11-02 17:09:27 UTC
kpartx is available if you do domultipath.