I have a nice, well-running, well behaved Fedora installation. I'm thinking of buying Windows because I need to learn ASP.NET and Mono, for all that it does well, has some shortcomings. Plus there's no good editor for ASP.NET. Anyway, that's the "why would you want to do this" part. As far as how I would do it, I have a second hard drive. I think I can just install the second hard drive with Windows and then point Grub at that drive as a possible boot point. Is that true? Or will Windows want to erase the MBR of HDA and thus this won't be possible at all unless I swap the places of the hard drives and reinstall GRUB onto the new HDA?
Either way, I'd like to do this (assuming I even choose to do it) in a fashion that doesn't ruin my Linux install.
Preston
Preston Crawford wrote:
I have a nice, well-running, well behaved Fedora installation. I'm thinking of buying Windows because I need to learn ASP.NET and Mono, for all that it does well, has some shortcomings. Plus there's no good editor for ASP.NET. Anyway, that's the "why would you want to do this" part. As far as how I would do it, I have a second hard drive. I think I can just install the second hard drive with Windows and then point Grub at that drive as a possible boot point. Is that true? Or will Windows want to erase the MBR of HDA and thus this won't be possible at all unless I swap the places of the hard drives and reinstall GRUB onto the new HDA?
Either way, I'd like to do this (assuming I even choose to do it) in a fashion that doesn't ruin my Linux install.
Preston
MS Windows does not like being on a secondary hard drive.
My experience has been that you need to follow this procedure:
1) Take out the Fedora Harddrive 2) Replace with soon-to-be MS Windows Harddrive 3) Install Windows 4) Move the Windows Harddrive to the second bay, install Fedora Harddrive in the primary bay 5) Add an entry similar to the following to your grub.conf so that you can boot MS Windows: title Win2K map (hd1) (hd0) map (hd0) (hd1) rootnoverify (hd1,0) makeactive chainloader +1
The first two lines "swap" the primary and secondary drive, thus making Windows think it's still in the primary hard drive slot.
Good luck..
On Tue, Jan 27, 2004 at 11:00:51AM -0500, Keven Ring wrote:
Preston Crawford wrote:
I have a nice, well-running, well behaved Fedora installation. I'm thinking of buying Windows because I need to learn ASP.NET and Mono, for all that it does well, has some shortcomings. Plus there's no good editor for ASP.NET. Anyway, that's the "why would you want to do this" part. As far as how I would do it, I have a second hard drive. I think I can just install the second hard drive with Windows and then point Grub at that drive as a possible boot point. Is that true? Or will Windows want to erase the MBR of HDA and thus this won't be possible at all unless I swap the places of the hard drives and reinstall GRUB onto the new HDA?
Either way, I'd like to do this (assuming I even choose to do it) in a fashion that doesn't ruin my Linux install.
Preston
MS Windows does not like being on a secondary hard drive.
My experience has been that you need to follow this procedure:
- Take out the Fedora Harddrive
- Replace with soon-to-be MS Windows Harddrive
- Install Windows
- Move the Windows Harddrive to the second bay, install Fedora
Harddrive in the primary bay 5) Add an entry similar to the following to your grub.conf so that you can boot MS Windows: title Win2K map (hd1) (hd0) map (hd0) (hd1) rootnoverify (hd1,0) makeactive chainloader +1
The first two lines "swap" the primary and secondary drive, thus making Windows think it's still in the primary hard drive slot.
Good luck..
Preston,
Since it's unlikely you will be installing .NET on a non-XP system the gymnastics of mapping the drives shouln't be needed. I currently run a dual boot system with WindowsXP running on the secondary drive. Works fine.
John V. Pope
On Tue, Jan 27, 2004 at 11:00:51AM -0500, Keven Ring wrote:
Preston Crawford wrote:
I have a nice, well-running, well behaved Fedora installation. I'm thinking of buying Windows because I need to learn ASP.NET and Mono, for all that it does well, has some shortcomings. Plus there's no good editor for ASP.NET. Anyway, that's the "why would you want to do this" part. As far as how I would do it, I have a second hard drive. I think I can just install the second hard drive with Windows and then point Grub at that drive as a possible boot point. Is that true? Or will Windows want to erase the MBR of HDA and thus this won't be possible at all unless I swap the places of the hard drives and reinstall GRUB onto the new HDA?
Either way, I'd like to do this (assuming I even choose to do it) in a fashion that doesn't ruin my Linux install.
Preston
MS Windows does not like being on a secondary hard drive.
Not entirely. Mess-DOS and its descendants (W9x, Wme, etc.) have to boot from the primary partition of the first hard drive. NT does not descend from Mess-DOS, and can boot from any primary partition (and for all I know, perhaps any partition at all). As XP is descended from NT, it should boot from any hard drive.
My experience has been that you need to follow this procedure:
- Take out the Fedora Harddrive
- Replace with soon-to-be MS Windows Harddrive
- Install Windows
- Move the Windows Harddrive to the second bay, install Fedora
Harddrive in the primary bay 5) Add an entry similar to the following to your grub.conf so that you can boot MS Windows: title Win2K map (hd1) (hd0) map (hd0) (hd1) rootnoverify (hd1,0) makeactive chainloader +1
The first two lines "swap" the primary and secondary drive, thus making Windows think it's still in the primary hard drive slot.
Good luck..
Charles Curley wrote:
On Tue, Jan 27, 2004 at 11:00:51AM -0500, Keven Ring wrote:
Preston Crawford wrote:
I have a nice, well-running, well behaved Fedora installation. I'm thinking of buying Windows because I need to learn ASP.NET and Mono, for all that it does well, has some shortcomings. Plus there's no good editor for ASP.NET. Anyway, that's the "why would you want to do this" part. As far as how I would do it, I have a second hard drive. I think I can just install the second hard drive with Windows and then point Grub at that drive as a possible boot point. Is that true? Or will Windows want to erase the MBR of HDA and thus this won't be possible at all unless I swap the places of the hard drives and reinstall GRUB onto the new HDA?
Either way, I'd like to do this (assuming I even choose to do it) in a fashion that doesn't ruin my Linux install.
Preston
MS Windows does not like being on a secondary hard drive.
Not entirely. Mess-DOS and its descendants (W9x, Wme, etc.) have to boot from the primary partition of the first hard drive. NT does not descend from Mess-DOS, and can boot from any primary partition (and for all I know, perhaps any partition at all). As XP is descended from NT, it should boot from any hard drive.
Having attempted that proceedure about a year and a half ago [obviously before Fedora], to install Win2K, I would beg to differ.
Having installed Linux on the primary hard drive, and obtaining a second hard drive onto which I could install Windows, the installer indicated that it required installation on the primary drive, which contained 0 free disk space. Of course all of the partitions on the primary hard drive were used by Linux.
Once Win2K was installed, I swapped the hard drives back. In the grub boot loader, the entries did not map hd1 to hd0 and vice versa. Linux would boot just fine, but Windows always complained, and would not start. Then I mapped hd1 to hd0 and everything worked just fine.
Of course, YMMV. I certainly would not have gone through the trouble of disconnecting and reconnecting harddrives if I didn't need to. If one wants to try and install Win[2K, XP] on a second hard drive, and has success, more power to them. I am relating my experience, nothing more.
My experience has been that you need to follow this procedure:
- Take out the Fedora Harddrive
- Replace with soon-to-be MS Windows Harddrive
- Install Windows
- Move the Windows Harddrive to the second bay, install Fedora
Harddrive in the primary bay 5) Add an entry similar to the following to your grub.conf so that you can boot MS Windows: title Win2K map (hd1) (hd0) map (hd0) (hd1) rootnoverify (hd1,0) makeactive chainloader +1
The first two lines "swap" the primary and secondary drive, thus making Windows think it's still in the primary hard drive slot.
Good luck..
Preston Crawford wrote:
I have a nice, well-running, well behaved Fedora installation. I'm thinking of buying Windows because I need to learn ASP.NET and Mono, for all that it does well, has some shortcomings. Plus there's no good editor for ASP.NET. Anyway, that's the "why would you want to do this" part. As far as how I would do it, I have a second hard drive. I think I can just install the second hard drive with Windows and then point Grub at that drive as a possible boot point. Is that true? Or will Windows want to erase the MBR of HDA and thus this won't be possible at all unless I swap the places of the hard drives and reinstall GRUB onto the new HDA?
Either way, I'd like to do this (assuming I even choose to do it) in a fashion that doesn't ruin my Linux install.
Preston
I have heard that Windows will wipe out the boot info for Linux if you install Windows on a box that already has Linux installed. For that reason, I've only set up dual boot systems by having the Windows OS installed first.
Darrin wrote:
I have heard that Windows will wipe out the boot info for Linux if you install Windows on a box that already has Linux installed. For that reason, I've only set up dual boot systems by having the Windows OS installed first.
Usually windoze does that.. it's very rare , but sometimes it doesnt wipe the linux boot loader.. (it happened to my only once) In my computer , I install linux first , creating all the partitions (the big FAT partitions I create as ext3 and later I use partition magic to delete them and create them as fat, because linux doesnt like to create big FAT partitions [specially above 10Gb]). then I install windoze and later I use the install cd to go on rescue mode to reinstall the boot loader...
Pedro Macedo
Darrin wrote:
Preston Crawford wrote:
I have a nice, well-running, well behaved Fedora installation. I'm thinking of buying Windows because I need to learn ASP.NET and Mono, for all that it does well, has some shortcomings. Plus there's no good editor for ASP.NET. Anyway, that's the "why would you want to do this" part. As far as how I would do it, I have a second hard drive. I think I can just install the second hard drive with Windows and then point Grub at that drive as a possible boot point. Is that true? Or will Windows want to erase the MBR of HDA and thus this won't be possible at all unless I swap the places of the hard drives and reinstall GRUB onto the new HDA?
Either way, I'd like to do this (assuming I even choose to do it) in a fashion that doesn't ruin my Linux install. Preston
I have heard that Windows will wipe out the boot info for Linux if you install Windows on a box that already has Linux installed.
this can hapen if you install the linux boot loader on the MBR then install windows.
For that reason, I've only set up dual boot systems by having the Windows OS installed first.
You also can set up the linux install to boot from the first sector of the boot partition ( NOT the MBR) and then install windows later. In fact the easiest way to dual boot with XP or 2000 is to do exactly that (does not matter which order the install is done), and then follow the instructions I found here. http://www.geocities.com/epark/linux/grub-w2k-HOWTO.html
On Saturday 31 January 2004 00:25, Jeff Vian wrote:
I have heard that Windows will wipe out the boot info for Linux if you install Windows on a box that already has Linux installed.
this can hapen if you install the linux boot loader on the MBR then install windows.
Isn't it easy enough to save the MBR dd if=/dev/hda of=mbr bs=512 count=1 and then re-install it if windows overwrites it: dd if=mbr of=/dev/hda bs=512 count=1
Timothy Murphy wrote:
On Saturday 31 January 2004 00:25, Jeff Vian wrote:
I have heard that Windows will wipe out the boot info for Linux if you install Windows on a box that already has Linux installed.
this can hapen if you install the linux boot loader on the MBR then install windows.
Isn't it easy enough to save the MBR dd if=/dev/hda of=mbr bs=512 count=1 and then re-install it if windows overwrites it: dd if=mbr of=/dev/hda bs=512 count=1
yes, that works.
BUT you must be careful to do the save before you load windows, AND must have a boot floppy or a bootable CD sucy as knoppix or the install CD with rescue mode so you can get back to the location you saved it and do the restore.