LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-25-2004, 03:45 PM   #1
teh_truth
LQ Newbie
 
Registered: May 2004
Posts: 6

Rep: Reputation: 0
boot option menu


Hello,

I have recently installed mandrake 9.2.

Now i have one partion with XP (which where there first) and one partion with linux.

The thing is that after the completion of my installation I'm not getting a boot option menu, the one asking me if i would like to start linux and xp when i start my computer, xp just starts right away.

And the only OS i have in my MBR is XP.

My question is how do i fix this, i want to be able to choose (and of course start it all together), i guess there must have been some wrong settings in the boot-loader (lilo) or something like that.

Big thanks in advance.

/Jim
 
Old 05-25-2004, 03:54 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Check if you have grub. Under mandrake go to /boot/grub

If that directory exists. Just do /sbin/grub-install /dev/hda (this will install the bot loader into your MBR).

reboot
 
Old 05-25-2004, 03:56 PM   #3
teh_truth
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
ok thanx marghorp, sounds good.

btw, how do i get into linux without this menu, can i do it from cd1?

it may be a stupid question but i really dont have much of a clue
 
Old 05-25-2004, 03:57 PM   #4
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
first, make sure you have a boot disk for windows, just in case


ok, get to a dos prompt by booting your xp machine and pressing f8 and hitting command prompt (or something close to that)

then run fdisk
list your partitions, and set the partition that is approximately 104391 blocks in size as active, thinking theoretically, this probably is hda2

on reboot, this should allow you to boot grub and get the options you want, lemme know if this doesnt work, and MAKE SURE YOU HAVE YOUR BOOT FLOPPY HANDY IN CASE THIS DOESNT WORK
 
Old 05-25-2004, 04:00 PM   #5
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
I think FC2 has only the rescue cd. However you can try CD1 and linux rescue if that works. I am not sure.
 
Old 05-25-2004, 04:00 PM   #6
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
yes you can get into linux using cd1, its called linux rescue, at the boot: prompt, type in
linux rescue

then at the terminal, type in
chroot /mnt/sysimage
then you can run the thing above that he said
 
Old 05-25-2004, 04:01 PM   #7
teh_truth
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
great, im off to try this
 
Old 05-25-2004, 04:02 PM   #8
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Oh sorry, I am just so in FC2 that I am talking about FC2. When in fact you have MDK. Sorry.

However the steps should apply all the same if using grub. Which you will find out. If using LILO, well someone will help you.
 
Old 05-25-2004, 04:27 PM   #9
teh_truth
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
it seems that i couldn't do chroot /mnt/sysimage
 
Old 05-25-2004, 04:31 PM   #10
teh_truth
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
maybe i should just try to re-install and go with grub right away?
 
Old 05-25-2004, 04:33 PM   #11
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Maybe you don't have to. Did you read the instructions on screen, If any?

Maybe MDK has already chrooted to the root.

Try this:

su
<your root password here>
updatedb
locate grub.conf

This should tell you if and where you have grub.conf file, not depending on if you chrooted or not. If this does not produce any results. Try:

locate lilo.conf

One of these should produce results. Post here which will produce results.
 
Old 05-25-2004, 04:33 PM   #12
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
reinstall with grub, that seems easiest, if u dont want to lose any data, dont format any other partitions except the /boot one

btw, you dont have to do updatedb then do locate
you can use find

find / -name filename

in your case

find / -name lilo.conf
or
find / -name grub.conf

Last edited by adamwenner; 05-25-2004 at 04:35 PM.
 
Old 05-25-2004, 04:34 PM   #13
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Quote:
Originally posted by teh_truth
maybe i should just try to re-install and go with grub right away?
Did you or did you not install any boot loader at installation?

If you didn't, then it is useless to try to find the lilo.conf or grub.conf files. There will not be any. You will have to use the boot disk in that case.
 
Old 05-25-2004, 04:37 PM   #14
teh_truth
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
in my oppinion i did install the lilo one

anyhow.. thanx guys!

i will try the other thing you said and se if i get any response.
 
Old 05-25-2004, 04:38 PM   #15
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
ok
 
  


Reply



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
Fluxbox Menu option for 'Mount' TomalakBORG Linux - Software 9 05-18-2005 12:37 PM
Whatever happened to the kill menu option... audibel Linux - General 2 04-14-2005 07:47 PM
Dual Boot : Making Windows First Option in boot menu Maxwell Rain Linux - Software 3 11-27-2004 03:00 PM
Adding menu option (to GNOME) podollb Linux - Software 2 10-23-2004 07:33 PM
Adding an option to the SUSE 8.2 Boot Menu greendemon Linux - Newbie 1 07-19-2003 09:44 PM

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

All times are GMT -5. The time now is 12:40 AM.

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