* [gentoo-user] Grub won't boot SATA WinXP disk @ 2006-04-22 15:21 mattr 2006-04-22 15:38 ` Allan Spagnol Comar 2006-04-22 18:23 ` maxim wexler 0 siblings, 2 replies; 7+ messages in thread From: mattr @ 2006-04-22 15:21 UTC (permalink / raw To: gentoo-user I just put in a SATA drive into an otherwise PATA machine. I put Windows XP on the new drive. I added the following to my grub.conf: title=Windows XP rootnoverify (hd2,0) makeactive chainloader +1 but when I tell grub to boot this item, I get an otherwise blank screen with the text: rootnoverify (hd2,0) makeactive chainloader +1 and nothing else happens. I have never had difficulty getting grub to play with Windows in the past, but that was always with PATA hardware. I have tried editing the grub configuration at boot time to see if grub doesn't like my drive number or something. I used the TAB autocompletion feature which lists three disks (hd0, hd1, and hd2). The former two are definitely my raid array based on the number of partitions they contain. The latter has only one partition (according to grub's TAB autocompletion) which is as it should be given that it is obviously the Windows disk. I'm at a loss here. Any help would be greatly appreciated. I'm afraid I have to use my BIOS to switch boot disks until I resolve this. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Grub won't boot SATA WinXP disk 2006-04-22 15:21 [gentoo-user] Grub won't boot SATA WinXP disk mattr @ 2006-04-22 15:38 ` Allan Spagnol Comar 2006-04-22 16:22 ` Christopher E 2006-04-22 18:23 ` maxim wexler 1 sibling, 1 reply; 7+ messages in thread From: Allan Spagnol Comar @ 2006-04-22 15:38 UTC (permalink / raw To: gentoo-user Hi, I have had a similar problem, and it was about the disk and partition numering. When I configured grub, it seems to me that SATA disk was disk 0, but when botting it was disk 1, I saw you try some combination of numbers, but, you are sure about partition number ? it was in fack at first partition your windows system ? I will try something that way, I could help more if you print a fdisk -l here. holpe it helps, Allan On 4/22/06, mattr@erols.com <mattr@erols.com> wrote: > I just put in a SATA drive into an otherwise PATA machine. I put Windows XP > on the new drive. I added the following to my grub.conf: > > title=Windows XP > rootnoverify (hd2,0) > makeactive > chainloader +1 > > but when I tell grub to boot this item, I get an otherwise blank screen with > the text: > > rootnoverify (hd2,0) > makeactive > chainloader +1 > > and nothing else happens. > > I have never had difficulty getting grub to play with Windows in the past, but > that was always with PATA hardware. > > I have tried editing the grub configuration at boot time to see if grub > doesn't like my drive number or something. I used the TAB autocompletion > feature which lists three disks (hd0, hd1, and hd2). The former two are > definitely my raid array based on the number of partitions they contain. The > latter has only one partition (according to grub's TAB autocompletion) which > is as it should be given that it is obviously the Windows disk. > > I'm at a loss here. Any help would be greatly appreciated. I'm afraid I have > to use my BIOS to switch boot disks until I resolve this. > -- > gentoo-user@gentoo.org mailing list > > -- An application asked: "Requeires Windows 9x, NT4 or better", so I´ve installed Linux -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Grub won't boot SATA WinXP disk 2006-04-22 15:38 ` Allan Spagnol Comar @ 2006-04-22 16:22 ` Christopher E 2006-04-22 20:03 ` mattr 0 siblings, 1 reply; 7+ messages in thread From: Christopher E @ 2006-04-22 16:22 UTC (permalink / raw To: gentoo-user Hello there, Try adding a map in there like this map (hd1) (hd0) map (hd0) (hd1) now I am assuming that your windows is on /dev/sdb in linux or its it your first drive if it is /dev/sdb the above code should work, put this under the windows title :-) the reason you are puting this twice is to swap both of the dirves Hope that helps Sincerely, Christopher On 4/22/06, Allan Spagnol Comar <allan.comar@gmail.com> wrote: > Hi, I have had a similar problem, and it was about the disk and > partition numering. When I configured grub, it seems to me that SATA > disk was disk 0, but when botting it was disk 1, I saw you try some > combination of numbers, but, you are sure about partition number ? it > was in fack at first partition your windows system ? I will try > something that way, I could help more if you print a fdisk -l here. > > holpe it helps, Allan > > On 4/22/06, mattr@erols.com <mattr@erols.com> wrote: > > I just put in a SATA drive into an otherwise PATA machine. I put Windows XP > > on the new drive. I added the following to my grub.conf: > > > > title=Windows XP > > rootnoverify (hd2,0) > > makeactive > > chainloader +1 > > > > but when I tell grub to boot this item, I get an otherwise blank screen with > > the text: > > > > rootnoverify (hd2,0) > > makeactive > > chainloader +1 > > > > and nothing else happens. > > > > I have never had difficulty getting grub to play with Windows in the past, but > > that was always with PATA hardware. > > > > I have tried editing the grub configuration at boot time to see if grub > > doesn't like my drive number or something. I used the TAB autocompletion > > feature which lists three disks (hd0, hd1, and hd2). The former two are > > definitely my raid array based on the number of partitions they contain. The > > latter has only one partition (according to grub's TAB autocompletion) which > > is as it should be given that it is obviously the Windows disk. > > > > I'm at a loss here. Any help would be greatly appreciated. I'm afraid I have > > to use my BIOS to switch boot disks until I resolve this. > > -- > > gentoo-user@gentoo.org mailing list > > > > > > > -- > An application asked: > "Requeires Windows 9x, NT4 or better", > so I´ve installed Linux > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Grub won't boot SATA WinXP disk 2006-04-22 16:22 ` Christopher E @ 2006-04-22 20:03 ` mattr 0 siblings, 0 replies; 7+ messages in thread From: mattr @ 2006-04-22 20:03 UTC (permalink / raw To: gentoo-user On Saturday 22 April 2006 11:22 am, Christopher E wrote: > Hello there, > > Try adding a map in there like this > > map (hd1) (hd0) > map (hd0) (hd1) > > now I am assuming that your windows is on /dev/sdb in linux or its it > your first drive if it is /dev/sdb the above code should work, put > this under the windows title :-) > > the reason you are puting this twice is to swap both of the dirves > > Hope that helps > > Sincerely, > Christopher > Problem solved! My system is arranged thusly: Grub is installed on hd0 and hd1 (they are a RAID mirror). These are known as hda and hdc in Linux. Windows is installed on hd2,0. This is known as sda1 in Linux. I had to add: title=Windows doesn't play nicely with others map (hd2) (hd0) map (hd0) (hd1) map (hd1) (hd2) rootnoverify (hd2,0) makeactive chainloader +1 to my grub.conf. Actually, I could simply do these maps instead: map (hd2) (hd0) map (hd0) (hd2) since hd0 is identical to hd1. Thanks for all the help, everyone. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Grub won't boot SATA WinXP disk 2006-04-22 15:21 [gentoo-user] Grub won't boot SATA WinXP disk mattr 2006-04-22 15:38 ` Allan Spagnol Comar @ 2006-04-22 18:23 ` maxim wexler 2006-04-22 19:22 ` Mick 1 sibling, 1 reply; 7+ messages in thread From: maxim wexler @ 2006-04-22 18:23 UTC (permalink / raw To: gentoo-user I've done this on SATA and IDE drives and combos of the same and I never got XP to boot unless I used rootnoverify (hd0,0). Macro$haft insists on being first in my experience. FWIW. Make a grub boot disk(if you haven't already) and practice until you find the proper sequence of commands; then you can put them into a conf file and do a grub-install. I'd do that first. A false move could wipe out your MBR. As I recall I completey destroyed the boot partition on a brand new HD while fumbling with GRUB. But it was still under warranty "Whew!" --- mattr@erols.com wrote: > I just put in a SATA drive into an otherwise PATA > machine. I put Windows XP > on the new drive. I added the following to my > grub.conf: > > title=Windows XP > rootnoverify (hd2,0) > makeactive > chainloader +1 > > but when I tell grub to boot this item, I get an > otherwise blank screen with > the text: > > rootnoverify (hd2,0) > makeactive > chainloader +1 > > and nothing else happens. > > I have never had difficulty getting grub to play > with Windows in the past, but > that was always with PATA hardware. > > I have tried editing the grub configuration at boot > time to see if grub > doesn't like my drive number or something. I used > the TAB autocompletion > feature which lists three disks (hd0, hd1, and hd2). > The former two are > definitely my raid array based on the number of > partitions they contain. The > latter has only one partition (according to grub's > TAB autocompletion) which > is as it should be given that it is obviously the > Windows disk. > > I'm at a loss here. Any help would be greatly > appreciated. I'm afraid I have > to use my BIOS to switch boot disks until I resolve > this. > -- > gentoo-user@gentoo.org mailing list > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Grub won't boot SATA WinXP disk 2006-04-22 18:23 ` maxim wexler @ 2006-04-22 19:22 ` Mick 2006-04-23 20:22 ` maxim wexler 0 siblings, 1 reply; 7+ messages in thread From: Mick @ 2006-04-22 19:22 UTC (permalink / raw To: gentoo-user On 22/04/06, maxim wexler <blissfix@yahoo.com> wrote: > I've done this on SATA and IDE drives and combos of > the same and I never got XP to boot unless I used > rootnoverify (hd0,0). Macro$haft insists on being > first in my experience. FWIW. The map command bypasses that little problem, by virtually fooling the M$Windoze OS to see that it is in the first hard drive. > Make a grub boot disk(if you haven't already) and > practice until you find the proper sequence of > commands; then you can put them into a conf file and > do a grub-install. I'd do that first. A false move > could wipe out your MBR. So would an 'intentional' move to install Grub in the MBR of the first device. A boot floppy is handy, but as long as Grub boots normally you can press 'c' to drop into a command prompt and use find to find whatever partition you're after, or 'e' to edit individual entries in the menu, until the particular OS boots. > As I recall I completey destroyed the boot partition > on a brand new HD while fumbling with GRUB. But it was > still under warranty "Whew!" Using the fixmbr command from a WinXP installation CD would restore it. Better though to install Grub's boot code in the MBR. BTW, the fixboot command will restore the partition boot sector in a hosed WinXP partition. None of this will help with a hardware failure of course, and I am at a loss as to how any software manipulation that Grub can perform would damage a hard drive. In conclusion, I agree with Christopher's suggestion that the only way to make WinXP boot from any other than the first drive is to use the map command. A point to note is that WinXP is installed on the third device so instead of hd1, hd0 you may want to try hd2, hd0. Good luck. -- Regards, Mick -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Grub won't boot SATA WinXP disk 2006-04-22 19:22 ` Mick @ 2006-04-23 20:22 ` maxim wexler 0 siblings, 0 replies; 7+ messages in thread From: maxim wexler @ 2006-04-23 20:22 UTC (permalink / raw To: gentoo-user > > > As I recall I completey destroyed the boot > partition > > on a brand new HD while fumbling with GRUB. But it > was > > still under warranty "Whew!" > > Using the fixmbr command from a WinXP installation > CD would restore > it. Not this time! Even the diagnostic floppy from the Maxtor site proved the drive was toast. Probably a coinkydink; it's hard to imagine GRUB physically damaging a drive. That's why I covered my butt by saying "while fumbling" instead of "_by_ fumbling" :^D __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-04-23 20:30 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-04-22 15:21 [gentoo-user] Grub won't boot SATA WinXP disk mattr 2006-04-22 15:38 ` Allan Spagnol Comar 2006-04-22 16:22 ` Christopher E 2006-04-22 20:03 ` mattr 2006-04-22 18:23 ` maxim wexler 2006-04-22 19:22 ` Mick 2006-04-23 20:22 ` maxim wexler
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox