LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-06-2006, 10:26 AM   #1
ErevRav
LQ Newbie
 
Registered: Oct 2006
Posts: 20

Rep: Reputation: 0
Dual Booting and Chainloader


Hi all,

I am taking my first babysteps into Linux, yay! So first of all I'd like to say how happy I am with such a website as this one.


Now, on to the issue. I just installed linux on my machine. It has three HDD's, one a SATA with Windows XP, one a SATA to backup my XP stuff, and one IDE with Linux.

At the moment when I start my computer I get a menu which gives me a choice of windows, Linux (SUSE 10.01 btw), and Linux Failsafe.

However, when I select windows I get the following message: chainloader (hd1,0) + 1, and then nothing happens. I can still get into windows by going into the bios and selecting the windows HDD as the one to boot from first, but I would like to be able to just run windows from the GRUB menu (that is the grub right?).

Anywho, some help would be appreciated.

Cheers,

E
 
Old 10-06-2006, 11:34 AM   #2
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
Can you post the contents of menu.lst file. This should be located here /boot/grub directory.



Peace V :my friend:
 
Old 10-06-2006, 11:57 AM   #3
ErevRav
LQ Newbie
 
Registered: Oct 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Hi there Cuiq,

Rofl. I just lol'ed because I discovered how to copy and past in linux .

Anyway, here it is:

# Modified by YaST2. Last modification on Sat Sep 30 03:27:03 UTC 2006

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hdb2 vga=0x31a selinux=0 resume=/dev/hdb1 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
chainloader (hd1,0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hdb2 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 edd=off 3
initrd /boot/initrd

Cheers,

E
 
Old 10-06-2006, 01:26 PM   #4
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
Ok, try adding this

makeactive

this is what you have
Quote:
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
chainloader (hd1,0)+1
try putting makeactive here
Quote:
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
makeactive
chainloader (hd1,0)+1
Let me know what happens.

Oh!, also you'll have to be root to make changes to this file.


Peace V :my friend:

Last edited by cuiq; 10-06-2006 at 01:33 PM.
 
Old 10-06-2006, 02:16 PM   #5
ErevRav
LQ Newbie
 
Registered: Oct 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Hi there again Cuiq

I did as you suggested, but it did not work.

Now, when selecting windows on startup I get the following text in the upper left portion of my screen (rest black):

makeactive
chainloader (hd1,0) +1

Any other suggestions?

Cheers (and thanks for the time you're taking to help me)

E
 
Old 10-06-2006, 03:04 PM   #6
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
Yes one more suggestion. I just noticed that your windows is hd1,0 which means that this also has to be added

map (hd0) (hd1)
map (hd1) (hd0)

So then this is what it should look like
Quote:
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader (hd1,0)+1



Peace V :my friend:

Last edited by cuiq; 10-07-2006 at 07:36 PM.
 
Old 10-06-2006, 03:29 PM   #7
ErevRav
LQ Newbie
 
Registered: Oct 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Hi Cuiq,

Thanks very much, it worked! Now I've got this dual boot system running I can start delving into Linux for real

One more question though, if you're up for one more. What do those two lines mean:

map (hd0) (hd1)
map (hd1) (hd0)

It's just that what you said I should do worked (yay!), but I dont have a clue what I really did

Cheers, and again thanks very much for helping me out.

E
 
Old 10-07-2006, 07:34 PM   #8
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
Hi Erev,

I'm glad things worked for you. I have windows installed on a second hard drive also.
However, I believe this command basically tricks DOS/windows into thinking it's on the first drive. I'm sure someone will correct me if that's wrong. But here's a link with a bit more information than I can offer. http://www.linuxselfhelp.com/gnu/gru...er/grub_4.html don't worry if it sounds like greek, as you learn linux this stuff will begin to make sense.

Oh, and you are very welcome


Peace V :my friend:

Last edited by cuiq; 10-07-2006 at 07:37 PM.
 
  


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
Questions about dual booting, dual hard drives, and partitioning Raybrandt Linux - Newbie 4 04-22-2006 09:19 PM
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 06:44 PM
Has the dual boot problem been fixed? (chainloader) Nodscene Linux - Distributions 4 03-13-2005 06:30 PM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 03:37 PM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 10:05 AM


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