LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-27-2010, 01:30 PM   #1
defmania
LQ Newbie
 
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
Dual boot problem - Win7 & Linux


Hello

I am kinda new to Linux but because I started a linux-course I decided to install it on my desktop. Before I used Virtual Box or VMware so it was pretty straightforward but now I have a problem with booting into Win7. I decided to install Debian along with my Win7. From a hardware perspective the things are like this, I have 3 HDD, 2 on a RAID0 and the third will be the one with Linux. On the RAID0 matrix I installed Win7 first, all ok there. Then I started installing Debian. I followed the installation wizard, I partitioned the 3rd HDD and selected it as the drive for Linux. Then after I installed Linux and rebooted I only saw Debian in the GRUBs boot options, no sign of Win7. I think it has to do with the RAID0 matrix which "houses" Win7. I disconnected the 3rd HDD, and now when I try to boot no sign of the Win7 bootloader thou the RAID0 is ok. The only message I get is "insert boot disk". Do you have any ideas?


Thanks.
 
Old 01-27-2010, 01:56 PM   #2
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
Perhaps...

The installation of linux on the third HDD could have moved the boot flag from the first Windows partition, excepting any recovery partition, where the Windows boot loader looks for it.

If you boot a live-cd, you can become "su" and use the command "fdisk -l" to look for the "*" under "boot" in the partition table. See that it is opposite the Windows 7 partition.

In addition, you have probably changed the original partition table that the Windows boot loader refers to while booting. Windows 7 is shy, and won't come out when things it is familiar with have changed.

Try to repair your Windows MBR with the Windows 7 installation DVD or use one of these. Read the first link for a guide to the procedure.

http://neosmart.net/wiki/display/EBC...r+from+the+DVD

http://neosmart.net/blog/2009/window...-repair-discs/

http://neosmart.net/dl.php?id=1

http://neosmart.net/wiki/display/EBC...mentation+Home

This should give you a Windows boot, but you will then need to configure GRUB and find out which boot loader, Windows 7 or Grub, you might need to start the boot process if you want your RAID configuration to function. Is the RAID 0 softwareRAID or fakeRAID?

Your Debian live-cd should allow you to restore GRUB. Search here at LQ or Google for how. This should give you the general idea.

http://apcmag.com/how_to_dualboot_vi...rst.htm?page=4

Last edited by thorkelljarl; 01-27-2010 at 03:07 PM.
 
Old 01-28-2010, 02:44 PM   #3
Fhrost
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by defmania View Post
Then after I installed Linux and rebooted I only saw Debian in the GRUBs boot options, no sign of Win7.
thorkelljar is probably right about your bootflag. I'm guessing that your 3rd hdd contains your /boot directory that grub is housed in, unless you specified another location in the install.


Also like tkj was getting at, if you use a fake raid(like nvraid) grub may need to be configured differently to recognize your raid volume.

First I would reconnect the linux drive, boot into linux and post the contents of your /boot/grub/grub.conf file.
 
Old 01-28-2010, 06:34 PM   #4
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
By the way...

Would you be so kind as to boot a linux live-cd and as "su" run the command "fdisk -l" and post the results. It would be nice to see the partition table.

What was that RAID 0 again, softRAID, fakeRAID?
 
  


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
Grub 22 error using dual boot of Win7 and Linux Mint brianste Linux - Newbie 12 12-30-2009 08:31 PM
adding Fedora 10 to dual boot with Win7? lenny45 Fedora 11 10-19-2009 12:04 AM
Virtualizing Win7 RC1 on Kubuntu/Vista dual boot machine? gerryggg Linux - Virtualization and Cloud 4 10-16-2009 04:58 AM
Problems creating a dual boot WinXP (Win7) & Fedora Core9 on HP XW6400 andygravity Linux - Newbie 3 09-13-2009 05:08 PM
Lenny Dual Boot w/ Win7 - GRUB problems! Leon W. Malinofsky Debian 3 02-25-2009 09:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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