LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   When Linux boots (https://www.linuxquestions.org/questions/linux-newbie-8/when-linux-boots-4175461200/)

babalink 05-08-2013 03:54 PM

When Linux boots
 
When Linux is booting and it shows what is starting is there a way to slow down the process so I can read it and understand whats going on? Thank you.

spiky0011 05-08-2013 04:00 PM

Hi

Have you looked in /var/log

There is a boot log file amongst others

parnmatt 05-08-2013 04:04 PM

You should have done a search here before posting.
Read this thread.

jpollard 05-08-2013 04:06 PM

You can also review it using dmesg.

The only way I know to slow it down a bit is to use a serial console to another system. Then you use that other system to record what is going on.

It is overly awkward, but Linux is fast - the messages are not intended for real time analysis, but most are recorded for post processing (dmesg and the /var/log/message file).

chrism01 05-08-2013 06:36 PM

Normally you'd check the log files as indicated above, see also boot.log.
However, you can hit the 'i' key early on in the boot sequence and it'll go interactive for at least part of the startup.
It'd be pretty tedious though ;)

EDDY1 05-08-2013 09:23 PM

Quote:

Originally Posted by jpollard (Post 4947442)
You can also review it using dmesg.

The only way I know to slow it down a bit is to use a serial console to another system. Then you use that other system to record what is going on.

It is overly awkward, but Linux is fast - the messages are not intended for real time analysis, but most are recorded for post processing (dmesg and the /var/log/message file).

The only thing about dmesg is that it is a long list & most newbies don't know that when you're in terminal you have to go to Edit>>Profile>>Preference>>Scrolling & select "Unlimited Scrolling" to view everything in terminal.

aajoob 05-09-2013 12:16 AM

try either of the following commands
$ dmesg | less
OR
cat /var/log/boot.log | less
you can execute the above commands as normal user
OR
you can check the /var/log/messages file. you need to be root to be able to access this file.

EDDY1 05-09-2013 12:25 AM

Or enable "Unlimited Scrolling"


All times are GMT -5. The time now is 06:53 AM.