LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-18-2003, 09:38 AM   #1
SrConchiwa
LQ Newbie
 
Registered: Jul 2003
Distribution: Red Had 9
Posts: 7

Rep: Reputation: 0
Shall I resign my hopes at dual booting?


At the moment I have to manually dual boot by swiching first boot device in the bios, and i shall tell you why:
I have an nForce2 board that has serial ata. MSI Promise to provide the controller. Specifically, it is a pdc20376. So windows is installed on this [blazingly fast WD Raptor] drive, and and boots when I choose SCSI as first boot device.

Even though I rather wanted to install linux on a second partition on the sata drive, it seems i am out of luck with drivers, so i put it on my master ide device and it is happily mapped to /dev/hda.

Now for the thing of it: nonsurprisingly ntloader does not boot to the linux partition. (after following the generally known method of copying the bootsector to windows and putting it in boot.ini. It just freezes at "GRUB." And yes, /boot is before the 1024 mark.

So that leaves dual booting in the hands of grub. The only problem is, from what i've seen, grub only words with (hdx) and (hdx,x) style devices. i've heard somehow scsi devices get mapped to these, and i've tried several.

does anyone know how to make grub boot boot windows? I'm a bit new to linux and i'm trying to decide where the problem is. I don't think this is a driver problem (because this is low level stuff here. the bios knows how to do it, why can't grub?!). anyhow, any help would be loved. thank you. especially for reading this long post.
 
Old 07-18-2003, 09:46 AM   #2
Anjan
LQ Newbie
 
Registered: Aug 2002
Location: New York
Distribution: Redhat 9
Posts: 7

Rep: Reputation: 0
Dual Booting Win and Linux

I haven't worked with a SCSI/Serial ATA setting like you have but I've found a third party boot software to be the best solution. It saves me a lot of headache.

You can download a trial version of Acronis' OS Selector. That's the one I ended up buying because it worked really good for me. Look it up at www.acronis.com . Of course, there are a bunch of others you can check out too.

Hope this helps....

Anjan
 
Old 07-18-2003, 09:54 AM   #3
pavgust
Member
 
Registered: May 2003
Distribution: Debian
Posts: 40

Rep: Reputation: 15
Before you do that, try to tell grub to boot one system from /dev/hda1 and the other from /dev/sda1 (adapt these numbers if necessary). /dev/sdaX are the partitions on your first SCSI drive, like /dev/hdaX are the partitions of your primary IDE master drive.

I've not tried this myself, but I would be very surprised if grub couldn't handle scsi drives.

Let us know what happens!
 
Old 07-18-2003, 09:54 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Have you already installed GRUB on the MBR?

You can try this

boot into linux the way you have been doing. Make a GRUB boot floppy
with the following commands

cd /usr/share/grub/i386-pc
dd if=stage1 of=/dev/fd0 bs=512 count=1
dd if=stage2 of=/dev/fd0 bs=512 seek=1

You can get more information about GRUB by typing

info grub

at the bash prompt.

Try booting from the floppy

At the GRUB> prompt, type root(hd0,x) where x is your Windows partition
next type chainloader+1

See if it boots into Windows.

If it does, you can safely go back to booting linux your regular way. Then refer to "info grub" and read the Installation section to see how you can install GRUB on your MBR.
 
Old 07-18-2003, 12:42 PM   #5
SrConchiwa
LQ Newbie
 
Registered: Jul 2003
Distribution: Red Had 9
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by pavgust
Before you do that, try to tell grub to boot one system from /dev/hda1 and the other from /dev/sda1 (adapt these numbers if necessary). /dev/sdaX are the partitions on your first SCSI drive, like /dev/hdaX are the partitions of your primary IDE master drive.

I've not tried this myself, but I would be very surprised if grub couldn't handle scsi drives.

Let us know what happens!
I have tried all the sd_ commands to no avail. Reading the documentation, it says that grub only support (hdx,x).
 
Old 07-18-2003, 12:45 PM   #6
Anjan
LQ Newbie
 
Registered: Aug 2002
Location: New York
Distribution: Redhat 9
Posts: 7

Rep: Reputation: 0
I hate to reiterate my point but using Acronis OS Selector (which is certified by SuSE for their distro) will make it a lot easier...
 
Old 07-18-2003, 12:55 PM   #7
SrConchiwa
LQ Newbie
 
Registered: Jul 2003
Distribution: Red Had 9
Posts: 7

Original Poster
Rep: Reputation: 0
hehe, no, your reiteration just places emphasis.
i'm going to be gone for 2 days, but when i get back i'll try the acronis. real quick before i leave though i'm going to try the grub floppy method
 
Old 07-18-2003, 01:13 PM   #8
SrConchiwa
LQ Newbie
 
Registered: Jul 2003
Distribution: Red Had 9
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by SrConchiwa
hehe, no, your reiteration just places emphasis.
i'm going to be gone for 2 days, but when i get back i'll try the acronis. real quick before i leave though i'm going to try the grub floppy method
Alright, well on an exciting note, i noticed (as i had not before) that grub sees a "hd1" and since there are only two hd's, one ide (hd0, linux) and hd1, windows.

However, after "grub> root (hd1,0)" told me it was an unrecognized type (which i would expect, being ntfs), i did "chainloader +1" and there is a 1/20th second change in the cursor and then it just gives me another grub prompt. grub is pretty good about returning after a failure, so i think that is what this is.

so grub does technically see the partition, its just not... getting to it. anyone have ideas?!!
 
Old 07-18-2003, 01:23 PM   #9
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
instead of root (hd1,0), try rootnoverify(hd1,0) and then chainloader+1
 
  


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
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 06:44 PM
New to Linux, but have high hopes strwood LinuxQuestions.org Member Intro 5 03-24-2005 06:38 PM
linux hopes for the mere mortal unixmad General 3 11-29-2004 12:11 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

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

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