| Summary: | Grub2 fails to install the bootloader on SATA drive on fakeraid 0 ("grub2-install failed: cannot find a GRUB drive for /dev/mapper/pdc_hejhdeee. Check your device.map") | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Luis Menina <liberforce> |
| Component: | Installer | Assignee: | Mageia tools maintainers <mageiatools> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | mageiatools, marja11, pterjan, thierry.vignaud, tmb, zen25000 |
| Version: | Cauldron | Keywords: | NEEDINFO |
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | drakx-installer-stage2, grub2 | CVE: | |
| Status comment: | |||
| Attachments: | logs from /root for the install with fake raid 0 setup | ||
|
Description
Luis Menina
2017-04-14 22:14:15 CEST
*** Bug 20671 has been marked as a duplicate of this bug. *** *** Bug 20670 has been marked as a duplicate of this bug. *** *** Bug 20669 has been marked as a duplicate of this bug. *** Please attach /root/drakx/report.bug.xz
or reproduce the problem, switch to tty2 with Ctrl+Alt+F2, insert a USB key and type
bug
report.bug will be written to the USB key.
please compress it with xz ( xz report.bug ) and then attach report.bug.xz to this bug report.
Btw, did you try whether you could reboot into the new install, despite the error?Keywords:
(none) =>
NEEDINFO I've been told to take the log from /root, I wasn't aware of the "bug" command. Since then I formatted the machine and tried to reinstall, and I understand the problem a bit more. I'm trying to install on a single SATA disk. The problem is that the SATA ports are handled by the Promise raid controler. On that motherboard, it seems that nobody could boot from a SATA disk without having to put it in a raid array.
So I tried to install to the disk without having it in a RAID array → it installs to sda, but fails to boot (motherboard limitation from what I read int some forums).
If I try to put it in a fake raid 0 array, then the installer fails to install GRUB 2 at the end of the install process.
I didn't want to pass too much time on this, so as a workaround, I took and old 1 GB PATA drive, and chose in the installed to dedicate it to /boot.
> Btw, did you try whether you could reboot into the new install, despite the error?
I tried, and it didn't boot. With the fake raid 0 setup, I tried to run grub-install on /dev/sda using the rescue CD, it failed as I was left on a GRUB black screen prompt without being able to type anything. That's the first time I have to mess up with RAID.Summary:
Grub2 fails to install on sata drive =>
Grub2 fails to install on SATA drive on fakeraid 0 Created attachment 9202 [details]
logs from /root for the install with fake raid 0 setup
BTW, that seems similar to bug 16035, not sure it's the same thing, though. (In reply to Luis Menina from comment #6) > Created attachment 9202 [details] > logs from /root for the install with fake raid 0 setup The setupBootloader step finished without anything that I recognize as a related error. The error about failing to install the Grub2 bootloader to the MBR, doesn't appear in the ddebug.log, there is nothing after "* step `configureX' finished" Assigning to the Mageiatools maintainers and CC'ing pterjan, because of the ERROR and DEBUG lines in the setupSCSI step (I didn't look for errors in the partitioning step, there might be errors there, too) CC:
(none) =>
pterjan A picture of the tty where the GRUB error was printed is here: http://hpics.li/d5db3ed The logs are useless as they don't actually include the bootloader step from the summary. The bootloader step that appears here is just a preparing step that only build the initrds but doesn't setup the bootloader. Source RPM:
drakx-installer-stage2 =>
drakx-installer-stage2, grub2 |