Problem on booting cloned VM
Hi all,
Host Ubuntu 12.043 Guest OpenSUSE 13.1 Oracle VirtualBox All cloned guests can't boot Warning: Timed out waiting for device dev-disk-by\x2did-ata\x...2dpart1.device. Dependency failed for /boot Dependency failed for Local File Systems Found following 2 threads: Unable to use cloned VM, OpenSUSE, VirtualBox http://superuser.com/questions/43235...use-virtualbox Cannot boot OpenSuse 12 after cloning disk due to by-id access to the disk http://diggerpage.blogspot.hk/2011/1...r-cloning.html but couldn't resolve how to fix the problem. Please help TIA Rgds satimis |
Why did you clone the vm? How did you clone the vm? Usually you just copy the entire vm instead of a clone.
Yes, a normal computer that is cloned could have specific hardware that is mentioned in a few places. One is grub, another is fstab. A rule before clone is to make the terms generic like /dev/sda1 or such instead of my name or uuid. You'll have to correct all entries that mention the old system to either generic or the new name/uuid or other. A live cd should help correct. |
Quote:
However the strange thing is no problem on cloning Debian 7.3.1/LinuxMint16/Ubuntu12.04, all VMs cloned without booting issue. satimis |
Opensuse uses specifics in their boot and fstab. Change to generic or correct them to the new system.
|
Solved
Hi all,
Problem solved as follow; Start the VM with live-kde-opensuse13.1 ISO Start Terminal linux@linux:~> su # fdisk -l Code:
Disk /dev/sda: 42.9 GB, 42949672960 bytes, 83886080 sectors # pvs Code:
PV VG Fmt Attr PSize PFree Code:
.... # ls /mnt/ Code:
bin dev home lib64 media opt root sbin srv tmp var # nano /mnt/etc/fstab change the line; Code:
/dev/disk/by-id/ata-VBOX_HARDDISK_VBef165ce6-8bf1a0de-part1 /boot ext4 acl,user_xattr 1 2 Code:
/dev/sda1 /boot ext4 acl,user_xattr 1 2 Start VM. Now it can boot without problem. Thanks Edit ==== To avoid the step mounting the LVM do as follow; After booting the Live-CD Kmenu -> Applications -> System -> File Manager -> File Manager-Super User Mode Then it can directly edit the "fstab" file there. Rgds satimis |
Thank you for the detailed method to fix it.
|
All times are GMT -5. The time now is 07:46 PM. |