Page 1 of 2

Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 15:16
by michaelv13
Hello,
I have fixed VDI with openSUSE 12.3 installed on it.
To resize it, firstly I clone it into normal re-sizable VDI.
But after cloning, when I tried to test the cloned VDI (not resized yet), I cannot enter into system as I do in fixed VDI.
I connected the new VDI to the Virtual Box.
I can see that openSUSE starting load the GUI, freezes 2-3 minuts at the start screen and show me the console dialog:
/home/abuild/rpmbuild/BUILD/kernel-default-3.7.10/linux-3.7/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
doing fast boot
Creating device nodes with udev
Welcom to emergency mode! After logging in, type "journalctl -b" to view system logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode.
Give root password for login: _
Fixed VDI works, cloned VDI does not. What could be a problem?

Thanks a lot!

Re: Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 15:39
by Perryg
Was the guest shut down ( not saved state ) before you cloned it?

Post the guests log file ( as an attachment ) of the clone after a start try and fail. Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.

Re: Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 15:48
by michaelv13
Yes, guest was completely shut down. After that I did the clone.

I attached the log file.

Thank you for your help!

Re: Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 16:14
by Perryg
Can you post the exact and complete command/s that you used to clone the drive?

Note: the log does not show any issue that I can see.

Re: Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 16:19
by michaelv13
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe clonehd d:\OpenSUSE\OpenSUSE.vdi d:\OpenSUSE\SUSE.vdi --format VDI --variant Standard

Where OpenSUSE.vdi - is working file (fixed VDI)

Re: Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 16:31
by Perryg
"VBoxManage clonehd"
This command duplicates a registered virtual hard disk image to a new image file with a new unique identifier (UUID).

Admittedly I don't normally clone the HDD ( normally I clone the guest ) and I never use Fixed size, but I would think that the SUSE OS would see this as an issue. Have you tried to do what was suggested in your first post?

Re: Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 16:36
by michaelv13
I don't understand, what is my first post? It's my first post here...

What can I do to clone my guest OS with all configurations and installed programs to another VDI that can be re-sizable?

Re: Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 16:49
by loukingjr
I thought this was the syntax?

Code: Select all

VBoxManage clonehd <infilename or UUID> <outfilename> --format VDI --variant Standard

Re: Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 16:56
by michaelv13
Exactly. As I wrote two replays above :)

Re: Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 16:59
by loukingjr
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe clonehd d:\OpenSUSE\OpenSUSE.vdi d:\OpenSUSE\SUSE.vdi --format VDI --variant Standard
not exactly. I assume that is a typo.
erase…erase…erase

Re: Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 17:05
by michaelv13
Could you please show me where is a typo?

VBoxManage clonehd <infilename or UUID> <outfilename> --format VDI --variant Standard

C:\Program Files\Oracle\VirtualBox>VBoxManage.exe clonehd d:\OpenSUSE\OpenSUSE.vdi d:\OpenSUSE\SUSE.vdi --format VDI --variant Standard

I see, it's exactly format that clone should be called...

Thanks a lot!

Re: Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 17:10
by loukingjr
Shouldn't that be "\" after C:\Program Files\Oracle\VirtualBox and not ">"?

erase…erase…erase :D

Re: Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 17:13
by Perryg
The command in your first post.
"Welcom to emergency mode! After logging in, type "journalctl -b" to view system logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode.
Give root password for login: "

This will allow you to view what is offending the guest.

Re: Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 17:16
by loukingjr
danke Perry.

I just cloned one of my guest .vdis. wasn't a fixed disk though.

I haven't used a fixed disk since the first Linux guest I created going on 6 years ago. Whew, I've been here too long. :D

Re: Cloned VDI with Linux guest doesn't works

Posted: 27. Dec 2015, 17:23
by michaelv13
@loukingjr - I see :) If you do "cd c:\Program Files\Oracle\VirtualBox", you'll get ">" at the end :)

@Perryg - in logs I didn't see anything strange. Now, I tried to clone the guest (right mouse click on the working guest -> Clone)
After cloning was finished, I run the cloned guest - the same result as at previous times.
I really don't know what to do :(