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
Golden

Microsoft Community Contributor Award Recipient

Windows 7 Ult. 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.

-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
Golden

Microsoft Community Contributor Award Recipient

Windows 7 Ult. 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
LittleJay

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
Golden

Microsoft Community Contributor Award Recipient

Windows 7 Ult. 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
Golden

Microsoft Community Contributor Award Recipient

Windows 7 Ult. 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
SIW2

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/

-ftw.jpg


My System SpecsSystem Spec
06 Aug 2012   #8
LittleJay

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
Kaktussoft

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
Kaktussoft

Microsoft Community Contributor Award Recipient

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

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

-win7. 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
Thread Forum
Dual Boot - Windows 7 and Linux
How to Correctly Setup a Dual Boot with Windows 7 and LinuxMint13 Historically, dual booting Windows and a Linux distribution was fraught with risks due to the propensity of the Linux GRUB loader to interfere with and corrupt the Windows bootloader. This often left the Windows installation...
Tutorials
Uninstalled Linux OS dual boot with Windows 7 now boot issue.
Tried Ubuntu & didn't like it so wanted to remove it completely. After deleting & recovering that portion of (G: ) which is where Ubuntu was installed, I couldn't boot in Windows 7. I was able to use my install disk to load into repair. The OS it found was- OS -Windows 7 Partition Size -...
General Discussion
Dual boot Windows and Linux Ubuntu
Hello friends, I would like to install Linux Ubuntu on my laptop alongside Windows using dual boot. However, people keep telling me that it is not a good idea this to be done on a laptop because of driver comparability and stuff like that. So is it OK if dual boot Ubuntu and Windows on a...
Installation & Setup
windows 7 and linux fedora dual boot with dual drives
hello, i have some questions regarding dual booting windows 7 home premium x64 with linux fedora 14 on dual independantly dedicated drives. i am a college student with moderate computer (windows) knowledge but am doing software development and would like to play around with some linux for a class....
General Discussion
Macrium Users -- Linux boot CD... Cant see Windows shares/folders
I am testing Macrium Reflect for a client and so far have had a great working incremental and full backup set going for the last 5 days. I love the ease of setup and the fact that I can do anything by editing the VBScript files. I know several of our longstanding members use Macrium, so I...
Backup and Restore
Linux Dual Boot System Using the Windows 7 Boot MGR
Hello! I've got Windows 7 installed and would like to set up a dual boot system with an Ubuntu 9.04. However, I would like to use the Windows 7 boot loader instead of GRUB. How can I do that? Thanks in advance.
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 22:16.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App