LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-26-2011, 08:28 PM   #1
dextermetzger
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
CentOS Win7 Dual boot on NVRaid (fakeraid)


Hello everyone,

For my project this weekend, I decided I would dual boot CentOS 5.6 and Windows 7 on my desktop. I have 2 500GB SATA drives, running in (fakeraid) RAID0 from the onboard Nvidia chip on the motherboard. I installed Windows 7 on a ~500GB partition first, everything went great. Next, I installed CentOS. I had 3 partitions, one for root (~300GB), one for swap (4GB), and a third for /usr (~200GB). The install went well, but when I restarted, I was still booting straight into Windows. At no time did I see a grub menu.

I booted from a live cd and reinstalled grub manually. But after I did that, the system would just boot to a grub prompt. I tried so many different things over the course of 6 hours, that I can't remember each of them. But as I tried manually configuring/installing grub, I would receive various errors from "File not found" to "stage1 not read correctly." At one point, I remember fdisk telling me "the number of cylinders for this disk is set to... larger than 1024." I eventually wondered if it was a problem with how I installed CentOS (since I'm usually an Ubuntu guy). So I put in my 10.04LTS CD and installed over the same partitions with Ubuntu. But at the end of the install, I kept receiving errors that grub couldn't be installed to /dev/sda. I kept pointing it to /dev/mapper/nvidia_XXXXXX, but it would just go back to trying /dev/sda.

Both CentOS and Ubuntu recognized the Raid configuration. Both of them were aware of the fact that the devices were mapped to /dev/mapper/nvidia_blahblahX. It's just as if grub wasn't yet able to access the partitions at that point of the boot process.

I ended up restoring the Windows 7 boot manager, so at least I'm back to square 1 now. But does anyone have any idea why I'm having so much trouble with this? Is what I'm wanting to do even possible?

Thank you in advance for your help.
 
Old 06-27-2011, 02:32 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
did you take into account the "recovery" partition on sda1 that the OEM put there seeing as they do not give out win7 install dvd's
a default install of cent will put grub there

also with win7 it is best to let MS have the MBR ( Google this for more info)
and install grub on the FIRST linux partition ( ext3 for cent)
mark that as bootable and unmark the MS Windows MBR as bootable

1) repartition 50%-50% ( if that is what you want )
2) format the Linux half to ext3 for Cent -- rembor that RHEL/CentOS were DESIGNED for servers and not desktop
-- do not expect to play videos and music on Cent - you "can" but you run the risk of never booting Cent ever again ( a full reinstall to fix)
-- it is VERY VERY VERY easy to FUBAR rhel/cent with the rpm's from rpmforge & ATrpms so HEED EVERY WARNING IN THE WIKI !!!

http://wiki.centos.org/
http://wiki.centos.org/AdditionalResources/Repositories
3) reinstall win 7
4) install centOS 5.6 and use the installer gui to do a custom install of grub ( it is there LOOK it is hard to find)
the installer WILL ask if you want win7 ALSO bootable - say yes ( check other)
 
Old 06-27-2011, 03:27 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,939

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
If grub can't access any part of the raid then it can't load up?
 
Old 06-27-2011, 09:17 PM   #4
dextermetzger
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
John,

Thank you very much for your reply. Your simple reminder about the system partition jogged my memory and helped me to fix the issue. I went ahead and reformatted the drive, taking care to place a boot partition at the beginning of the drive. I've not got Windows 7 and CentOS 5.6 installed. Thanks!

As far as CentOS goes, I'm not planning on using it for a desktop OS, but rather for development. At work, we do all of our development on CentOS and I've become the defacto "RPM guru," so I decided I should probably get myself a setup at home.

Thanks again for your help, I appreciate it!
 
  


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
not able to boot into Win7, dual boot with Fedora, getting error BOOTMGR missing.. mrprassad Linux - Newbie 3 05-09-2011 10:29 AM
Dual Boot Win7 and Mint9 using 2 HDDs Honkeychops Linux - Newbie 14 06-07-2010 04:22 AM
Dual boot with Win7 and ICH10r Raid5 badogg Ubuntu 1 02-01-2010 02:29 PM
adding Fedora 10 to dual boot with Win7? lenny45 Fedora 11 10-19-2009 12:04 AM
Is it possible to dual-boot Vista and Linux on Fakeraid? ivoidwarranties Linux - Newbie 3 02-05-2009 05:33 PM

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

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