You are not logged in.
I had a recent strange experience where some hardware failed - my best guess is a small power surge that reset the CMOS time on my motherboard to the manufacture date. After that, I couldn't successfully boot Arch to a graphical environment. I eventually found out it was because the last hard drive mounts occurred too far in the future.
But, it was really quite difficult to find out. I tried to alter my grub boot entry by appending the number 3 on the end for runlevel 3, no luck. I tried to disable my .xinitrc and login manager, but that didn't seem to work either. I tried to boot gparted-live cd but even this wouldn't boot properly. It would show the typical Linux boot process, all until it switches from output text to a graphical, and then the screen would just stay black. My best hope was to use the Arch installation disk, which gave me a root prompt. I eventually got a connection to an ntp server and fixed things right up, once it was diagnosed.
It got me thinking, how could I actually boot up a different distro and read the Arch journalctl? If I open the file in an editor like nano it isn't human-readable.
Last edited by farmerdave (2012-12-11 10:42:26)
Offline
Reading journal files from an arbitrary location is supported according to the journalctl man page:
--directory=, -D
Takes an absolute directory path as argument. If specified journalctl will operate on
the specified journal directory instead of the default runtime and system journal
paths.Assuming that the different distro has a journalctl binary whose version is compatible with Arch's systemd-journald, it should work.
Offline
The man page says
--directory=, -D
Takes an absolute directory path as argument. If specified journalctl will operate on the specified
journal directory instead of the default runtime and system journal paths. I assume that as long as the distro you are using on the live cd has systemd you can just enter the full path to the file.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Thanks for the responses.
Offline