LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 05-04-2005, 07:24 PM   #16
LDZ420
LQ Newbie
 
Registered: Apr 2004
Location: Fontana, California
Distribution: Ubuntu
Posts: 27
Blog Entries: 1

Rep: Reputation: 15

I'm sorry about my last post when I think about it hd1 can be on the first controller because one ide controller is able to connect to 2 devices.

Regardless, the question that a posted still stands.

Is Centos on a different hard drive then Fedora or is it on the same one?

Sorry just another rookie mistake
-Landon
 
Old 05-04-2005, 07:33 PM   #17
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Original Poster
Rep: Reputation: 31
i have a 200gb hdd
90gb allocated to windows (hdb1)

the remainder of the drive as follows

/boot for fedora (hdb2)
/home hdb3
hdb4 extended partition approx 78gb
/root for fedora 8gb hdb5
swap hdb6
hdb7 /boot for centos
hdb8 /root for centos

hope that helps. i also tried
title Centos
root (hd0,7)
kernel /vmlinuz-2-6-9-5.0.3 ro root=/dev/hdb8

however , i get the error " partition not found" so i guess im moving in the right direction. any suggestions
 
Old 05-04-2005, 07:46 PM   #18
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Now I am getting confused...too.

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.

Quote:
title Centos
root (hd0,7)
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...

try this,

kernel /boot/vmlinuz-2-6-9-5.0.3 ro root/dev/hdb8

Edit: my apologies if i've given you wrong directions...
 
Old 05-04-2005, 08:04 PM   #19
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Original Poster
Rep: Reputation: 31
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.
 
Old 05-04-2005, 08:14 PM   #20
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Original Poster
Rep: Reputation: 31
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
 
Old 05-04-2005, 10:46 PM   #21
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
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.

Tux,
 
Old 05-05-2005, 07:33 AM   #22
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Original Poster
Rep: Reputation: 31
i'll look into that when i get back from work
 
Old 05-05-2005, 09:05 AM   #23
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
And another question: Are you sure that the installation didn't create a seperate /boot partition? Have you run "fdisk -l" in FC3 to list your drives and partitions? ("fdisk" need to be run as root.)
 
Old 05-05-2005, 04:41 PM   #24
LDZ420
LQ Newbie
 
Registered: Apr 2004
Location: Fontana, California
Distribution: Ubuntu
Posts: 27
Blog Entries: 1

Rep: Reputation: 15
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)
/home hdb3
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


-Landon

Last edited by LDZ420; 05-05-2005 at 04:49 PM.
 
Old 05-05-2005, 05:46 PM   #25
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Original Poster
Rep: Reputation: 31
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
 
  


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
grub question kpachopoulos Fedora 1 09-05-2005 10:39 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
Grub Question ZingSter Linux - Software 4 10-04-2004 04:09 PM
Grub Question FedoraFan Fedora 1 10-03-2004 07:17 PM
A GRUB question... concoran Linux - General 15 04-27-2003 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:32 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
Open Source Consulting | Domain Registration