LinuxQuestions.org
Visit Jeremy's Blog.
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 10-01-2005, 11:53 AM   #1
rbh123
LQ Newbie
 
Registered: May 2005
Distribution: Redhat
Posts: 25

Rep: Reputation: 15
how-to boot into linux after installing Windows on top of it.


I have RedHat Linux installed.Now I install Windows-98.But now i can't boot into Linux.
If i first install Windows-98 and then Linux then there is no problem,grub allows me to boot into any OS,but if i first install linux and then install Windows-98 i cant boot into linux.Can u plz let me know why this happens and how to solve this problem.

-rbh
 
Old 10-01-2005, 12:06 PM   #2
free_ouyo
Member
 
Registered: Mar 2004
Location: Belgium
Distribution: Ubuntu
Posts: 133

Rep: Reputation: 15
how-to boot into linux after installing Windows on top of it.

Hello,

The way you install Win - Lnx : linux is the last to modify the MBR (Master Boot Record) and with the new linux, you hae grub or lilo that propose you to boot both OS.

If you install Lnx - Win : Windows rewrite the MBR of the disk and it's M$ OS so it want to be first and only to boot the computer.

If you want to install Lnx before windows, you can make a backup of the MBR before windows install but I recommand you to first install Windows and after install the Linux.

The best is to only install Linux.
--
free_ouyo
 
Old 10-01-2005, 12:09 PM   #3
flower.Hercules
Member
 
Registered: Aug 2005
Distribution: Gentoo
Posts: 228

Rep: Reputation: 31
STFW 1337 5934|<3R

Nice 1337 sp34k at the end there, anyways you need to either use your Redhat CD to re-install GRUB (I don't know if it has that option, however), or, the better long-term solution, download a light-weight LiveCD like Damn Small Linux and install GRUB that way. My LiveCD of choice is Kate OS II because of the great hardware support.

Correction: Redhat does has a recovery mode, there are discussions all over this forum about using it, no need to duplicate what the search function will return. Good luck! A GRUB Boot CD is an incredible tool to have when you get your boot working.

Last edited by flower.Hercules; 10-01-2005 at 12:11 PM.
 
Old 10-02-2005, 02:57 AM   #4
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
Re: STFW 1337 5934|<3R

Quote:
Originally posted by flower.Hercules

Correction: Redhat does has a recovery mode, there are discussions all over this forum about using it, no need to duplicate what the search function will return. Good luck! A GRUB Boot CD is an incredible tool to have when you get your boot working.
I'll have to agree to that.
But since this thread is already active I guess I'll add to the redundancy.

What you need to do is install GRUB -- GRand Unified Bootloader. There are many ways to do this like using a GRUB Boot CD or a live CD

However you have one more way out :
Boot from your first RedHat Linux CD (the same version which you've installed and not any other)
It'll ask you what to do like
a) To install or upgrade in text mode press linux text hit enter
b) To install or upgrade in Graphical mode hit enter etc........,

Instead of all this type "linux rescue" (without the quotes) and hit enter. By doing this you will enter the rescue mode. You'll be prompted to select your language and keyboard type. Then It'll ask if you wanted to open the network interfaces on this system. Select no here.
It will then search for any existing Linux OS' on the system and mount them under /mnt/sysimage. You'll then be provided with a shell and the system will reboot after you exit out of the shell.

When you enter the shell do this :
chroot /mnt/sysimage (hit enter)
grub-install /dev/hda (hit enter)

Here I assume your hardisk has been recognized as /dev/hda. If you are not sure type fdisk -l to find out what your hardisk is.
Try this out and tell us what happened. If you want some more explanations we'll be glad to be of service.

Hope this helps !

Last edited by koodoo; 10-04-2005 at 12:14 PM.
 
Old 10-03-2005, 06:54 AM   #5
rbh123
LQ Newbie
 
Registered: May 2005
Distribution: Redhat
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks koodoo for your valuable suggestion.I followed the steps you mentioned and was able to install grub & boot into linux as before.
Thank u once again...

-rbh
 
Old 10-04-2005, 12:20 PM   #6
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
My pleasure
 
Old 10-04-2005, 10:09 PM   #7
Nikolodeon
LQ Newbie
 
Registered: Sep 2005
Location: Mexico
Distribution: Xubuntu
Posts: 11

Rep: Reputation: 0
it's curious, when you try to configure the LILO, it's not so difficult to make entries for another OS to load... but in windows 2000 it's almost impossible (unless your other OS is another Windows)... Damn Micro$
 
Old 10-05-2005, 07:40 AM   #8
flower.Hercules
Member
 
Registered: Aug 2005
Distribution: Gentoo
Posts: 228

Rep: Reputation: 31
Windows doesn't recognize ext2, ext3, or reiser; that might be the biggest problem in creating Linux entires in the NTLDR, or prior versions of Windows boot loaders.
 
Old 10-06-2005, 11:47 PM   #9
Nikolodeon
LQ Newbie
 
Registered: Sep 2005
Location: Mexico
Distribution: Xubuntu
Posts: 11

Rep: Reputation: 0
i see...

I was thinking that when the boot process begin the loader just look to the desired partition, thanks for the data.

Last edited by Nikolodeon; 10-07-2005 at 12:02 AM.
 
Old 10-28-2005, 07:57 AM   #10
curVV
LQ Newbie
 
Registered: Oct 2005
Location: South Africa
Distribution: Fedora Core 4
Posts: 4

Rep: Reputation: 0
Hi,

Installed FedoraCore4 after installing WinXP. Chose "...First sector of boot partition".

Grub doesn't load.

Followed Ed's Software Guide on Linux (http://www.geocities.com/epark/linux...w2k-HOWTO.html)
but grub just hangs.

Any other resources you guys can point me to will be much appreciated..

Thanx!

Love Linux. If I can just get it to boot...
 
Old 10-31-2005, 11:14 AM   #11
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
Hi, you need to install grub in the MBR (Master Boot Record). Now you'll have to rescue your linux. Follow the procedure as mentioned in my earlier post (use your FC4 first CD), and tell us what happened.

Hope this helps!
 
Old 10-31-2005, 11:49 AM   #12
curVV
LQ Newbie
 
Registered: Oct 2005
Location: South Africa
Distribution: Fedora Core 4
Posts: 4

Rep: Reputation: 0
thanks alot. i'll do that now...
 
Old 10-31-2005, 11:55 AM   #13
curVV
LQ Newbie
 
Registered: Oct 2005
Location: South Africa
Distribution: Fedora Core 4
Posts: 4

Rep: Reputation: 0
uhm, do i have to unconfigure or uninstall grub first because when i followed the howto mentioned above i installed grub to /dev/hdb1 which is /boot

also do i now install grub to my first hard drive on which windows is installed?

thanx
 
Old 10-31-2005, 01:55 PM   #14
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
Hi, You need to install grub on the MBR of the primary hardisk (hda). Personally, I have never used grub with multiple hardisks. After you re-install grub, I think you might have problems while booting into windoze. We'll sort that out later.
First you try rescuing linux and installing grub on the MBR of the primary hardisk. You'll have to take a little risk here, coz I myself have never tried this stuff, although I'm suggesting this after searching these forums and google for using grub with multiple hardisks.

Hope this helps!
 
Old 11-01-2005, 02:09 AM   #15
curVV
LQ Newbie
 
Registered: Oct 2005
Location: South Africa
Distribution: Fedora Core 4
Posts: 4

Rep: Reputation: 0
sooo easy isn't it?

thanx alot koodoo. everything she's OK!

my first time on fedora. man, was it a pretty site to see it boot up. dual boot also works fine now.

i've tried so many things to get this to work, it's a miracle that everything is still in tact i've learnt alot about grub and how linux boots in these past few days.

thanx again!!
 
  


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
Windows on top of Linux vivekian Linux - Software 11 03-03-2005 05:23 PM
I Can't boot windows after installing Linux stryker5233 Linux - Newbie 5 09-21-2004 09:08 AM
Linux on top of Windows... BlackEcho Linux - General 5 12-20-2003 10:44 PM
Cannot boot Windows XP after installing Linux RH9 msoares Linux - Software 4 10-13-2003 06:44 PM
linux on top of windows keirobyn Linux - Newbie 6 02-12-2003 01:03 PM


All times are GMT -5. The time now is 02:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration