LinuxQuestions.org
Review your favorite Linux distribution.
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 09-19-2004, 02:03 AM   #1
stryker5233
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Rep: Reputation: 0
I Can't boot windows after installing Linux


Hey What's up,

So what i did was i installed a second hd and made it master and made the hd with windows installed on it the slave. Then what i did was I installed SuSe Linux 9.0 on the first hd. Every thing was great but my copy of windows was all screwed up and I needed to reinstall it and after i did there was no boot loader to ask me what OS I wanted to boot. So I ran the recovery app from the Linux install disk and now all I can do is boot Linux , Which works just fine. So what I'm trying to figure out is how to tell my system where windows is so that I can be able to boot either Linux or Windows upon Start up. Can somebody tell me how to configure the boot loader or whatever it takes to boot Windows. Thanks.
 
Old 09-19-2004, 02:06 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
It will depend on your setup but it should be something like this in your /boot/grub/menu.lst file:
Code:
title Windows
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
 
Old 09-19-2004, 02:25 AM   #3
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
I think SuSE uses lilo by default. You may need something like:

other=/dev/hda2
label="Windowz"
table=/dev/hda

in your lilo.conf file. Remember to run the command lilo after updating this file.
 
Old 09-19-2004, 03:06 AM   #4
stryker5233
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Now it gives me a messege that says "rootnoverify (hd1,0)
chainloader +1"
everything else is blank. Also it wont let me change it to lilo.
 
Old 09-19-2004, 05:33 AM   #5
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
Hi stryker5233

I did the same thing (made windows slave and linux master). Is this still your setup? if so this should work.

title Microsoft Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
makeactive
boot

If you have problems post back. Also give us the details of your system.

Primary Master = ???
Primary Slave = ???
Secondary Master = ???
Secondary Slave = ????

You should be able to find this information in you bios.
 
Old 09-21-2004, 09:08 AM   #6
stryker5233
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Hey what's up,

That shit helped. I got the boot loader to recognize both linux and Piece of shit windows. Thanks man.
 
  


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
how-to boot into linux after installing Windows on top of it. rbh123 Linux - Newbie 15 11-02-2005 07:39 AM
re-installing Fedora linux as a dual boot with Windows ercjncpr Fedora - Installation 2 04-16-2005 04:03 PM
Dual boot : Installing Windows after Linux. dsridhar Linux - Newbie 1 07-29-2004 06:33 AM
Installing Dual Boot Linux and Windows XP suwandy_chandra Linux - Newbie 18 03-04-2004 09:56 PM
Cannot boot Windows XP after installing Linux RH9 msoares Linux - Software 4 10-13-2003 06:44 PM

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

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