Menu

#243 When I run Clonezilla from a physical usb disk connected to the host on a virtual machine in virtualbox, it does not display the correct partitions.

open
nobody
None
5
2016-03-12
2016-02-28
Ernst Elzas
No
  1. Create a Clonezilla image from a drive with two partitions, and store it on a server.
  2. Create a virtual hard drive for use by virtualbox:
C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands createrawvmdk -filename C:\extdisk.vmdk -rawdisk \\.\PhysicalDrive2
  1. Start virtualbox as administrator
  2. Create a new virtual machine, and use an existing drive, the drive c:\usb.vmdk which was created by the command above.
  3. Add another virtual harddisk to the virtual machine.
  4. Start the virtual machine, it will boot into Clonezilla, with the usb disk as /dev/sda and the other disk as /dev/sdb
  5. In a shell, create two partitions on /dev/sdb
  6. Exit the shell and start Clonezilla
  7. Choose device-image and enter all the needed info for connecting to the image created in step 1.
  8. Choose beginner mode.
  9. Choose restoreparts.
  10. Choose the image created in step 1.
  11. You get to partitions to choose, /dev/sda1 and /dev/sda2.
  12. Mark them both and press enter twice.
  13. You now get asked whether you're sure you want to continue, but the details displayed for /dev/sda1 are those for the partition on the usb disk.

In other words both what you get in step 12 as well as what you get in step 14 are problematic. Not wanting to overwrite the usb disk I answered no to the question whether I'm sure, but a further check is to check to which partition Clonezilla writes if you answer yes to both the questions whether you're sure.

The host is a Windows 7 32 bit machine running virtualbox 5.0.14 with the virtualbox extension pack.
The image in step 1 was created on a Windows 7 virtual machine using virtualbox and stored on a Windows 2012 server which was then accessed using samba. The network settings in Clonezilla were set to dhcp.

2 Attachments

Discussion

  • Steven Shiau

    Steven Shiau - 2016-03-06

    Could you please run the following commands in Clonezilla live command line prompt:
    1 sudo -i

    1. cat /proc/partitions
    2. df -ah
    3. blkid
      Please show the results of 2-4.
      Thanks.

    Steven.

     
  • Ernst Elzas

    Ernst Elzas - 2016-03-06

    Hi Steven,

    Attached is a screenshot with the output of the commands.
    Thanks,

    Ernst

     
  • Steven Shiau

    Steven Shiau - 2016-03-06

    This is weird. It should not happen.
    Which version of Clonezilla live did you use? Please tell me the iso file name.
    Thanks.

    Steven.

     
  • Ernst Elzas

    Ernst Elzas - 2016-03-06

    clonezilla-live-2.4.2-61-i586

     
  • Steven Shiau

    Steven Shiau - 2016-03-12

    Did you try the latest stable clonezilla live 2.4.5-23 or even the testing one, >=2.4.5-38:
    http://clonezilla.org/downloads.php
    ?
    There are many changes so please give it a try.

    Steven

     

Log in to post a comment.

MongoDB Logo MongoDB