Cloned VDI with Linux guest doesn't works

Discussions related to using VirtualBox on Windows hosts.
michaelv13
Posts: 7
Joined: 27. Dec 2015, 14:54

Cloned VDI with Linux guest doesn't works

Post 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!
Attachments
Dialog that I see when try to load the cloned VDI
Dialog that I see when try to load the cloned VDI
failtoloadgui.png (26.9 KiB) Viewed 4485 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cloned VDI with Linux guest doesn't works

Post 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.
michaelv13
Posts: 7
Joined: 27. Dec 2015, 14:54

Re: Cloned VDI with Linux guest doesn't works

Post by michaelv13 »

Yes, guest was completely shut down. After that I did the clone.

I attached the log file.

Thank you for your help!
Attachments
SUSE-2015-12-27-15-46-30.log
(124.59 KiB) Downloaded 2 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cloned VDI with Linux guest doesn't works

Post 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.
michaelv13
Posts: 7
Joined: 27. Dec 2015, 14:54

Re: Cloned VDI with Linux guest doesn't works

Post 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)
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cloned VDI with Linux guest doesn't works

Post 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?
michaelv13
Posts: 7
Joined: 27. Dec 2015, 14:54

Re: Cloned VDI with Linux guest doesn't works

Post 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?
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Cloned VDI with Linux guest doesn't works

Post by loukingjr »

I thought this was the syntax?

Code: Select all

VBoxManage clonehd <infilename or UUID> <outfilename> --format VDI --variant Standard
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
michaelv13
Posts: 7
Joined: 27. Dec 2015, 14:54

Re: Cloned VDI with Linux guest doesn't works

Post by michaelv13 »

Exactly. As I wrote two replays above :)
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Cloned VDI with Linux guest doesn't works

Post 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
Last edited by loukingjr on 27. Dec 2015, 17:23, edited 1 time in total.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
michaelv13
Posts: 7
Joined: 27. Dec 2015, 14:54

Re: Cloned VDI with Linux guest doesn't works

Post 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!
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Cloned VDI with Linux guest doesn't works

Post by loukingjr »

Shouldn't that be "\" after C:\Program Files\Oracle\VirtualBox and not ">"?

erase…erase…erase :D
Last edited by loukingjr on 27. Dec 2015, 17:22, edited 1 time in total.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cloned VDI with Linux guest doesn't works

Post 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.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Cloned VDI with Linux guest doesn't works

Post 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
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
michaelv13
Posts: 7
Joined: 27. Dec 2015, 14:54

Re: Cloned VDI with Linux guest doesn't works

Post 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 :(
Post Reply