Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows/Linux dual-boot imaging using Macrium


03 Aug 2012   #1

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 
Windows/Linux dual-boot imaging using Macrium

G'day,

I've setup a dual-boot Windows 7 + LinuxMint13 on a single hard disk. My plan was to use Macrium to image this setup. For the Windows partition, this isn't a problem. For the Linux partition, however, I'm unsure whether a restore of an image of this partition would work, because of my lack of understanding of the relationship between the Windows and GRUB2 bootloaders - let me explain further:

After the initial Windows installation, I used EasyBCD to copy the bootloader to the C: partition, allowing me to remove the 100MB System Reserved partition. I then installed LinuxMint, and again used EasyBCD to add the LinuxMint boot entry. I again used the 'Write MBR' function under the BCD Deployment option in EasyBCD, to ensure the Windows bootloader appears first at bootup. This allows me to select the LinuxMint entry, which in turn chainloads the GRUB2 bootloader, which eventually loads LinuxMint. This works perfectly.

Windows/Linux dual-boot imaging using Macrium-capture.png

My question is: does the GRUB bootloader reside on the Linux partition, or does it reside on the Windows partition by virtue of the EasyBCD manipulation I have done?

If its the former, than using Macrium to image just the LinuxMint partition will work for me. Can anyone confirm this? Should I also image the Linux Swap partition as part of the LinuxMint partition image?

Thanks,
Golden



My System SpecsSystem Spec
.

06 Aug 2012   #2

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

OK. I guess there is only one way to find out then.....bombs away!
My System SpecsSystem Spec
06 Aug 2012   #3
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

I think it does not really matter where the Linux Grub resides. As long as you image/restore all participating partitions (C, Mint, Mint swap), things should work.
My System SpecsSystem Spec
.


06 Aug 2012   #4

Windows 7 Home Premium 64bit SP 1
 
 

Hi Golden. From my experience with dual booting Windows and Linux, the GRUB bootloader is part of the Linux program. With EasyBCD you are adding an entry for GRUB into the Windows bootloader, but I don't think it contains the actual GRUB bootloader, so I would be careful about.
My System SpecsSystem Spec
06 Aug 2012   #5

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

OK.

This is what I did:

1. Wiped all the partitions
2. Restored the LinuxMint and Swap partitions ONLY

Result : LinuxMint will not boot.

Thus, I conclude that the GRUB bootloader (or something related to it) must be written to the Windows NTFS partition (which I wiped but did not restore).

I'll wipe everything again, then restore the Windows, LinuxMint and Swap partitions. Then test to see if Linux will boot.

I think you are right Wolfgang, all 3 partitions must exist/be restored as they are all integral to one another.

Regards,
Golden
My System SpecsSystem Spec
06 Aug 2012   #6

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

Crap!

Windows boots just fine, but Linux won't budge from this prompt:

Code:
error: unknown filesystem.
grub rescue> _
Bleh
My System SpecsSystem Spec
06 Aug 2012   #7

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Easybcd uses neogrub on the Windows partition.

Suggest you use Paragon free - it has file transfer wizard - you can see/copy to or from /move/delete anything on Linux partition using that from within Windows.

It also images and restores ext2/3/4/ perfectly.

I will post a settings.xml you can use to replace the one in Paragon "program" folder to make it easier.

http://www.paragon-software.com/home/br-free/

Windows/Linux dual-boot imaging using Macrium-ftw.jpg


My System SpecsSystem Spec
06 Aug 2012   #8

Windows 7 Home Premium 64bit SP 1
 
 

I am not surprised at all that you are having problems with getting Linux to boot, as I have gone through the same thing myself. Someone from another forum mentioned I should try Clonezilla Clonezilla - About, because it works with both NTFS and EXT file systems and I have had good luck with that. But if the Paragon software will do the same thing, I would go that route.
My System SpecsSystem Spec
06 Aug 2012   #9

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Golden View Post
OK.

This is what I did:

1. Wiped all the partitions
2. Restored the LinuxMint and Swap partitions ONLY

Result : LinuxMint will not boot.

Thus, I conclude that the GRUB bootloader (or something related to it) must be written to the Windows NTFS partition (which I wiped but did not restore).

I'll wipe everything again, then restore the Windows, LinuxMint and Swap partitions. Then test to see if Linux will boot.

I think you are right Wolfgang, all 3 partitions must exist/be restored as they are all integral to one another.

Regards,
Golden
Was linuxmint partition active at that time?
My System SpecsSystem Spec
06 Aug 2012   #10

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

MBR is Windows 7 mbr and can easily be rebuilt using "startup repair" Windows 7. It loads the volume boot sector of active partition (your Windows 7 partition) and loads the bootmenu. In bootmenu is:

-Windows 7. Start winload.exe from partition that start at sector 56234234 for example. Boot fails if you change the start sector of that partition. But "startup repair" will fix that problem.
-a special entry that loads neogrub (easybcd stuff). It's something like normal grub and uses a small file that says: chainload to "volume boot sector" of harddisk 1 partition 3 for example. If linuxmint still is in partition 3 it works after restore. Otherwise delete the menu option using easybcd and recreate it. chainloading means "jump to another bootloader". Then it loads the linuxmunt bootloader in partition 3.
If linuxmint is now in partition 4 you can still delete entry using easybcd and make it again.

But grub itselft in partition 4 has also a config file where linux is! It still points to partition 3! That should be fixed.
Do you understand?
My System SpecsSystem Spec
Reply

 Windows/Linux dual-boot imaging using Macrium




Thread Tools



Similar help and support threads for2: Windows/Linux dual-boot imaging using Macrium
Thread Forum
Dual Boot - Windows 7 and Linux Tutorials
Dual boot Windows and Linux Ubuntu Installation & Setup
windows 7 and linux fedora dual boot with dual drives General Discussion
Macrium Users -- Linux boot CD... Cant see Windows shares/folders Backup and Restore
partitions for dual boot Windows 7 and linux Installation & Setup
Linux Dual Boot System Using the Windows 7 Boot MGR Installation & Setup
Dual boot windows 7/linux (Fedora) Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:27 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33