Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

My Arch install throws up a red error when booting but I can't see what it says because it flies by so quickly during loading. Where is the boot log? Would it be somewhere in /var/log? or maybe in /boot?

Would much rather see the log text file than the scroll lock trick.

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

The kernel does not have a filesystem to write to during most of boot, so if the boot failed, you may be out of luck. However, it does keep a log in memory (including what you see on the console) and once it does have a rw fs, that stuff is dumped into /var/log/syslog.

You can also view the kernel log starting from the beginning with dmesg (probably you want to use dmesg | less).

However, I don't think the kernel uses colored emphasis (in any case, the color itself won't be in a log), implying this is a system service. Some of those also start before a rw filesystem is available, and if that's the case, there may be no record of the message at all. Otherwise their stuff should also be in /var/log/syslog.

You can also try SCROLL LOCK, or ctrl-S (pause) ctrl-Q (continue) during boot. There's also a "boot_delay" parameter that can be put on the kernel command-line (e.g. in grub.conf).

From src/Documentation/kernel-parameters.txt:

boot_delay =  Milliseconds to delay each printk during boot.
              Values larger than 10 seconds (10000) are changed to
              no delay (0).
              Format: integer

Hopefully at least one of these works for you.

share|improve this answer
    
Yes! This absolutely worked. You were right about the coloring and service. It was a display manager service that was set to run, but I must have deleted the file. Thank you! –  Edgar Aroutiounian Aug 17 '13 at 15:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.