LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Closed Thread
  Search this Thread
Old 05-10-2016, 02:45 AM   #1
rocket42
LQ Newbie
 
Registered: Mar 2012
Location: Hanoi,Vietnam
Posts: 23

Rep: Reputation: Disabled
how to logging messages when booting is hanged


hello everyone
I am building my own custom OS. when I build it completely
I boot it on my laptop but booting is hanged, is not successfully
On laptop's screen I only see a few lines of messages which are not enough to diagnostic cause of problem.
So I want to view more or even logging messages as soon as it start booting
please show me how to do it.
thank you very much!
 
Old 05-10-2016, 05:50 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,494
Blog Entries: 19

Rep: Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410
Try adding the kernel command line: loglevel=n

This determines the verbosity of kernel boot-up messages. n is between 0 and 7. loglevel=0 means don't print anything, loglevel=7 means print any single detail. Default is n=3.
 
Old 05-10-2016, 07:59 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Moderator response

This thread is closed. Please continue in http://www.linuxquestions.org/questi...es-4175579394/
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
logging messages from my program doesn't reach /var/log/messages rajas Programming 4 09-18-2011 12:38 AM
Mandriva installation: It did everything but hanged at booting Rohini Linux - Newbie 7 11-24-2006 08:50 AM
system is getting hanged during booting process b0nd Linux - Newbie 5 04-14-2005 06:08 AM
console logging messages srns Red Hat 2 09-13-2004 04:18 PM
Logging kernel messages ugenn Linux - Software 8 01-04-2003 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration