You are not logged in.
Hi,
Here is the situation:
I was running a big update, installation was on going and building kernel modules when I got a power cut.
Now when booting, I do not have access to linux boot menu but boot instead directly to windows. Arch linux was the default option in my boot menu.
How should I proceed?
Thanks
Last edited by kamelie1706 (2016-11-12 18:42:13)
Offline
What bootloader are you using? There is usually a key you can hold while booting to modify boot options/parameters.
Otherwise, just boot a live usb, chroot in, and fix things up.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
If not mistaken I believe I have installed grub ...
"Fix things up" like described here (re-intsalling grub)?
https://www.jeremymorgan.com/tutorials/ … g-windows/
Offline
No, just chroot in, and complete the upgrade. If there are still problems after that, post your bootloader config.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
My linux system/boot partition is /dev/sda1
I did chroot it (mounted on /mnt) and run system update : nothing to be done and grub menu did not show up.
I have re-installed grub but when I run
grub-mkconfig -o /boot/grub/grub.cfgit detects only my windows partition.
Now grub menu show up but with only the windows boot option.
What should I try next?
Could it be that it does not detect it because my linux partion is mounted on /mnt?
Last edited by kamelie1706 (2016-11-12 16:24:12)
Offline
Solved
my boot directory did not contain kernel images (probably deleted during the update and crash happened before writting the new ones)
I have re-installed kernel package
pacman -S linuxand re-run grub auto-configuration and voila!
do I need to re-run mkinitcpio after kernel re-installation?
Seems to work normally without ...
Last edited by kamelie1706 (2016-11-12 17:15:40)
Offline
Please add [SOLVED] on your title.
Offline