| Summary: | Installer rescue can't create a new bootloader if it doesn't find existing configuration | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Rémi Verschelde <rverschelde> |
| Component: | Installer | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | RESOLVED OLD | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | Keywords: | NEEDINFO |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | drakx-installer-rescue | CVE: | |
| Status comment: | |||
| Attachments: |
Screenshot of the output of the repair bootloader option
journalctl output from last working boot |
||
|
Description
Rémi Verschelde
2015-10-04 19:26:18 CEST
Created attachment 7087 [details]
Screenshot of the output of the repair bootloader option
When pressing enter in the above screenshot, I just get: Error Program exited abnormally (return code 2) If there is a way to retrieve more debug info about this, please tell me how, I'm a bit lost with the various methods in the various stages or live/classical flavours :) The purpose is to reinstall the bootloader if it was overwritten, eg: by Windows.
We don't offer to create a new bootloader configuration.
(basically we run lilo, /boot/grub{,2}/install.sh
For further fixing, you need to rerun the drakx installer, choose update, then your bootloader will be reconfigured at summary time.
The question is why did you lost your bootloader?
Once you've run drakx in roder to fix it, you can look at the logs and see what you had removed with urpme --auto-orphans
Thierry Vignaud
2015-10-05 11:14:18 CEST
Keywords:
(none) =>
NEEDINFO OK, I had assumed that the rescue application would do basically the same thing as rerunning the drakx installer, without having to go through all the installer steps. Is it by choice that it can't do the same as the post-install bootloader configuration step, or for technical reasons? It would be nice in such situations to have a rescue option that would generate a very basic grub config (i.e. just using the root partition it found, without trying to find other distros or Windows), so that one can boot again and fix the bootloader using drakboot. Regarding my VM, I probably borked it when running auto-orphans indeed. I did not check the list thoroughly but there were some relatively important packages like tk that got removed (the list was not too long however, maybe 20 packages or so). I'll try to fix it to see what was actually uninstalled that might have killed grub. So I repaired the bootloader using the installer, and interestingly, there is no mention of any package removed by "urpme --auto-orphans" in "journalctl | grep RPM | grep erase". I just checked by installing buildrequires and removing the orphans again, and this time they show up in journalctl. So I really wonder how I messed this all up :) Created attachment 7093 [details]
journalctl output from last working boot
Nothing really interesting in there, but I attach it just for the sake of consistency. It looks like it stops abruptly, so I guess I close my VM with Host+Q instead of doing a proper shutdown; wouldn't expect it to mess the grub config though.
I think it's safe to close this one... Status:
NEW =>
RESOLVED |