LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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

Reply
 
LinkBack Search this Thread
Old 08-28-2002, 09:37 AM   #1
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Rep: Reputation: 30
crc error - wont boot from HD- help newbie


I got red hat 7.3 installed with no problem yesterday , but when I boot up the system I get a crc error-system halted message. This happens right after it says uyncompressing Linux. If I use the boot disk that I made during the install it will boot up and run just fine. It has done this since the first reboot after the installation so I know its not something that I changed or anything like that. What can I do to make this thing boot normally.

Please remember that I had never even seen a Linux system before yesterday so go easy on me.

BTW- there are no other operating systems on this machine. I let the install set up the particoins automatically if that matters.

Thanks
 
Old 08-28-2002, 11:19 AM   #2
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Looks like the sectors on which your kernel image is stored has bad( write something, read something else) sectors. When the kernel image uncompresses, it tries to make sure that it hasnt changed after it was built ( by data corruption like above, most possibly) , so it runs a crc ( cyclic redundancy check) which is a checksum it computes on itself and compares it with a previous value. If the checksums dont match, the system will halt.

What I would do is boot the machine from the floppy logon as root and copy the kernel image from the floppy as /boot/vmlinuz-floppy delete the current kernel image( if you dont know what it is, you can find it from the boot-loader conf files under the label you boot from ) and rename the vmlinuz-floppy to the kernel image that the boot loader will be looking for. If the names match, you wont need to edit your boot loader configuration files. But if using LILO, run /sbin/lilo so that it translates the current location of the vmlinuz*version* to sector/cylinder/head language and writes it to the boot sector of the current partition ( or MBR, if that's where you're writing it to)

Now reboot without the floppy and let us see what happens :>

Last edited by nxny; 08-28-2002 at 11:23 AM.
 
Old 08-28-2002, 07:03 PM   #3
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
Ok, I renamed the vmlimuz and initrd files refered to in the grub conf file then drug those 2 files from the floppy into the boot folder, then renamed them with the version numbers so that they match the grub conf file. Didnt work, still does the same thing. Did I do something wrong?
 
Old 08-28-2002, 07:26 PM   #4
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Grub should've picked it up on reboot from my understanding. I'm not the GRUB guy you're looking for.

So I guess you have two options in front of you:

1) Wait till someone with a better grub knowledge takes over.

2) Install lilo - stands for linux loader. It is the legacy boot loader for linux. It is simpler than GRUB to install and configure. Send me your partition table - type /sbin/fdisk /dev/hda (as root - assuming that you're using your master hard-drive on the primary IDE channel, if that doesnt work try hdb ) and print the partition table (command p) and then command q to quit. Also send me the file listing under /boot/ to start with. We'll go from there.

Last edited by nxny; 08-28-2002 at 07:33 PM.
 
Old 08-28-2002, 10:18 PM   #5
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
I ended up toasting the entire thing and reinstalled after I put in a better video card but it didnt like it and then I couldnt get the old card to configure right and now im in the prosess of reinstalling again. I plan to have the same error though because it wouldnt boot without the floppy last time either.
 
Old 08-28-2002, 11:07 PM   #6
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
Well Im back up and running but It still wont boot without the floppy. Any other ideas what to check?
 
Old 08-29-2002, 11:15 AM   #7
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
So which way are you going?
 
Old 08-29-2002, 11:41 AM   #8
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
I ended up puting the original video card back in the machine and reinstaling from scratch. I did exactly like I did the first time and let the install set up the particians automatically. Once the machine boots to the floppy then everything works great. With the benefit of hindsight, I should have installed LILO when I reinstalled but I ended up with GRUB because I didnt think of it until it was too late. So basically Im back where I started. I will try to get that partition table tonight. My Linux box is at home.
 
Old 08-30-2002, 12:20 AM   #9
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
OK, I got to the partition table but how do I copy the text out of the terminal window to post it?
 
Old 08-30-2002, 02:44 AM   #10
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
tc/profile.d/local.sh...Done.(03:05am)nnaFLOAT

You must be in X if you posted this message. Open up an xterm ( or compatible terminal ) and bring up the partition table info. The general X rule is that you use the left mouse button drag to select text, right drag to extend/reduce your selection and middle-click to paste it. No action is required on your part to copy your selection to the clipboard, the act of selection places the text in a cut buffer ( clipboard) automatically. Middleclick on the textarea on the browser to paste. If you dont have a middle mouse button try clicking both left and right at the same time. For this you should have Emulate3buttons turned on. If that doesnt work , add the two lines (find section "InputDevice") your /etc/X11/XF86Config-4

Section "InputDevice"
# existing options.....
# ..................
# .......................
Option "Emulate3Buttons" "on"
Option "Emulate3Timeout" "150"
EndSection

Last edited by nxny; 08-30-2002 at 06:09 AM.
 
Old 08-30-2002, 08:38 AM   #11
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
I will try it again tonight. I selected the text but couldnt find the copy command and ctl+c didnt seem to work. I didnt know about the middle mouse button.

thanks
 
Old 08-30-2002, 12:11 PM   #12
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
Disk /dev/hda: 128 heads, 63 sectors, 781 cylinders
Units = cylinders of 8064 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 52384+ 83 Linux
/dev/hda2 14 700 2769984 83 Linux
/dev/hda3 701 781 326592 82 Linux swap


That middle click thing is so cool, allways wondered why mice had three buttons.
 
Old 08-30-2002, 12:46 PM   #13
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Now I need your file listing under /boot
 
Old 08-30-2002, 12:55 PM   #14
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
At the risk of sounding redundent, how do list that out from a command prompt?
 
Old 08-30-2002, 01:29 PM   #15
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
ls -Al

see man ls.
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
crc Error ?? Hedon Debian 2 10-15-2005 07:54 AM
CRC Error ghight Linux - Hardware 0 02-07-2005 08:13 AM
How, what, and/or why is a crc error ?? TheHushedCaskeT Linux - Software 1 02-02-2005 07:01 PM
Gentoo Live Cd Wont boot and gives error damoncf Linux - Newbie 3 11-11-2004 11:59 PM
CRC error on boot grahamfsw Slackware 1 09-08-2003 07:36 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration