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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-18-2003, 09:38 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Had 9
Posts: 7
Rep:
|
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.
|
|
|
07-18-2003, 09:46 AM
|
#2
|
LQ Newbie
Registered: Aug 2002
Location: New York
Distribution: Redhat 9
Posts: 7
Rep:
|
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
|
|
|
07-18-2003, 09:54 AM
|
#3
|
Member
Registered: May 2003
Distribution: Debian
Posts: 40
Rep:
|
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!
|
|
|
07-18-2003, 09:54 AM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
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.
|
|
|
07-18-2003, 12:42 PM
|
#5
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Had 9
Posts: 7
Original Poster
Rep:
|
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).
|
|
|
07-18-2003, 12:45 PM
|
#6
|
LQ Newbie
Registered: Aug 2002
Location: New York
Distribution: Redhat 9
Posts: 7
Rep:
|
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...
|
|
|
07-18-2003, 12:55 PM
|
#7
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Had 9
Posts: 7
Original Poster
Rep:
|
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
|
|
|
07-18-2003, 01:13 PM
|
#8
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Had 9
Posts: 7
Original Poster
Rep:
|
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?!!
|
|
|
07-18-2003, 01:23 PM
|
#9
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
instead of root (hd1,0), try rootnoverify(hd1,0) and then chainloader+1
|
|
|
All times are GMT -5. The time now is 03:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|