Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153
Rep:
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.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
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 :>
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153
Original Poster
Rep:
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?
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
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.
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153
Original Poster
Rep:
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.
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153
Original Poster
Rep:
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.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
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
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153
Original Poster
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.