LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-16-2005, 09:11 PM   #1
McNider
LQ Newbie
 
Registered: Sep 2002
Location: Montreal
Distribution: Mandriva 2008
Posts: 28

Rep: Reputation: 15
Dual boot grub Mandriva WinXP separate drives


Hello everyone,

I'm having issues with my drives and I'm getting really frustrated. I've read a lot of posts but couldn't find anything resembling my problem. So, here it is:

I have Windows XP Pro on a Maxtor 300gb; first drive, first partition, partition active, working perfectly good.

I installed Mandriva on a second drive, a WD 250gb, separatly (my first drive wasn't powered); grub installed in first partition; working good when alone.

Then, I installed both drives (WIN XP master and Mandriva slave), installed System Commander and I could only boot Windows. I got the message from Sys Commander that my linux boot sector couldn't be found. Also tried Win XP boot loader. Same result.

I've decided to install Grub on hda (Win XP). Now, my Linux is booting fine but... you guess... No windows. I've read someone speaking about chainloader in the mbr. I'm not sure if that's my solution but please, feel free to enlight me. Here's a thing that I'm sure though: both drives are ok since I've diagnose them.

Here's the error I get when trying to boot Windows: Filesystem unknown partition type 0x7

Here's my grub lines:

timeout 10
color black/cyan yellow/cyan
default 3

title Mandriva Limited Edition 2005
kernel (hd1,0)/vmlinuz root=/dev/hdb7 acpi=ht resume=/dev/hdb5 splash=silent PROFILE=default vga=791
initrd (hd1,0)/initrd.img

title linux-nonfb
kernel (hd1,0)/vmlinuz root=/dev/hdb7 splash=silent acpi=ht resume=/dev/hdb5
initrd (hd1,0)/initrd.img

title failsafe
kernel (hd1,0)/vmlinuz root=/dev/hdb7 failsafe splash=silent acpi=ht resume=/dev/hdb5 devfs=nomount
initrd (hd1,0)/initrd.img

title Windows XP Professionnal
root (hd0,0)
map (0x81) (0x80)
map (0x80) (0x81)
makeactive
chainloader +1

In one or the other OSes, I can see the other partitions on the other drive, so they're recognized. It's definitly a boot issue. But is it the boot loader of an mbr thing. I'm a little scared of losing precious data...

Have anyone of you seen this before ?

Thank you for your time.
 
Old 06-16-2005, 10:15 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
Look at the XP section. With the map lines, you are telling grub that xp is on the second drive, not the first. Those lines are only required when windoze is on the second drive, as the second OS installed. Since xp was installed first, on the first drive, the map line are not required. Remove them. You only need the makeactive and chainloader lines.

Now let me qualify my response. Search these boards for 'xp dual boot grub'. This problem comes up every few days, and has answered many times.
 
Old 06-17-2005, 05:49 AM   #3
McNider
LQ Newbie
 
Registered: Sep 2002
Location: Montreal
Distribution: Mandriva 2008
Posts: 28

Original Poster
Rep: Reputation: 15
Thumbs up

Thanks a million my friend, it worked. If I knew it was something with the map line, I would have inclued it in my search string. There is, indeed, too many posts about dual boot.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot with 2 separate hard drives and OS lfierro Linux - Newbie 8 12-11-2004 03:37 PM
FC3 Dual Boot/Separate Drives StarSage Fedora - Installation 2 11-12-2004 09:53 AM
Dual Boot on Separate Hard Drives? theonlylivinggo Linux - Newbie 6 02-26-2004 05:15 PM
dual boot w/ separate hard drives? aveach Linux - General 2 09-15-2003 04:33 PM
How to dual boot XP and Linux in separate drives TomCruise2002 Linux - Newbie 1 09-22-2002 12:51 PM


All times are GMT -5. The time now is 06:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration