LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-09-2008, 06:10 PM   #1
mpmackenna
Member
 
Registered: May 2006
Posts: 69

Rep: Reputation: 15
Booting Windows on secondary hard drive with Grub on primary drive


I just installed Mandriva PowerPack 2009 and I am trying to get my Windows installation that is on a second hard drive to boot. I had it working under Mandriva One 2008.1. I haven't made any changes to that drive. My grub device map shows that drive as drive /dev/sdb which is second in the list. I am aware that you have to fool Windows into thiinking it is on the first drive to get it to boot with grub. I did the map command and I thought the grub entry was all correct, but when I try to boot Windows I get the error "No such partition".

Here is my device map.

(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdi
(hd3) /dev/sdc
(hd4) /dev/sdd

Here is my grub file menu.lst file.

timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0

title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=bf7abc6c-2430-4ca6-abf3-5a6072847a80 resume=UUID=c8448c72-52fa-4924-bfa0-df5dd3c6b931 splash=silent vga=788
initrd (hd0,0)/boot/initrd.img

title windows
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
makeactive

Any ideas on what I am missing or where I went wrong? Any help is greatly appreciated!
 
Old 11-09-2008, 06:16 PM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
You can edit the grub boot lines interactively, and you can use TAB to autocomplete. Try to do so to find which would the correct partition be. The ordering of the drivers might have changed depending on many things that range from the kernel to your bios, overall if you are mixing ide and sata drives.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting from an external Hard Drive, GRUB. Mavric Fedora 1 10-25-2008 04:55 PM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-04-2007 11:28 PM
Hard drive in primary channel showing in secondary channel Ale Linux - Hardware 2 02-20-2004 11:39 AM
how do i mount my windows partitions and secondary hard drive in RH9 kasperl Linux - Newbie 5 10-22-2003 05:26 AM
grub, hard drive mapping, booting chrisrose21044 Linux - Newbie 1 09-29-2003 08:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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