LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-25-2005, 09:34 PM   #1
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Rep: Reputation: 15
Question system boots to Windows XP


I just installed Fedora core 4. I wanted a dual boot. Now my system just goes straight to XP, i do not get an option to choose which OS to boot.

When I installed FC4 I did not put it onto the part of the MBR that effects NT like systems.

How do i get the system to

1 boot to Fedora
2 give me the option which OS to boot in the future?

Thank you!
 
Old 11-25-2005, 10:16 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
You chose to install FC with the bootloader installed to the root of the FC partition instead of the MBR. The only way to boot FC now is from the install cd (choose the option that lets you boot from harddisk, if there is one) or create a boot floppy and use that EVERY time you want to boot FC.

If, during installation, you had chosen to install the bootloader to the MBR, FC would have written the grub.conf file to show you options on a boot menu: windows or FC. Now, if you boot into FC from cd, you will have to install grub to the MBR, and manually edit grub.conf to make the correct entries to show you both FC and windows on boot.

Search these boards on 'dual boot' issues. You will find the exact entries to make in grub.conf to make it work after installing grub to the MBR.

Since you are using FC, search also for 'grub install' to find out how to get grub to the MBR, and have both OSs avaialble at boot time.
 
Old 11-25-2005, 10:41 PM   #3
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Original Poster
Rep: Reputation: 15
Question

Thank you for getting back to me so quickly on this.

I put in the installation dvd but could see no boot options, only install options...
There is an option of f5 to go to rescue mode... maybe i should try investigating that?
 
Old 11-26-2005, 11:39 AM   #4
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Rep: Reputation: 31
After you boot with you Fedora cd/dvd, you have to type "linux rescue". After that, you will get a prompt and you have to do what bigrigdriver already told you.
Something like:
Code:
grub-install /dev/hda
should do it, where hda is your hdd.

Last edited by zahadumy; 11-26-2005 at 11:41 AM.
 
Old 11-26-2005, 09:20 PM   #5
yeehi
Member
 
Registered: May 2004
Distribution: Debian Wheezy, Parabola, Trisquel
Posts: 78

Original Poster
Rep: Reputation: 15
I've installed Linux on a system that has XP and I don't want (can't) install another boot loader. I don't have a floppy drive. I can boot from the install dvd and go into recscue mode, and I can mount the installation (which is way above the 1024 cylinder limit) and see all the files.

Is there a command from the command line that will then boot the installation?

Grub is not in the rescue directories. I can mount my installation and find it there and run it, or copy it above the mount point to the rescue installation area and unmount my installation if necessary. But I cant figure out the command to bootstrap from this point.

What command should I use from the command prompt in rescue to boot the installation?

Thanks
 
Old 11-27-2005, 06:10 AM   #6
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Rep: Reputation: 31
I'm a newbie though, so I can't tell you if this will work, but I dealed with this a few times. Try to mount your system to a directory (you claimed to do this) and chroot to it. After this, try "grub-install /dev/hda". And of course, you should have the file /boot/grub/grub.conf configured, take a look and see what's there. Good luck!

Quote:
Originally posted by yeehi
What command should I use from the command prompt in rescue to boot the installation?
I don't think you have a command to do this.

Last edited by zahadumy; 11-27-2005 at 06:17 AM.
 
Old 11-27-2005, 07:23 AM   #7
mirchikris
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
Hi

I am a newbie to linux. I installed linux(FC2) first and then winxp

now there is no option to load linux/winxp and winxp gets loaded directly

how do i recover linux

pls help me


kris
 
Old 11-27-2005, 07:53 AM   #8
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Rep: Reputation: 31
Quote:
Originally posted by mirchikris
Hi

I am a newbie to linux. I installed linux(FC2) first and then winxp

now there is no option to load linux/winxp and winxp gets loaded directly
When you installed Linux I suppose you installed GRUB on your MBR, but after you installed Windows it rewrote your MBR and that's why it boots straight to Windows. Now you have to boot with your first bootable cd or with a bootable floppy disk if you have one and reinstall grub. You have to mount your linux partition, chroot to it and install grub to MBR. Do some search option, this quesion has been asked a lot here. I think everyone has been through this...
 
Old 11-27-2005, 08:03 AM   #9
mirchikris
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
thanks for the prompt reply
"You have to mount your linux partition, chroot to it and install grub to MBR"
me searchin rite now

kris
 
Old 11-27-2005, 09:24 AM   #10
mirchikris
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
Yipee got my linux back

thanks zahadummy

kris
 
  


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
Disable Start-Up Sound as system boots up jwhibdon SUSE / openSUSE 12 12-09-2005 05:03 PM
System no longer boots to graphical login will103 Debian 3 01-08-2005 03:56 PM
How to get into CUI rather than GUI When system boots praveenv Linux - Newbie 4 08-14-2004 09:33 AM
My system on longer boots... teeno Linux - Software 4 05-28-2003 02:17 AM
Start Apache when system boots up eweborg Linux - General 1 03-05-2002 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:50 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