| Summary: | Impossible to install the GRUB bootloader in the root partition during installation | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Adrien D <email> |
| Component: | Installer | Assignee: | Mageia tools maintainers <mageiatools> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | email, marja11, thierry.vignaud, zen25000 |
| Version: | Cauldron | Keywords: | NEEDINFO |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
Adrien D
2016-10-02 11:46:52 CEST
Adrien D
2016-10-02 11:47:03 CEST
CC:
(none) =>
ghbdtn Hi Adrien, Grub in both Mga5 and Mga6, and not Grub in Mageia 5 and Grub2 in Mageia 6? AFAIK, Grub2 does not allow writing the bootloader to a partition, see also bug 18761 (Note that Frank Griffin wrote a workaround in the 3rd comment in that bug report) Keywords:
(none) =>
NEEDINFO Hi Marja, It's GRUB (the default choice). Even if it's GRUB2, this bootloader can be installed on a partrition (grub-install --force /dev/sdaX) I see on Mageia 5 x86_64 ISO, it's possible to install GRUB2 on root partition. And that was an error. It's not reliable as: - there's usually no space for embedding grub2's core.img - blocklists aren't reliable as files can be moved And grub-setup does warn about blocklist's unreliability It'll work at first but it'll will fail when you least expect it. bite you - I have done extensive testing of this in the past and it works for a while then fails when you. Some FSes support defragmenting, dedup, (insert your favorite feature) ... and blocklist will just point to garbage after a while. Or files will be copied, deleted etc. See eg https://bugzilla.redhat.com/show_bug.cgi?id=728742 and https://bugzilla.redhat.com/show_bug.cgi?id=730915. So yes, we could force installing on a partition but then we would get bug reports because some systems would not reboot after a while Status:
NEW =>
RESOLVED eg: https://bugzilla.redhat.com/show_bug.cgi?id=730915#c21 "I just hit the problem where grub2 installed into a partition becomes unbootable after an update too. The grub2 package was updated, so I guess that explains it." And yes that one wouldn't happen on Mageia as we've failsafe for that, but that's an example of unforeseen scenario... What ??? In Ubuntu, Mint, Manjaro, ... it's possible to install on the root partition. Why you don't keep the choice for Mageia users ???? Status:
RESOLVED =>
REOPENED If you want to shoot yourself in the foot, do what you want with your system. But the installer will prevent users to shoot themselves. Status:
REOPENED =>
RESOLVED OK.... But why it's possible in Mageia 5 ISO ? this contradicts what you say above. Status:
RESOLVED =>
REOPENED Please stop reopening this bug! We WONT support that as it's broken by design. And to answer your question, just read the first sentence of comment #4 Status:
REOPENED =>
RESOLVED |