LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-29-2005, 09:19 AM   #1
aussie90
LQ Newbie
 
Registered: Aug 2005
Location: mel.au
Distribution: FC
Posts: 6

Rep: Reputation: 0
About getting the boot logs


Hi, all,

Ok, after spending a whole day on this, need to get some help.

I had a dual boot xp/FC2 and upgraded to FC4 a couple of days ago. For my own stupidity I accidently erased xp and spent 2 days to reinstall it plus grub.

So now grub works fine and I can boot to xp and 2.6.11-1.1369-FC4smp and 2.6.11-1.1369-FC4. The problem is with FC4 part:

1. After finally get to the log-in window,
1) keyboard not responding (though mouse responds)
2) cant get my network working (i can see that from the machine name: under FC2 I can see machine_name.domain since I work in a network and get my ip using DHCP; now I can only see localhost.local domain)
3) I can't use kb to type "I" during boot process to see interactively, though I do see some errors both boot and reboot;
4) in "log-in" window I can click "restart" but it hangs untill I move mouse a little, then it will reboot.

2. Now if I use a linux rescue (I have FC3 CD, I upgrade to FC4 using hard drive upgrade), then kb, network are both fine.


Now my questions are: How can I check the log message during the boot process? (I checked /var/log/*, it seems not to have the messages I observed and seems nothing wrong there)

Or what command I should use to get this info?

By the way, my machine is a standard Dell Precision 450 machine. Intel Xeon 2.8Ghz, 2G RAM, 2 LSI Logic 136G SCSI hard drive (one OS each). USB mouse, USB KB.

Thanks a lot.
 
Old 08-29-2005, 02:25 PM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
You are probably looking for /var/log/dmesg. From the terminal with root privileges, run:

dmesg

Regarding an easy way to view logs, the log viewer (system-logviewer) was left out of FC4, because it is being rewritten (gee.., why not leave the kernel out, too?), but you can install the one from FC3 and it will work fine. For i386, system-logviewer-0.9.11-1.noarch.rpm can be found here:

http://download.fedora.redhat.com/pu...s/Fedora/RPMS/
 
Old 08-29-2005, 06:13 PM   #3
aussie90
LQ Newbie
 
Registered: Aug 2005
Location: mel.au
Distribution: FC
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks a lot, WHN. I will take a look again when I get to the office.

Do you mean I can install rpm for logviewer (I really need one after reading these logs for so long) in linux rescue mode?
 
Old 08-29-2005, 08:21 PM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
Oops! That would be hard to do from rescue mode, but dmesg should work, if you can mount the installation.


But is it really worthwhile trying to fix a broken installation or should you just stop and do a fresh install of FC4?


If by “upgrade” you mean using the upgrade option to install FC4 on top of FC2, as opposed to doing a clean installation, then you may have so much stuff messed up, that it would save you time to do a clean FC4 installation.

I tried to upgrade several FC3 installations to FC4 by using the installation CDs or by using yum after installing FC4 fedora-release, just to see what would happen. In every case, something wouldn’t work correctly or something was missing. Actually, in every case, there were lots of “somethings”.

Could they be made to work? Yes, I could get every one to run more or less correctly.

Did I save any time doing the upgrades? Absolutely not, even if you exclude the time spent fixing the problems. In the end, I dumped all of the upgrades and did clean FC4 installations.

It’s probably not that different from doing windows upgrades, but linux is so much easier to configure after an installation than windows is, that it’s just not as painful to do a fresh install of linux as it is to do one for windows.

You just have to weigh how much time you’re willing to spend cleaning up the upgrade mess against the time you are going to spend doing a clean install. At least you know in advance that the second option should work out OK.
 
Old 08-29-2005, 09:06 PM   #5
aussie90
LQ Newbie
 
Registered: Aug 2005
Location: mel.au
Distribution: FC
Posts: 6

Original Poster
Rep: Reputation: 0
I see your point...

That I did an upgrade (as you have rightfully guessed) to FC4 on top of FC2 is because I don't want to mess up with my old data there. And I had the impression that upgrade will do so while a clean installation basically will wipe out all my previous data. If I need to do a clean installation each time, I have to transfer data from my backup each time... hmmm, maybe I can reinstall (instead of upgrade) without losing my data, let me read some more...

Thanks a lot WHN.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot errors; can't find them in logs itzfritz Linux - General 1 11-15-2004 04:04 PM
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 03:22 PM
boot message and dmesg and logs aus9 Slackware 4 01-28-2004 02:27 AM
how to view logs of boot up? koyi Linux - Newbie 4 08-02-2003 04:32 AM
boot logs in mandrake 8.2 UlberMelder Linux - General 2 12-16-2002 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:10 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration