Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Snake do you have one hard drive or two hard drives...If you have one hard drive (which i think is the case) then your hard drive can not be hdb, it should be hda. This also seems to be the case if you see what LDZ420 pointed out.
All your kernel images point to hd0 which is the first hard drive (hda)...if they were hd1 then it would be hdb1.
kernel /vmlinuz-2-6-9-5.0.3 ro root=/dev/hdb8
I think you are just missing the exact location of the kernel image. I believe it is wouldn't be in the root partition but in the /boot directory...
kernel /boot/vmlinuz-2-6-9-5.0.3 ro root/dev/hdb8
Edit: my apologies if i've given you wrong directions...
hey tux, thanks for your help. just to clear things up, i only have one drive. i have no idea why is hdb and not hda. come to think about it, its kinda of weird.
let me try your suggestion see if i get somewhere. hate to keep bothering you, but can you explain the paramaters needed in grub so that i can have a better understanding of what im doing.
below is my partition table, maybe this can help clear things a bit more. a brief summary of what i did, created a /boot partition for centos but did not install grub during installation. created a /root partition for centos. im sharing the /swap and /home so i did not created them during installation. by the way , i tried your last suggestion and im getting " file not found" .
e]# /sbin/fdisk -l
Disk /dev/hdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 12473 100189341 7 HPFS/NTFS
/dev/hdb2 12474 12505 257040 83 Linux
/dev/hdb3 12506 14417 15358140 83 Linux
/dev/hdb4 14418 24321 79553880 5 Extended
/dev/hdb5 14418 15437 8193118+ 83 Linux
/dev/hdb6 15438 15533 771088+ 82 Linux swap
/dev/hdb7 15534 15552 152586 83 Linux
/dev/hdb8 15553 16572 8193118+ 83 Linux
I think your problem is locating the kernel image...I suggest you look for it thoroughly...your grub is giving error "file not found" because you are pointing it to a place where there is no kernel image.
Ok as you remember I am a rookie so I'm not sure if im on to something. But I looked at your previous post and something stuck out.
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hdb5
# initrd /initrd-version.img #boot=/dev/hdb /*drive that grub looks for kernel*/
/boot for fedora (hdb2)
hdb4 extended partition approx 78gb
/root for fedora 8gb hdb5
swap hdb6 hdb7 /boot for centos
hdb8 /root for centos
Now I am not sure, so someone correct me if I am wrong. But maybe grub looks for boot partition finds /boot for fedora (hdb2) and then it says I canít find that Centos kernel.
Forget this. Iím out. And then gives you the "file not found"?
Iím not sure like I said Iím just a rookie. But maybe you should just have one boot partition and just have your kernel reside in there [/boot for fedora (hdb2)]?
// Side note
Another thing that came to mind is that you may have one hard drive but it is connected to the 2nd set of connectors. ( IDE cables have 2 connectors) this could be how you have one hard drive but Linux says that it is hdb and not had. Not sure but possible
thanks for the help, but i think i'll re-install centos again and allow grub to install this time around. i'll copy my current grub.conf file from fedora so i can add that info after i install centos again. hopefully this will work. i'll keep reading about grub though