PDA

View Full Version : [SOLVED] How to get a hold of error logs in a live usb environment


quickridge
1st May 2012, 03:13 AM
I am currently having issues booting into Fedora 17's live USB environment on my macbook pro. All the details that I know at this point are found in the bug report I filled: https://bugzilla.redhat.com/show_bug.cgi?id=814975

The person assigned to the bug asked for me to post my "dmesg
output, and whatever X logs are in /var/log after you've tried to boot."

So my question is how do you get at those logs in a live CD (or USB) environment? Is there a way to get them redirected to another drive or somewhere on the USB itself? If not, is there a way to get ahold of the command prompt when the booting process hangs (although not completely frozen since ctrl+alt+delete will still restart the system)?

Thanks in advance.

DBelton
1st May 2012, 04:17 AM
From the looks of things by reading through your bug report, it appears you are getting far enough along in the boot process that the consoles should be available to you.

When it hangs, try hitting Ctrl-Alt-F2 (Or it could be any of the Fn keys F2 through F7) to get to one of the console screens. If you can get one of those to come up, sign in as root and then you can get to the logs from there.

to get the dmesg output, you can just run dmesg from the command line. Your X logs will be in /var/log/Xorg.0.log and you may also be able to get some useful information from /var/log/messages

quickridge
1st May 2012, 05:22 AM

Thanks for the help, 'ctrl-alt-f2' worked great.