-
Shrekkie: do you mean to show you my /boot dir in hda1 (Fedora Core 1) or hda6 (Mandrake), because it doesn't let me mount hda6 (or I just don't know how to do it properly! ) :D ). When I booted into Fedora and typed in
Code:
ls -l /boot
....
grub
initrd-2.4.22-1.2115.nptl.img
....
vmlinux-2.4.22-1.2115.nptl -> ../lib/modules/2.4.22-1.2115.nptl/vmlinux
vmlinuz -> vmlinuz-2.4.22-1.2115.nptl
vmlinuz-2.4.22-1.2115.nptl
But that is /boot in Fedora. I don't know how to get Mandrake's one...
Thanks,
J_K9
-
Hrmm, did you let Mandrake setup a different /boot ?
If so you can change the boot-first value to the hda6 in the bios, that way it'll start from the mandrake hdd.
but that doesn't solve your problem.
Let me try to help.
So you have the mandrake entries in your grub.conf.
Code:
title='Mandrake'
root(hd0,5)
kernel /<the-kernel-image-in-the-hda6/boot> root=/dev/hda6
So,
Let the bios thus boot first from your Mandrake hdd. Once in Mandrake list and write down whats in your boot dir.
Reboot and reset to boot from fedora again. Change the above kernel-mage line with the kernel-image you found in Mandrake. Make sure you always type "mount /boot", before you list the /boot, otherwise it might show just nothing in there.
That should do it. ;)
-
Thank you very much, I completely understand what you said. But there seems to be just one conflicting problem: if I change Fedora Core in the grub.conf file to boot up from:
Code:
root (hd0,5)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdc=ide-scsi rhgb
initrd /initrd-2.4.22-1.2115.nptl.img
Then it is telling it to boot from Mandrake Linux, with Fedora's kernel filename and version. Wouldn't that then mean that I couldn't boot up either of them? I new to linux, so I'm sorry if I'm misusnderstanding you. Thanks,
J_K9
-
NO no,
Don't change the fedora entry. You had an Mandrake-entry in your grub.conf of your fedora partition.
Just change that entry.
You want your system to boot off the fedora-bootloader, but you want fedora to point the right direction to the mandrake, therefore you need the right kernel-image of the mandrake system ;)
Cheers
**EDIT Don't worry, we all were linux-n00bs once, and i know i liked it back then people helpeing me too.
The world can learn alot from the linux-community. That aside.
-
OK at the moment here is everything in my grub.conf file (exc. the comments):
Code:
default=0
timeout=50
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core 1
root (hd0,0)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdc=ide-scsi rhgb
initrd / /initrd-2.4.22-1.2115.nptl.img
title=Mandrake 10.1
root (hd0,5)
kernel /**I will change this when boot into Mandrake and back into Fedora** root=/dev/hda6
That's all that is in there. Plese feel free to quote and alter what you think I need to alter now to boot into Mandrake. Thank you very much for everything,
J_K9
-
Looks ok for me.
Try it out ...
Although it might be possible we need to change the "root (hd0,5) " part to the /boot partition of the mandrake distro, but we'll see for that later.
-
Nope, this still says:
Code:
Booting 'Mandrake'
root (hd0,5)
Filesystem type is ext2fs, partition type 0x83
kernel /2.6.8.1 root=/dev/hda6
Error 15: File not found
Press any key to continue...
So this is what I have in my grub.conf file as mentioned above (note that "kernel" under mandrake is still just the version):
Code:
default=0
timeout=50
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core 1
root (hd0,0)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdc=ide-scsi rhgb
initrd / /initrd-2.4.22-1.2115.nptl.img
title=Mandrake 10.1
root (hd0,5)
kernel /2.6.8.1**I will change this when boot into Mandrake and back into Fedora** root=/dev/hda6
[EDIT]
Also, would I also need to specify an "initrd" for Mandrake (I dont have a clue what it is, but just curious if it is needed :D.
[/EDIT]
Thanks,
J_K9
-
ok then try this,
You needed the kernel-image anyway.
Code:
title=Mandrake 10.1
root (hd0,x)
kernel /2.6.8.1**I will change this when boot into Mandrake and back into Fedora** root=/dev/hda6
Change the x in root(hd0,x) with the /boot partition equivalent from your mandrake installation.
Where /dev/hda6 would be root(hd0,5) and for.ex /dev/hda4 would be root(hd0,3)
Lemme know or join me on irc, read my sig.
*** the initrd is not necessary to boot, it just makes it look nicer. btw did you remove the **note*** in your kernel-line ?
-
Quote:
Originally posted here by .: Shrekkie :.
Lemme know or join me on irc, read my sig.
You don't have one Shrek! :)
I wasn't very clear, I apologize. J_K9, do you remember whether you have a separate partition on your HDD for the Mandrake /boot, or is it under the root partition? It is important because you need to be pointing out to the correct partition in order for grub to get the right kernel image booting.
-
/boot is within the root partition ("/") (hda6). Basically, Shrekkie gave me a renewed grub.conf file which was customised to my system (because with his help I managed to find out the details and passed them on to him: thanks Shrekkie!). But now, when I select Mandrake at the start-up, I get about a page and a half of lines scrolling down and then it just stops. Here are the last 5 lines:
Code:
PCI: PCI BIOS revision 2.10 entry at 0xfd7ae, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: IRQ10 SCI: Edge set to Level Trigger.
And there it just jams: and I have to power it down manually.
Attached is the grub.conf file which I copied and pasted into my own grub.conf file. This file was customly made for me by Shrekkie, and for that I give him my thanks. If you have realised that maybe I need to add something to the file then please just let me know, and I will do it, if it will make Mandrake boot up fully like it should. Thanks to all of you who have helped me get this far!
J_K9