Clonezilla disk to disk clone on a dual boot ubuntu karmic & XP setup - cannot open '/boot/grub/devi
        Posted  
        
            by srboisvert
        on Super User
        
        See other posts from Super User
        
            or by srboisvert
        
        
        
        Published on 2010-02-26T16:41:03Z
        Indexed on 
            2010/04/12
            8:03 UTC
        
        
        Read the original article
        Hit count: 545
        
I just tried to clone a failing existing boot drive for a dual boot system with Ubuntu karmic and Windows XP installed using Clonezilla. The cloning worked fine right up until the end when I got the following error:
Running: grub-install --no floppy --root-directory=/tmp/hd_img.twABYW /dev/sdb grub-probe: error: Cannot open '/boot/grub/device.map' /usr/sbin/grub-install:line 374: [: =: unary operator expected
What's my next step?
I imagine I need to somehow rebuild my boot record for Windows and Ubuntu and edit grub.
© Super User or respective owner