LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-07-2008, 06:18 AM   #1
ciaran_skye
Member
 
Registered: Mar 2004
Location: Jeffersonville, IN
Distribution: Fedora 8 x86_64
Posts: 30

Rep: Reputation: 15
Installing OpenSuSE 10.3 without killing Windows MBR on primary drive


In January I bought a laptop and by March I had installed a second hard drive for the sole purpose of dual-booting with some sort of Linux distro and the Windows Vista is shipped with. I'm a gamer, so I want a working Windows Vista install for that, but I would prefer using Linux for day-to-day usage.

The problem is that Fedora doesn't like my sound card, even Fedora 9, but with a little fiddling I got OpenSuSE 10.3 to work perfectly on the laptop (a vastly better out-of-box experience than Vista once the nVidia driver was installed). However on a reboot into Windows I found that SuSE had destroy Vista's MBR and not even the repair disk from Microsoft knew how to fix it. In the end I simply had to reinstall Vista and wipe OpenSuSE in the process.

The problem was that my drives enumerated as sda being the factory-installed drive and sdb being the one I wanted to install OpenSuSE to, however OpenSuSE by default installed GRUB to sda, which killed Windows.

While trying to reinstall without causing that damage I couldn't find an option for OpenSuSE to ONLY use sdb and not touch sda at all, which Fedora does. Nor do they give a simple "click here" option to do that.

So my question is how do I get OpenSuSE's installer to install GRUB to sdb only, and totally ignore sda's (my Windows drive) existence? Or at the very least, tell it to NOT install GRUB to sda.

Given my lousy idiot proof BIOS I can't simply turn off sda, and being a laptop opening the panel to physically disconnect the drive isn't as simple of an idea as it is on a desktop. I'd even be willing to use the Windows boot loader if that's what it took, but GRUB is so much more powerful I'd rather not.

Any ideas?
 
Old 05-07-2008, 06:25 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You can write the grub boot loader to the second disk instead of the first. Look on google for "NT Linux Dual Boot". I don't have vista, but I assume that it still uses the C:\BOOT.INI file. You will need to copy the first 240 bytes of the second disk into a file which you save on the C:\ drive in windows and then add an entry to window's BOOT.INI file. Then there will be a menu entry to boot linux. Selecting it the file with the copy of the 2nd disks MBR is used to chainload SuSE's grub bootstrap loader.
 
Old 05-07-2008, 10:24 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,503

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Grub does default to the mbr of the first drive. I'm surprised opensuse's Grub did not detect your vista install and put an entry in the menu.lst file?

Here's a site explaining how to dual-boot Linux/Vista with Linux installed first:

http://apcmag.com/how_to_dualboot_vi..._installed.htm

Here's a site explaining how to dual-boot Vista/Linux with Vista installed first:

http://apcmag.com/how_to_dualboot_vi...lled_first.htm

Haven't tried this myself as I don't use Vista?
Vista has a new bootloader and doesn't use 'boot.ini'.
Good Luck!
 
  


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
tried to install ubuntu on removable drive, now primary won't boot windows Pfaust Ubuntu 3 05-23-2007 08:44 AM
Installing Freebsd....Primary or Logical drive? kool_kid *BSD 12 12-15-2005 02:36 AM
Installing Ubuntu on Primary SATA drive Little General Ubuntu 1 07-26-2005 10:08 PM
Installing Linux on Macintosh Primary Hard Drive sduffy89 Linux - General 1 08-25-2004 10:48 PM
boot loader, MBR, redhat9 on primary slave, winxp on primary master samik Linux - Hardware 4 10-15-2003 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:53 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
Open Source Consulting | Domain Registration