[opensuse] GRUB will not boot up second windows partition
I had something go drastically wrong with a Windows XP partition on a dual boot system (with SuSE) which is preventing it (Windows) from booting up properly. So I decided to purchase a second drive and create a new partition on this disk drive and reinstall Windows XP there. To accomplish this, for some darn reason only Microsoft knows, I had to disconnected my original drive in order to reinstall Windows XP on my new second drive, only when it was in the first SATA port position (I suspect this has something to do with the fact that I have an OEM reinstall disk for Win XP but that is only a guess...). I then reconnected the original drive into my second SATA slot. That much was successful and with the new XP I was able to at least read and start recovering files from the old XP partition. As I MOSTLY use SuSE 10.3 I decided to switch the order of the drives so that my original drive was again the first drive on my system and boot from it. As the boot menu was still referring to the original broken version of Windows XP, I booted up SuSE and attempted to fix GRUB (via YaST) so that it would also let me boot up the new XP partition. This is where I ran into troubles. Even though I am telling GRUB that the new XP partition is on my second drive, in the first primary partition, /dev/sdb0, it will not boot it up when I select it. Instead it continues to try an boot up the original broken XP that in now located on my first drive /dev/sda0. I even let the YaST boot manager find and suggest the possible operating systems and build a GRUB boot menu, and it properly found both XP partitions and made entries in the boot menu for each. BUT booting either still results in only the first Windows XP partition trying to boot up which as I said fails. If I unplug the drive that has this broken XP and SuSE on it, and reconfigure the SATA cables appropriately, then the new version of Windows XP will boot up fine, so I know there is nothing wrong with it. So I am lost and confused... Can anyone offer me advise on how to get this stubborn boot loader to do what I want it to? (That is to allow me to boot up my new second Win XP?) I REALLY do NOT want to have to reinstall SuSE as that would be a LOT of work for me!!! Marc... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Marc Chamberlin wrote:
I had something go drastically wrong with a Windows XP partition on a dual boot system (with SuSE) which is preventing it (Windows) from booting up properly. So I decided to purchase a second drive and create a new partition on this disk drive and reinstall Windows XP there. To accomplish this, for some darn reason only Microsoft knows, I had to disconnected my original drive in order to reinstall Windows XP on my new second drive, only when it was in the first SATA port position (I suspect this has something to do with the fact that I have an OEM reinstall disk for Win XP but that is only a guess...). I then reconnected the original drive into my second SATA slot. That much was successful and with the new XP I was able to at least read and start recovering files from the old XP partition.
As I MOSTLY use SuSE 10.3 I decided to switch the order of the drives so that my original drive was again the first drive on my system and boot from it. As the boot menu was still referring to the original broken version of Windows XP, I booted up SuSE and attempted to fix GRUB (via YaST) so that it would also let me boot up the new XP partition.
This is where I ran into troubles. Even though I am telling GRUB that the new XP partition is on my second drive, in the first primary partition, /dev/sdb0, it will not boot it up when I select it. Instead it continues to try an boot up the original broken XP that in now located on my first drive /dev/sda0. I even let the YaST boot manager find and suggest the possible operating systems and build a GRUB boot menu, and it properly found both XP partitions and made entries in the boot menu for each. BUT booting either still results in only the first Windows XP partition trying to boot up which as I said fails. If I unplug the drive that has this broken XP and SuSE on it, and reconfigure the SATA cables appropriately, then the new version of Windows XP will boot up fine, so I know there is nothing wrong with it.
So I am lost and confused... Can anyone offer me advise on how to get this stubborn boot loader to do what I want it to? (That is to allow me to boot up my new second Win XP?) I REALLY do NOT want to have to reinstall SuSE as that would be a LOT of work for me!!!
Marc...
This may not be the correct answer but check to see if the entries in /boot/grub/device.map match the devices/locations shown in menu.lst. I did something similar last week on my wife's computer and nothing would boot until (using YaST) I made grub boot from the MBR rather than its own choice during installation of the (?)Boot Partition [or something :-) ]. And just to add to this, the installation details for grub where showing the HDs out of order (ie, first as sdb and second as sda); accordingly grub had the wrong info for where the root partition was located - which is why I am suggesting to check was is in device.map VS menu.lst. HTH. Ciao. -- Past experience, if not forgotten, is a guide for the future. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marc Chamberlin wrote: | | So I am lost and confused... Can anyone offer me advise on how to get | this stubborn boot loader to do what I want it to? (That is to allow me | to boot up my new second Win XP?) I REALLY do NOT want to have to | reinstall SuSE as that would be a LOT of work for me!!! | | Marc... | | I would just format the "old" xp partition, sounds like xp doesnt know what mbr to use, or remove the grub entry for the corrupted xp. been a while since ive had to deal with a dual boot, thats what I would do, theres no sense in keeping it right? - -- Steve Reilly http://reillyblog.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHn+pL1L48K811Km0RAkQ3AJoD0r0BUdvoeBvQlk9jVk1hWI+VmACfUW/4 mFEAHVFMNGuLES8fFBZj8LA= =LTwU -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Jan 30, 2008 1:08 PM, steve <sfreilly@roadrunner.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Marc Chamberlin wrote:
| | So I am lost and confused... Can anyone offer me advise on how to get | this stubborn boot loader to do what I want it to? (That is to allow me | to boot up my new second Win XP?) I REALLY do NOT want to have to | reinstall SuSE as that would be a LOT of work for me!!! | | Marc...
Is grub the problem, or XP? In other words is grub passing correctly to XP, but the XP boot process is failing? If you have installed XP onto the first disk, that is where it expects to find it. When you move it to the second disk, as far as XP is concerned, in its own boot.ini file, it still tries to boot the 1st disk. I forget the actual config in boot.ini, but a bit of trial and error should fix it... For example the following entries (out of boot.ini): [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect will boot the second partition off the first drive. (I believe disks count from 0 and partitions count from 1) This may fix your prob. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
The long and short of it is that one needs to get grub to fool windows into thinking the 2nd drive is actually the first one. windows *only* boots off the first drive in a system. it's even documented as such by m$, though why they would choose to criple their product is beyond me. here is what you want in the winblows section of your grub.conf: map (hd0) (hd1) map (hd1) (hd0) -----Original Message----- From: John Bennett [mailto:hornetster@gmail.com] Sent: Wednesday, 30 January 2008 4:31 p.m. To: opensuse@opensuse.org Subject: Re: [opensuse] GRUB will not boot up second windows partition On Jan 30, 2008 1:08 PM, steve <sfreilly@roadrunner.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Marc Chamberlin wrote:
| | So I am lost and confused... Can anyone offer me advise on how to get | this stubborn boot loader to do what I want it to? (That is to allow me | to boot up my new second Win XP?) I REALLY do NOT want to have to | reinstall SuSE as that would be a LOT of work for me!!! | | Marc...
Is grub the problem, or XP? In other words is grub passing correctly to XP, but the XP boot process is failing? If you have installed XP onto the first disk, that is where it expects to find it. When you move it to the second disk, as far as XP is concerned, in its own boot.ini file, it still tries to boot the 1st disk. I forget the actual config in boot.ini, but a bit of trial and error should fix it... For example the following entries (out of boot.ini): [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect will boot the second partition off the first drive. (I believe disks count from 0 and partitions count from 1) This may fix your prob. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
steve wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Marc Chamberlin wrote:
| | So I am lost and confused... Can anyone offer me advise on how to get | this stubborn boot loader to do what I want it to? (That is to allow me | to boot up my new second Win XP?) I REALLY do NOT want to have to | reinstall SuSE as that would be a LOT of work for me!!! | | Marc... | |
I would just format the "old" xp partition, sounds like xp doesnt know what mbr to use, or remove the grub entry for the corrupted xp. been a while since ive had to deal with a dual boot, thats what I would do, theres no sense in keeping it right?
- -- Steve Reilly
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHn+pL1L48K811Km0RAkQ3AJoD0r0BUdvoeBvQlk9jVk1hWI+VmACfUW/4 mFEAHVFMNGuLES8fFBZj8LA= =LTwU -----END PGP SIGNATURE----- Thanks Steve for your suggestion... Eventually I will delete this old XP partition but first I need to recover many files from it an move them over to the new XP partition. This old XP partition seems to be readable, just not bootable. So I want to hang on to it long enough to accomplish that first..
Marc... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Jan 31, 2008 5:08 PM, Marc Chamberlin <marc@marcchamberlin.com> wrote:
Thanks Steve for your suggestion... Eventually I will delete this old XP partition but first I need to recover many files from it an move them over to the new XP partition. This old XP partition seems to be readable, just not bootable. So I want to hang on to it long enough to accomplish that first..
Let me check if I understood correctly ... you have now a master disk with suse and a slave disk with XP, and you want to boot with grub, if so ... is simply as map the secondary device as a primary device, so windows will think it's on the first disk. For instance: title Windows map (hd1) (hd0) map (hd0) (hd1) rootnoverify (hd1,0) chainloader (hd1,0)+1 where hd1 is the slave (XP device) disk and hd0 the suse disk. hope it helps -- Kind Regards Visitá/Go to >> http://www.opensuse.org
On Tuesday 29 January 2008 08:26:10 pm Marc Chamberlin wrote: [...]
So I am lost and confused... Can anyone offer me advise on how to get this stubborn boot loader to do what I want it to? (That is to allow me to boot up my new second Win XP?) I REALLY do NOT want to have to reinstall SuSE as that would be a LOT of work for me!!!
Marc...
Can you post /boot/grub/menu.lst and /boot/grub/device.map -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Rajko M. wrote:
On Tuesday 29 January 2008 08:26:10 pm Marc Chamberlin wrote: [...]
So I am lost and confused... Can anyone offer me advise on how to get this stubborn boot loader to do what I want it to? (That is to allow me to boot up my new second Win XP?) I REALLY do NOT want to have to reinstall SuSE as that would be a LOT of work for me!!!
Marc...
Can you post /boot/grub/menu.lst and /boot/grub/device.map
Rajko -
I sure can...
------------------------------------------------------------------------
# Modified by YaST2. Last modification on Wed Jan 30 12:40:07 PST 2008
default 0
timeout 8
gfxmenu (hd0,1)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3
root (hd0,1)
kernel /boot/vmlinuz-2.6.22.13-0.3-default root=/dev/disk/by-id/scsi-SATA_WDC_WD800JD-00L_WD-WMAM9Z497656-part2 splash=silent showopts
initrd /boot/initrd-2.6.22.13-0.3-default
###Don't change this comment - YaST2 identifier: Original name: windows 1###
title Old Windows XP
rootnoverify (hd0,1)
chainloader (hd0,0)+1
###Don't change this comment - YaST2 identifier: Original name: windows 2###
title New Windows XP
rootnoverify (hd0,1)
chainloader (hd1,0)+1
###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
rootnoverify (hd0,1)
chainloader (fd0)+1
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3
root (hd0,1)
kernel /boot/vmlinuz-2.6.22.13-0.3-default root=/dev/disk/by-id/scsi-SATA_WDC_WD800JD-00L_WD-WMAM9Z497656-part2 showopts ide=nodma apm=off acpi=off noresume edd=off 3
initrd /boot/initrd-2.6.22.13-0.3-default
###Don't change this comment - YaST2 identifier: Original name: Kernel-2.6.22.13-0.3-default###
title Kernel-2.6.22.13-0.3-default
root (hd0,1)
kernel /boot/vmlinuz-2.6.22.13-0.3-default root=/dev/disk/by-id/scsi-SATA_WDC_WD800JD-00L_WD-WMAM9Z497656-part2
splash=silent showopts
initrd /boot/initrd-2.6.22.13-0.3-default
------------------------------------------------------------------------
(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb
Marc...
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 31 January 2008 01:14:04 pm Marc Chamberlin wrote:
Rajko M. wrote:
On Tuesday 29 January 2008 08:26:10 pm Marc Chamberlin wrote: [...]
So I am lost and confused... Can anyone offer me advise on how to get this stubborn boot loader to do what I want it to? (That is to allow me to boot up my new second Win XP?) I REALLY do NOT want to have to reinstall SuSE as that would be a LOT of work for me!!!
Marc...
Can you post /boot/grub/menu.lst and /boot/grub/device.map
[...] This is what Gabriel suggested:
###Don't change this comment - YaST2 identifier: Original name: windows 2###
title New Windows XP rootnoverify (hd0,1) map (hd1) (hd0) map (hd0) (hd1) chainloader (hd1,0)+1
It should work now without touching Windows. Device map is OK.
(fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb
-- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Marc Chamberlin a écrit :
I had something go drastically wrong with a Windows XP partition on a dual boot system (with SuSE) which is preventing it (Windows) from
there is no reason to do any such thing to have openSUSE/xp/vista run together (I have all them three). However, most of the time, a grub change break vista or xp (there is little boot problem if grub is on the mbr and the bootable flag set on the xp/vista partition, but this don't work with *2* windows) I could manage to make it work *with the original XP/vista disk* (cd for XP, dvd for Vista, not the restore laptop disk), there is a "repair" function on these disks that make windows boot without disturbing grub (I don't know what it does) jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
jdd a écrit :
Marc Chamberlin a écrit :
I had something go drastically wrong with a Windows XP partition on a dual boot system (with SuSE) which is preventing it (Windows) from
there is no reason to do any such thing to have openSUSE/xp/vista run together (I have all them three).
However, most of the time, a grub change break vista or xp (there is little boot problem if grub is on the mbr and the bootable flag set on the xp/vista partition, but this don't work with *2* windows)
I could manage to make it work *with the original XP/vista disk* (cd for XP, dvd for Vista, not the restore laptop disk), there is a "repair" function on these disks that make windows boot without disturbing grub (I don't know what it does)
jdd
http://en.opensuse.org/SDB:Prefered_bootloader_options -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (8)
-
Basil Chupin
-
Gabriel .
-
jdd
-
John Bennett
-
Marc Chamberlin
-
Philip Dowie
-
Rajko M.
-
steve