You are not logged in.

#1 2009-12-06 10:28:10

warnec
Member
From: Poland
Registered: 2009-06-22
Posts: 166

How can I save verbose booting message?

I know I've got a couple of [FAIL]s when booting my system. I'd like to be able to save verbose info (not just FAIL) as a text file somewhere on my filesystem for review (obviously, I don't have enough time during system booting)

How can I do that?

Offline

#2 2009-12-06 10:44:01

Nuz
Member
From: Latvia
Registered: 2008-11-29
Posts: 50

Re: How can I save verbose booting message?

I think dmesg is for that.

dmesg > bootup.txt

Arch64 | some tiling wm

Offline

#3 2009-12-06 10:44:11

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: How can I save verbose booting message?

/var/log/dmesg.log
?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2009-12-06 11:47:12

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: How can I save verbose booting message?

warnec - it depends what is failing. dmesg, as suggested above, is all kernel related. If you have failing daemons, you would need to modify their init scripts in /etc/rc.d to redirect the output as required - typically all output is sent to /dev/null.

Offline

#5 2009-12-06 13:24:59

warnec
Member
From: Poland
Registered: 2009-06-22
Posts: 166

Re: How can I save verbose booting message?

Well, I've got two fails - one for "Initializing swap partition" and second just 0,5s before running KDE4's splash about some problem with one kde4's .so file (but it passes so quickly I'm not able to see it)

I tried searching dmesg.log for "swap" but no results.

I guess /dev/null means "delete it"?

Last edited by warnec (2009-12-06 13:26:22)

Offline

#6 2009-12-06 13:27:25

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: How can I save verbose booting message?

See this wiki page:  http://wiki.archlinux.org/index.php/Pos … ot_Process

Also, is your swap assigned correctly in /etc/fstab?

For example:

/dev/sda8       swap    swap    defaults    0    0

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2009-12-06 17:37:05

warnec
Member
From: Poland
Registered: 2009-06-22
Posts: 166

Re: How can I save verbose booting message?

It's about as improper as it can be big_smile

UUID= swap swap defaults 0 0

PS.:

[warnec@chakra-desktop ~]$ sudo fdisk -lu
Hasło:

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000001

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    42078959    21039448+   7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2        42079084   625121279   291521098    f  W95 Ext'd (LBA)
/dev/sda5        42090363   125981729    41945683+   7  HPFS/NTFS
/dev/sda6       147072303   594004319   223466008+   7  HPFS/NTFS
/dev/sda7       594019503   617088779    11534638+  83  Linux
/dev/sda8       125981793   136472174     5245191   83  Linux
/dev/sda9       136472238   147059009     5293386   83  Linux
/dev/sda10      617088843   625121279     4016218+  82  Linux swap / Solaris

Partition table entries are not in disk order
[warnec@chakra-desktop ~]$

Offline

#8 2009-12-06 17:50:45

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: How can I save verbose booting message?

In the last two machines I've built I got the  swap file made with the same format:
UUID= swap swap defaults 0 0

and in both cases the swap did not get mounted.
I used the "old" style as shown igrayskyn post and they both ended up working fine afterward...

R.

Offline

#9 2009-12-06 18:05:45

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: How can I save verbose booting message?

I never understood the uptake of UUIDs.  If you don't wanna screw up stuff, use labels, ie LABEL=Arch and LABEL=Data, etc. etc.  At least the label is descriptive to the user as as long as the user doesn't duplicate labels, serves the same purpose as UUIDs.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#10 2009-12-06 19:41:12

warnec
Member
From: Poland
Registered: 2009-06-22
Posts: 166

Re: How can I save verbose booting message?

Ok, thanks

Note: I didn't use UUIDs, it's the Chakra installer which did save them to /etc/fstab.

How about other questions, though? Where can I get other messages? (The error of KDE's .so library, which appears right after "Starting KDE Display Manager")

Offline

Board footer

Powered by FluxBB