clonevdi problem with OpenSuSE 10.3 guest
-
apple3feet
- Posts: 4
- Joined: 10. Dec 2007, 17:53
clonevdi problem with OpenSuSE 10.3 guest
I've had several tries to copy an OpenSuSE 10.3 guest to another machine. I use VBoxManage cloneVDI (from VB ver 1.5.4) to clone the hard disk to an external USB disk, and then try to start the cloned image on the new machine. It gets some way into the boot, but fails with
Invoking in-kernel resume from /dev/sda1
Attempting manual resume
Waiting for device /dev/disk/by-id/scsi-SATA_VBOX_HARDDISK_VB...-part2 to appear:..... Could not find /dev/disk/by-id/scsi-SATA_VBOX_HARDDISK_VB...-part2.
I've successfully used the above procedure fro other VMs, but this one just won't go!
Does anyone have any ideas?
Invoking in-kernel resume from /dev/sda1
Attempting manual resume
Waiting for device /dev/disk/by-id/scsi-SATA_VBOX_HARDDISK_VB...-part2 to appear:..... Could not find /dev/disk/by-id/scsi-SATA_VBOX_HARDDISK_VB...-part2.
I've successfully used the above procedure fro other VMs, but this one just won't go!
Does anyone have any ideas?
Apple3feet
-
apple3feet
- Posts: 4
- Joined: 10. Dec 2007, 17:53
-
frank
- Oracle Corporation
- Posts: 3362
- Joined: 7. Jun 2007, 09:11
- Primary OS: Debian Sid
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows
- Location: Dresden, Germany
- Contact:
The reason is that the UUID of the image changes. This is necessary to allow VirtualBox to identify the copy and the original as different files. OpenSUSE 10.3 obviously uses the disk ID (which VirtualBox creates from the UUID of the image) to identify the boot drive. So to solve your problem you have to adjust the disk ID if your guest boot drive in /boot/grub/menu.lst. Look for a disk ID which looks like scsi-SATA_VBOX_HARDDISK_VB5cfdb1e2-c251e503. Do
in your guest and use the displayed disk ID to identify your disk in /boot/grub/menul.lst.
Code: Select all
hdparm -i /dev/sda
Do you mean?
Do you mean on the original vm before you create a clone of it (change the ID of the drive?)
Because when mine loads up with the same problem as frank there is no /boot/grub/menul.lst
Thank you,
Andrew J. Leer
Because when mine loads up with the same problem as frank there is no /boot/grub/menul.lst
Thank you,
Andrew J. Leer
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Do you mean?
Did you clone your VDI while the VM had snapshots? If so, clone it again after you got rid of them (either discard them or merge them to the VM).leeand00 wrote:Do you mean on the original vm before you create a clone of it (change the ID of the drive?)
Because when mine loads up with the same problem as frank there is no /boot/grub/menul.lst
Thank you,
Andrew J. Leer
If you didn't clone it with snapshots, then you can edit the Grub boot line (if you get that far) to change the boot parameter from the UUID to it's device mount point, which would be /dev/sda1. You can then, when the VM is booted, use blkid to find the new UUID and use that in your /etc/fstab and the Grub config file (usually /boot/grub/menu.lst, but some distro's call it /boot/grub/grub.conf or something like that).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
hmm....
Sasquatch,
I didn't have any snapshots when I made the clone, I merged them all into the current state.
How do I go about getting in that far? I get a prompt, but grub is no where to be found.
Also does it matter that I made the clone on a 32-bit machine (XP) and that I'm trying it out on a 64-bit machine (Vista)?
I really just want to try it out to make sure that the backup is good, to prevent another "oh no! Now I have to spend another month installing the development environment" moment/month.
Using VB 2.0.6
Also, is there anyway I can just try it out on the same 32-bit machine without axing out all of the work I did to set it up?
Thank you,
Andrew J. Leer
I didn't have any snapshots when I made the clone, I merged them all into the current state.
How do I go about getting in that far? I get a prompt, but grub is no where to be found.
Also does it matter that I made the clone on a 32-bit machine (XP) and that I'm trying it out on a 64-bit machine (Vista)?
I really just want to try it out to make sure that the backup is good, to prevent another "oh no! Now I have to spend another month installing the development environment" moment/month.
Using VB 2.0.6
Also, is there anyway I can just try it out on the same 32-bit machine without axing out all of the work I did to set it up?
Thank you,
Andrew J. Leer
Tried Loading it in Fail Safe
I tried loading the clone I made in fail-safe mode, but to no avail. I still can't get to the grub.conf thing on the harddrive.
Should I boot it with a live disk to fix this?
Should I boot it with a live disk to fix this?
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Tried Loading it in Fail Safe
Do'h, that's also possibleleeand00 wrote:I tried loading the clone I made in fail-safe mode, but to no avail. I still can't get to the grub.conf thing on the harddrive.
Should I boot it with a live disk to fix this?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
If you can see the drive, it shouldn't matter. You will see something like this:leeand00 wrote:But if you mount off of a live CD and than the run the command:
sudo blkid
gives you something different does it not:?:
Code: Select all
/dev/sde2: UUID="95563813-1016-49d5-97eb-aaf7ee843f34" SEC_TYPE="ext2" TYPE="ext3"Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
hmm...
Well as it turns out, it looks like virtual box is telling me that the snapshots are merged when infact they are not merged!
However I did find in:
~/.VirtualBox/Machines/OSB Development Box/Snapshots/
What appear to be some another .vdi file it has a funny names like:
{34da893a-0eda-4051-a305-7176adfe12bf}.vdi which almost looks like ah UUID come to think of it....
And there is also a file with the same name that has a .SAV extension.
???
However I did find in:
~/.VirtualBox/Machines/OSB Development Box/Snapshots/
What appear to be some another .vdi file it has a funny names like:
{34da893a-0eda-4051-a305-7176adfe12bf}.vdi which almost looks like ah UUID come to think of it....
And there is also a file with the same name that has a .SAV extension.
???
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Eww, did you have to do that? 
Glad it works now.
Glad it works now.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.