I have 2 hard drives installed on my PC sdb(360GB) has WinXP & Linux Mint 14 sda (40GB) has Peppermint 3
I’ve completely wiped sdb in preparation to Install Windows 7 alongside Mint 15 when it’s released, so I’m now ready to install Windows 7 but my problems is I don’t know what drive Grub is installed on and my fear is that if I go ahead and install Windows 7 on sdb will it overwrite Grub preventing me from booting into Peppermint on sda ?
If I am getting this right, then in your current arrangement Peppermint (on drive sda1) controls grub.
Installing Win7 on drive sdb1 will over write grub on sda1.
I would suggest to approach it like this:
Disconnect all drives, except sdb
Move sdb to be the first drive
Install Windows 7 to sdb (it will re-partition it)
Move sdb to be in the second position
Reconnect sda (to first position) and run update-grub in Peppermint to pick up Win7
Install Mint alongside Win 7 on sdb but skip install grub (or install to sdb if you have to)
Update grub in Peppermint to pick up Mint
Make sure that when connecting the drives they go to the correct position so they are detected in the correct order in the bios.
I can’t add anything to that … that’s exactly how I’d do things
(ie. don’t have the Linux drive attached during Windows installation … then use GRUB to chainload Windows after adding the Linux drive back in and making sure it’s the primary boot device)
But rest assured, GRUB is easy to reinstall even if you do manage to overwrite it … or you could add Peppermint/Mint to the Win7 bootloader with EasyBCD.
I’m sure this will come as no surprise to you (it certainly doesn’t surprise me) but I’ve screwed it up
Before installing Win 7 I disconnected the Peppermint drive the installation went perfectly once installed I switched off the PC and reconnectd the Peppermint drive but now I have no grub menu and it will only boot into Windown even if I hit escape to get me into the boot options menu and select the Peppermint drive it skips that drive and boots into Windows.
I ran a live session and all the Peppermint system files appear to be there so I don’t think I’ve wiped it
The easiest would be to have different OSs’ on separate hard disc caddies which are interchangeable. But that just my opinion. It saves a lot of aggro. No emulators, no dual booting. Thats if you have a desk top computer.
unfortunately that’s not an option as one drive is SATA and the other IDE
go into your BIOS and make sure the Peppermint drive is set as the primary boot device.
I’m sure it already is set that way but I’ll double check when I get home but i didn’t think that would matter if I try directly booting the Peppermint drive via the bootloader
Is it possible that you might have had Peppermint’s grub installed to sdb in your original setup?
If that is the case then you will have to reinstall grub (from a live cd) to sda.
Also which drive is on IDE and which is on SATA?
You could be right but what I can’t understand is that Peppermint booted ok after I had completely re-formatted the other drive (sdb) which I imagine would have wiped Grub if it was installed on that drive
The SATA Drive is sdb (360GB) which now has Windows 7 installed
The IDE Drive is sda (40GB) which has Peppermint installed which I can’t now boot into since installing Windows 7 on sdb
The easiest would be to have different OSs' on separate hard disc caddies which are interchangeabl e. But that just my opinion. It saves a lot of aggro. No emulators, no dual booting. Thats if you have a desk top computer.
Sorry Bill I missed your post
I don’t have caddies i could use but to be honest there’s normally no hassle with dual booting unless you screw it up like I’ve managed to do but I am supremely confident the supergurus on here will sort it out for me
GRUB replaces the default Master Boot Record (MBR) with its own code. Deleting or formatting partitions will not touch that part of the disk.
Looking at the output it looks like that your sda has not got the boot flag set, hence it is not bootable from the bios.
First of all you need to set that with gparted from the live cd.
The next step (as Mark said) would be to install grub to sda (chroot into peppermint)
For your information after running Marks terminal commands the PC naturally booted straight into Windows (no grub menu) so I changed the boot order in the bios to boot the peppermint drive first it then booted into the grub menu with Peppermint as the default, so once again nothing more to do other than to thank you guys for another job well done and mark this solved.