LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 11-10-2004, 01:42 AM   #1
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Dualbooting problem


I just installed Mandrake 10.1 on my box which already has Fedora Core 1 on it. The only problem is that every time I boot up my computer, Fedora comes up! It only allows me to boot from Fedora, and doesn't even give me a chance to boot from Mandrake. Can someone please tell me what to do, because the only other things I've seen about dualbooting are with Windows and Linux, never Linux and Linux. Anyway, could you please tell me what to do so that on start-up I can have the choice to boot from Mandrake 10.1 or Fedora Core 1? I'm using Fedora's boot loader (GRUB). I know how to change to LILO if you want me to.

I know that Fedora Core is on hda1 and Mandrake: "/" is on hda6, "/home" is on hda7.

Someone on Antionline told me to do this: so here's what I typed into /boot/grub/grub.conf:

Code:
title='Mandrake'
root(hd0,5)
kernel /2.6.8.1 root=/dev/hda6
There is one problem though - I have looked in /dev and "hda6" doesn't appear to be there.

When I tried rebooting my box to see if it worked, this error message shows up:

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...
In bash, "fdisk /dev/hda", showed up "hda6 ........ Linux" & "hda7........Linux".

hda6, according to the Mandrake custom partitioner, was the "/" partition.

I have been told to type in the kernel's exact filename, not just the version number (in grub.conf), but if I can't boot into Mandrake or mount it's hard drive how can I find that out? Any help would be appreciated. Thanks in advance,

J_K9
 
Old 11-10-2004, 02:49 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
The grub shell has an autocompletion feature, so you can type in the first part:
kernel (hd0,5)/boot/vmlinuz

Pressing the tab key will show you all of the files which match the pattern. Mandrake may have a link /boot/vmlinuz pointing to the actual kernel file.

Then do the same thing for
initrd (hda0,5)/boot/initrd

and enter the line for root:
root (hda0,5)/

Then type in 'boot', press the enter key, and cross your fingers.

If it loads up, you might want to create a mount point for the RH root partition, so you can edit the /boot/grub/menu.lst file to reflect the corrections.
(Assuming that you will use the original boot loader)

Only update the boot loader on one of the systems so you don't have a case of dueling boot loaders.

Last edited by jschiwal; 11-10-2004 at 03:12 AM.
 
Old 11-10-2004, 05:43 AM   #3
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
The GRUB shell??? I just open the grub.conf file in gedit, but when I press tab it just goes to the next tab instead of coming up with the kernel name/number etc...

Could you please tell me how to open/use the GRUB shell? Is it accessed through the terminal? Thanks a lot for your help so far,

J_K9
 
  


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
an idea for dualbooting sunowww Linux - General 1 12-15-2004 01:00 AM
Dualbooting again, again, again... Procrastinator Linux - General 4 10-28-2004 11:04 AM
Suse 9.1, XP, Hidden drive, dualbooting problem Greyfoxwolf Suse/Novell 1 10-14-2004 01:51 PM
Problem with dualbooting win2k and linux eaglegst Linux - General 1 06-29-2004 06:50 PM
Problem dualbooting XP and Linux. Lilo isn't cutting it... Lepinski Linux - Newbie 5 04-05-2004 07:40 PM


All times are GMT -5. The time now is 06:56 PM.

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