Bug 5782 - Can't boot on RAID1 fresh installation / initrd file error ?
Summary: Can't boot on RAID1 fresh installation / initrd file error ?
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Luděk Janča
QA Contact:
Keywords: NEEDINFO
Depends on:
Reported: 2012-05-07 19:21 CEST by mnaud mnaud
Modified: 2014-12-06 10:02 CET (History)
3 users (show)

See Also:
Source RPM:
Status comment:

initrd file complain (99.62 KB, image/jpeg)
2012-05-07 19:22 CEST, mnaud mnaud
dracut version (11.69 KB, image/jpeg)
2012-05-07 19:23 CEST, mnaud mnaud
drakx directory (619.85 KB, application/x-compressed-tar)
2012-05-07 20:32 CEST, mnaud mnaud
raid1 LVM screenshot 01 (146.36 KB, image/png)
2012-05-13 22:06 CEST, mnaud mnaud
raid1 LVM screenshot 02 (143.80 KB, image/png)
2012-05-13 22:06 CEST, mnaud mnaud
raid1 LVM screenshot 03 (144.21 KB, image/png)
2012-05-13 22:07 CEST, mnaud mnaud
RAID 1 on Primergy RX100 S6 (290.16 KB, image/jpeg)
2012-08-07 15:14 CEST, Luděk Janča
RAID 1 and LVM on normal PC (365.38 KB, image/jpeg)
2012-08-07 15:16 CEST, Luděk Janča

Description mnaud mnaud 2012-05-07 19:21:55 CEST
Description of problem:

the system is installed but not functionnal, the first reboot complain about initrd file. (cf attachment)

Version-Release number of selected component (if applicable):

mageia 2 RC

How reproducible:

Steps to Reproduce:
1.download latest netboot.iso 
2.boot the disk and install using http repository 
here is my test disk configuration
two disks with 2 partitions
assemble sda1 + sdb1 as md0 (raid1) for / boot
assemble sda2 + sdb2 as md1 (raid1) for LVM
create 1 LV for /home, 1 LV for /, 1 LV for swap

3. choose base installation / or everythinf the result will be the same

4. reboot the fresh installation ...

note till mageia1 this kind of installation have never been functionnal out of the box.
Comment 1 mnaud mnaud 2012-05-07 19:22:48 CEST
Created attachment 2208 [details]
initrd file complain
Comment 2 mnaud mnaud 2012-05-07 19:23:24 CEST
Created attachment 2209 [details]
dracut version
Thierry Vignaud 2012-05-07 19:57:33 CEST

CC: (none) => mageia, thierry.vignaud

Comment 3 Colin Guthrie 2012-05-07 20:17:21 CEST
This looks like a corrupted initrd and/or a lilo problem. Would you be able to get the contents from the /root folder from that install? Namely the drakx folder. Just tar+compress it up and attach it here.

You should also be aware that while mageia1 may have supported this kind of setup I would still strongly recommend against it. The mechanisms lilo uses are broken by design and I'd very much vote to remove this in the future. I'll be adding a warning to release notes to suggest people do not rely on this and plan instead for the future.
Comment 4 mnaud mnaud 2012-05-07 20:32:40 CEST
Created attachment 2210 [details]
drakx directory
Comment 5 mnaud mnaud 2012-05-07 20:44:15 CEST
you can find in attachment drakx directory as tar.gz

am surprising about your remark, in my guess both lilo or grub support's this kind of installation (mean /boot under raid1).
Comment 6 Colin Guthrie 2012-05-07 20:48:49 CEST
If grub supports it then fine, but lilo's encoding of the root= argument for / or raid is outdated (it relies on node minor numbers being limited to 256 which they are not and have not for years) If grub can do it then fine, it'll likely do it in a vaguely sensible way.

Anyway, I can't see any obvious errors here, but I'd suggest it's a lilo problem. The initrd looked to be created fine, but the kernel just doens't understand the initrd passed to it.

So unless the bootsplash stuff somehow currupted the initrd itself then eveyrhitng shuould be OK. Can you mount /boot in a rescue and copy off the initrd? Then we can see if the image itself is corrupt. After copying it off to a safe location try re-runnign lilo to see if it works then.
Comment 7 mnaud mnaud 2012-05-13 11:16:37 CEST
if this kind of installation is not officially supported by mageia team can you provide an example of the official configuration to obtain a redundancy system.

Suppose you have a PC with 2 HDD with no raid controller and you want to install your system as secure as possible and the system must boot after lost 1 HDD  ? .. 
What is the "official way" ?
Comment 8 Thierry Vignaud 2012-05-13 12:05:49 CEST
You use either several soft RAID or one soft RAID with only one big "/" fs.
Unless you can explain to me how to set up lvm on top of raid with drakx...
Comment 9 mnaud mnaud 2012-05-13 22:06:13 CEST
Created attachment 2295 [details]
raid1 LVM screenshot 01
Comment 10 mnaud mnaud 2012-05-13 22:06:42 CEST
Created attachment 2296 [details]
raid1 LVM screenshot 02
Comment 11 mnaud mnaud 2012-05-13 22:07:08 CEST
Created attachment 2297 [details]
raid1 LVM screenshot 03
Comment 12 mnaud mnaud 2012-05-13 22:13:31 CEST
am not sure about you question but you can find in attachment 3 [details] screenshot's take during installation of mageia 2RC and you can see LVM over RAID1 in the installer mean drakx ?

you just have to activate expert mode, create 2 partition's on sda typed "linux raid", then do the same on sdb.
then select sda1 -> add to raid -> md0
select sdb1 -> add to raid -> md0

then select sda5 -> add to raid -> new -> md1
select sdb5 -> add to raid -> md1

then in raid tab select md0 -> type -> ext4 -> /boot
then select md1 -> type LVM -> add to lvm -> vg0

then in vg0 tab you can add your lv's .

the problem appear only when your installation is finished and you reboot your system ...
you will have an error message complaining about initrd file.
Comment 13 Marja Van Waes 2012-05-26 13:06:11 CEST

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)


Keywords: (none) => NEEDINFO

Comment 14 Luděk Janča 2012-08-07 15:11:05 CEST
Yes, this bug is still in Mageia 2

CC: (none) => joelp

Comment 15 Luděk Janča 2012-08-07 15:14:26 CEST
Created attachment 2619 [details]
RAID 1 on Primergy RX100 S6

Assignee: bugsquad => joelp

Comment 16 Luděk Janča 2012-08-07 15:16:48 CEST
Created attachment 2620 [details]
RAID 1 and LVM on normal PC
Comment 17 Colin Guthrie 2012-08-07 15:45:22 CEST
Are these screenshots after a fresh install? If so does trying the workaround mentioned in bug #6692 (comment 11) help?
Comment 18 Luděk Janča 2012-08-08 08:29:24 CEST
Yes, its from fresh install. But only in network installation. With DVD is everything OK on PC but still not work on RX100 S6.
Luděk Janča 2012-08-21 15:35:55 CEST

Hardware: i586 => All

Comment 19 Dick Gevers 2014-12-01 18:59:30 CET

Please advise current status and relevance for current installer (M5), because it is unchanged for 2 1/4 years ? Lots of info was given, not enough?

If not relevant anymore, please close the report?

Comment 20 Luděk Janča 2014-12-06 10:02:45 CET
I don't using MGA for server anymore

Resolution: (none) => OLD

Note You need to log in before you can comment on or make changes to this bug.