You are not logged in.
Now this perhaps should be part of my thread at https://bbs.archlinux.org/viewtopic.php?id=204522, but I figure hardly anyone reads already replied to threads and so this question might not be read.
If I'm correct then 'dmesg' is the linux command to check what went wrong in your boot, but if I do a safe reboot that does work, all information is lost of went wrong in the non-safe one. (although in my case it's booting in grub vs. efi bootmenu)
Should I use a liveUSB, then arch-chroot into it and then check 'dmesg' to get the relevant logs?
I think I'm already answering my own question..
Last edited by folatt (2015-11-07 16:40:33)
Offline
dmesg gives the kernel log; this is not stored on disk. Chrooting into archlinux and typing dmesg will just give you the kernel log of the original system, i.e.the same thing you can get without chrooting and typing dmesg directly on the rescue system. I am not sure it is possible to get the contents of dmesg after the system is rebooted. However, you can check the contents of "journalctl" which is stored on disk and contains similar information (it is the login feature of systemd). This is preserved among reboot.
Last edited by olive (2015-11-07 09:48:44)
Offline
Thanks. I just discovered my plan doesn't work.
I'll use journalctl and see if I can finally get the relevant logs to my grub problem and come back here to say if this worked.
Offline
journalctl won't give you log of grub problems. Typically grub problems appears before the kernel is in memory or at least before the root is mounted (in case you pass a wrong "root=" option to the kernel). I don't think you can get any log from such problems. However reading what's on the console should give you an idea of what went wrong.
Last edited by olive (2015-11-07 10:25:09)
Offline
Thanks olive.
I already had the grub config file posted though.
Offline