Replace WinXP in multiboot with image from WinXP in single boot
1 Attachment(s)
I started with a WinXP only system.
320Gb partitioned evenly 160 + 160. I created a new system as follows: Installed in this order WinXP, Win7x86, Win7x64, LinuxMint15x64 Screenshot of partitions is attached. When I boot, first I go to Grub2 |Linux Mint 15 Cinnamon 64-bit, 3.8.0-19-generic (/dev/sda3) |Linux Mint 15 Cinnamon 64-bit, 3.8.0-19-generic (/dev/sda3) -- recove |Memory test (memtest86+) |Memory test (memtest86+, serial console 115200) |Windows Recovery Environment (loader) (on /dev/sda1) choosing Linux of course goes directly to Linux. Choosing Windows loader gives: |Windows Boot Manager |Choose an operating blah blah blah... |XP-32B |W7-32B |W7-64B I made the XP partition big enough to copy in an image of my old standalone XP computer but when I copy it in with Clonezilla, the computer boots straight to XP. (not surprising since its SDA1) Ideally, I'd like to copy XP in and have GRUB list all 4 operating systems. I've tried a few methods to no avail. Any ideas how to get this working? |
You can't do it like that because of the way the Windoze installer replaces the loader code when (M$oft interpretation of) "dual boot" is attempted.
If you "hide" each (all) of the prior Windoze partitions before each subsequent install, you might get what you want. Grub probably won't care whether they remain hidden or not, can't remember if the M$oft loader requires at least one to be un-hidden. |
Hi
Quote:
You should be able to re-install grub2 from mint to have all the OS's display at boot prompt. Personally, I set a /boot partition of less than 400Mb, But I'm only dual booting. Your Winxp restore is writing over the mbr, you can reset this with dd Quote:
|
Windows needs its boot files on a primary partition and the only windows primary you have is the xp on sda1. I expect if you looked on sda1, you would find not only the xp boot files but also the windows 7 boot files. Windows bootloaders are backward compatible so that an install of windows 7 should detect and create a menu for xp but the reverse would have to be done manually.
http://www.sevenforums.com/tutorials...artitions.html Grub2 also chainloads windows rather than directly booting it. |
Quote:
The solution is actually straight-forward: - Restore the XP image - Use a Windows / DVD to repair the bootloader (this will overwrite your MBR) - Use a Linux Live-CD to reinstall Grub If you want to have all OSes in one boot menu you can't accomplish this with Grub, but you can accomplish this with the Windows bootloader. After you let Windows 7 repair the bootloader do not install Grub to the MBR, but to your /-partition. Now use software like EasyBCD to add Linux to your Windows bootloader. |
for this
" WinXP, Win7x86, Win7x64, LinuxMint15x64" i would install a VM on Linux Mint and run virtual installs of the old XP and 32 bit 7 and 64 bit 7 |
Methods I've tried all start with copy in old WinXP with Clonezilla and then:
-use EasyBCD but it fails to find the configuration file so: -install WinXP bootloader to MBR from EasyBCD in WinXP -install Win7 bootloader to MBR from EasyBCD in WinXP -boot from live and try to install grub @TobiSGD I'll try your suggestion today and post results. |
Fail Fail Fail :(
All the following leads to fail. I ended up restoring again and now I'm going to copy Old XP into another partition and have a 5 boot system. Owell. Still posting what happened even though it didn't work: ----------------------------------------------------------------- Starting with machine restored to configuration in screenshot and all OS's properly shut down. Clonezilla backup of my old WinXP single boot machine. Reboot to clonezilla live usb stick made with tuxboot 0.5 Restore Old WinXP in place of new. (sdc1, see screenshot in original post. That's WinXP) Download and burn a Windows 7 Ultimate iso from digitalriver (yes, it's legal) Make a bootable USB out of Win7 install disk using Universal-USB-Installer Reboot computer after Clonezilla is done. (it goes straight to XP) Download Install Run EasyBCD (it complains "The boot configuration data store could not be opened...Would you like to manually load a BCD registry... blah blah" -- NO BCD Deployment (button on left side) Bottom group: MBR Configuration Options - Install the Windows Vista/7 bootloader to the MBR - Click Write MBR Restart ... Hope ... ... ... Curse ... ... ... Hope ... ... twiddle thumbs ... See WinXP again. Curse ... reboot with Win7 USB stick in drive Click "Repair Your Computer" ... 'Searching for Windows installations...' Windows found problems with your computer's startup options - view details - yep, it found all the windows installs. click "Repair and restart" -- "Failed to save startup options." Manually do lots of command line things following several tutorials around the interwebs to try to rebuild c:\boot\bcd. Even copied it from the New XP image and that didn't work. (although it said missing NTLDR instead so I chased that one for a while. NTLDR was there the whole time but it didn't like it...) Finally ran chkdsk with /f option and that fubar'd the drive. Thank you Microshaft for "fixing" things for us. |
Windows can't boot from an extended partition.
Quote:
Quote:
|
Quote:
|
Thanks for the input.
Seems like a lot of effort for 3 versions of win. You'd have no probs if they (the Windows installs) were on separate drives. I seen a few unsolved hdd partitioning threads of late(,windows?). some trying to multi-boot flash-memory drives. I'm still learning cheers to the op, when it comes to partitioning, ime, keep it simple. Remove all the partitions and start with a plan, and end with a table of "consecutive" partitions. (nice and neat) it may save you pain later. |
I would install mint
then a VM then the 3 different versions of windows on the VM |
All times are GMT -5. The time now is 12:41 AM. |