Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 11-09-2008, 07:10 PM   #1
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

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

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
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.


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
Booting from an external Hard Drive, GRUB. Mavric Fedora 1 10-25-2008 05:55 PM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-05-2007 12:28 AM
Hard drive in primary channel showing in secondary channel Ale Linux - Hardware 2 02-20-2004 12:39 PM
how do i mount my windows partitions and secondary hard drive in RH9 kasperl Linux - Newbie 5 10-22-2003 06:26 AM
grub, hard drive mapping, booting chrisrose21044 Linux - Newbie 1 09-29-2003 09:57 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration