[opensuse] Boot Loader Wisdom Needed
I was really excited when I got permission from my manager to install a disk drive in one of my computers at work and experiment with using Linux instead of Server 2008. The machine is used for two purposes only -- as a Hyper-V host for various specialized workstations, and as a file and printer server. Nothing there that couldn't be done well by SuSE Linux, it seemed to me. And I could quit shutting down all my VMs and rebooting the host server every time Microsoft made yet another attempt to make Windows safe to use. So I installed a 750 GB drive for openSuSE 11.0. Because it was an experiment at first, I wanted to leave the original drives alone, and be able to dual- boot. If the experiment succeeded, I'd change over to Linux only, but if it didn't work out for some reason, I could remove the new drive and the server should be back as it was before. Because of the order of the SATA connections, the new drive I added became sda to Linux. The original drives, now sdb and sdc, were mounted as /windows/c and /windows/d, respectively. Both are apparently intact, and are accessible from the Linux file system. I expected the GRUB loader to list Windows as a startup option, but in fact, it listed Windows 1 and Windows 2, presumably because of the two NTFS drives. But neither one actually boots. (I only expected Windows 1 to boot, because that was the original C: drive.) I've done dual-boot systems before, with SuSE Linux and Windows, without ever having such a problem. I could fix the problem by re-installing Windows (and possibly even without re-installing, if I can figure out what recovery utility to use), but it seems to me that doing that would only give me Windows without Linux. And if I reinstalled Linux again afterwards, it seems likely that I'd end up back where I am now. Does anybody have an idea what I should try next? Or where I can find out what the GRUB entry should look like in order to boot the original Windows C: drive? Apparently what the SuSE installer put there isn't correct. I don't want to look like an idiot to my manager, and I was hoping that my experiment might eventually lead to our using Linux for a lot of our file and printer servers, not just my machine. Seems like every week that we need to install updates that require rebooting the servers. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 13 December 2008 12:28:33 Jerry Houston wrote:
Does anybody have an idea what I should try next? Or where I can find out what the GRUB entry should look like in order to boot the original Windows C: drive? Apparently what the SuSE installer put there isn't correct.
If it is booting to Linux then we would have to know what is in /boot/grub/menu.lst . Please post it. Rajko. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 12/14/2008 02:28 AM, Jerry Houston wrote:
I was really excited when I got permission from my manager to install a disk drive in one of my computers at work and experiment with using Linux instead of Server 2008. The machine is used for two purposes only -- as a Hyper-V host for various specialized workstations, and as a file and printer server.
Nothing there that couldn't be done well by SuSE Linux, it seemed to me. And I could quit shutting down all my VMs and rebooting the host server every time Microsoft made yet another attempt to make Windows safe to use.
So I installed a 750 GB drive for openSuSE 11.0. Because it was an experiment at first, I wanted to leave the original drives alone, and be able to dual- boot. If the experiment succeeded, I'd change over to Linux only, but if it didn't work out for some reason, I could remove the new drive and the server should be back as it was before.
Because of the order of the SATA connections, the new drive I added became sda to Linux. The original drives, now sdb and sdc, were mounted as /windows/c and /windows/d, respectively. Both are apparently intact, and are accessible from the Linux file system.
This seems to have changed the BIOS ordering of the drives, which would make the Windows boot.ini file out of sync. If I were you I would not panic, but see if the BIOS has a boot option to change the boot device. If so, specifically choose the drive Windows 1 is on to boot from and see if it boots. If it does, I would use the BIOS to dual boot instead of grub. If you have to change the Windows files to allow it to boot while you have your new 750 GB drive in the system, then remove the drive, you would need to change it back by using a rescue console within Windows. Bios is easier.
I expected the GRUB loader to list Windows as a startup option, but in fact, it listed Windows 1 and Windows 2, presumably because of the two NTFS drives. But neither one actually boots. (I only expected Windows 1 to boot, because that was the original C: drive.)
If the BIOS will do it, I would remove both Windows entries from the menu.lst.
I've done dual-boot systems before, with SuSE Linux and Windows, without ever having such a problem.
But has the disk order changed before?
I could fix the problem by re-installing Windows (and possibly even without re-installing, if I can figure out what recovery utility to use), but it seems to me that doing that would only give me Windows without Linux. And if I reinstalled Linux again afterwards, it seems likely that I'd end up back where I am now.
I am pretty sure Windows would have seen its boot drive as disk1 before, now it is disk2 with respect to the BIOS. I do not think Linux has done anything wrong, nor is Windows messed up at all. It is simply which drive was bootable first (and thus sda or disk1)
Does anybody have an idea what I should try next? Or where I can find out what the GRUB entry should look like in order to boot the original Windows C: drive? Apparently what the SuSE installer put there isn't correct.
I suspect it is correct, but Windows is looking at disk1 for its boot files and cannot find them there.
I don't want to look like an idiot to my manager, and I was hoping that my experiment might eventually lead to our using Linux for a lot of our file and printer servers, not just my machine. Seems like every week that we need to install updates that require rebooting the servers.
Hope this helps you in your quest. -- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 13 December 2008 14:38:43 Joe Morris wrote:
I suspect it is correct, but Windows is looking at disk1 for its boot files and cannot find them there.
I don't want to look like an idiot to my manager, and I was hoping that my experiment might eventually lead to our using Linux for a lot of our file and printer servers, not just my machine. Seems like every week that we need to install updates that require rebooting the servers.
Hope this helps you in your quest.
Thanks to both you and Rajko. I used the SuSE installation disk to 'repair' my bootloader, and I think I got it right. Since I knew the second disk (original disk D:) isn't bootable, I just opted for the first one, and called it 'Windows'. The results from that were the same as before. Then I unplugged the new disk, and GRUB was still started, so it was apparently installed on the original Windows drive C:. I'm at home, and this system is at work, but I'm going in to the office tomorrow to see if I can make it work from the BIOS. I'd like to AT LEAST get it booted so that I can backup the C: and D: Windows drives. I started to do that first, but with a 250 GB and a 500 GB drive, it would have taken hours. And I had no reason to distrust my previous Linux experience with dual-boot systems. You're probably right about changing the boot order. When I've done this before, I don't believe the new drive became the first drive. That's probably the whole difference. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 13 December 2008 17:24:09 Jerry Houston wrote:
On Saturday 13 December 2008 14:38:43 Joe Morris wrote:
I suspect it is correct, but Windows is looking at disk1 for its boot files and cannot find them there.
I don't want to look like an idiot to my manager, and I was hoping that my experiment might eventually lead to our using Linux for a lot of our file and printer servers, not just my machine. Seems like every week that we need to install updates that require rebooting the servers.
Hope this helps you in your quest.
Thanks to both you and Rajko. I used the SuSE installation disk to 'repair' my bootloader, and I think I got it right. Since I knew the second disk (original disk D:) isn't bootable, I just opted for the first one, and called it 'Windows'. The results from that were the same as before.
Then I unplugged the new disk, and GRUB was still started, so it was apparently installed on the original Windows drive C:. ...
If it boots Linux and GRUB is installed on first hard disk, then it could be that Server 2008 can have similar problem as Vista: https://bugzilla.novell.com/show_bug.cgi?id=402550 It is bad written rootnoverify directive in menu.lst . In your case, it probably is, as in bug report, rootnoverify (hd2,0) instead of (hd0,0). Problem is that XP has no problem which disk is marked with rootnoverify, but Vista has. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 13 December 2008 17:25:26 Rajko Matovic wrote:
If it boots Linux and GRUB is installed on first hard disk, then it could be that Server 2008 can have similar problem as Vista: https://bugzilla.novell.com/show_bug.cgi?id=402550
It is bad written rootnoverify directive in menu.lst . In your case, it probably is, as in bug report, rootnoverify (hd2,0) instead of (hd0,0). Problem is that XP has no problem which disk is marked with rootnoverify, but Vista has.
That's almost certainly it. Server 2008 is Windows 6.1, like Vista SP1. It's essentially Vista without the lipstick. I'm used to installing drivers and services that are marked for Vista x64. I forwarded your message to my office email, and I'll give that a try tomorrow. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Jerry Houston
-
Joe Morris
-
Rajko Matovic