suselinux's BUG,while boot in cloned vm in VBOX
来源:互联网 发布:应用联网控制软件 编辑:程序博客网 时间:2024/05/05 02:49
Problem:
I've cloned a VM and now while booting it I see a message:
Trying manual resume from /dev/sda1Invoking userspace resume from /dev/sda1resume: libgcrypt version: 1.5.0Trying manual resume from /dev/sda1invoking in-kernel resume from /dev/sda1Waiting for device /dev/disk/by-id/ata-VBOX_HARDDISK_.....-part2 to appear: ...Could not find /dev/disk/...-part2Want me to fall back to /dev/disk/...-part2 (Y/n)
If I press 'Y' it tries to boot again with failure, then exits to /bin/sh. If I press 'n' it exits to /bin/sh immediately.I found solution as follows:
Solution:
before clone vms,you need to modify the menu.lst and fstab.
1) /boot/grub/menu.lst
change xxxxxx to root=/dev/sda2 resume=/dev/sda1
2)/etc/fstab
change / and swap from device-id to device-name.
______________________________________
Another solution, just FYI:
1) Take note of the device(s) the system cannot find.
2) Answer "n" to that question. It should take you to a command prompt.
3) Run this command: cd /dev/disk/by-id
4) Run this command: ls
5) Rename all files in this folder replacing there current name with the name of the device you took note of in step 1. Ex. mv ata-VBOX_OLDNAME....-part2 ata-VBOX_HARDDISK....-part2
6) Once you have completed this type this command: exit
7) The system would boot normally.
and there's a link from VBOX's forum,but the problem was not solved by any one. just FYI.
https://forums.virtualbox.org/viewtopic.php?f=1&t=56077
________________________________________________________________________________
版权所有,文章允许转载,但必须以链接方式注明源地址,否则追究法律责任!
Author: laven54 (lurou)
Email: laven54@163.com
Blog: http://blog.csdn.net/laven54
- suselinux's BUG,while boot in cloned vm in VBOX
- PRB: Cannot Start a Cloned Connection While in Manual Transaction Mode
- [Microsoft][SQLServer JDBC Driver]Can't start a cloned connection while in manual transaction mode
- Can't start a cloned connection while in manual transaction mode
- sql server 出现Can't start a cloned connection while in manual transaction mode 的解决方法
- Can't start a cloned connection while in manual transaction mode的解决方法
- jsp Can't start a cloned connection while in manual transaction mode解决
- Can't start a cloned connection while in manual transaction mode.
- Can't start a cloned connection while in manual transaction mode.解决方法
- Can't start a cloned connection while in manual transaction mode.错误的解决方案
- Can't start a cloned connection while in manual transaction mode
- Sql Server2000 Can't start a cloned connection while in manual transaction mode
- Can't start a cloned connection while in manual transaction mode
- Can't start a cloned connection while in manual transaction mode 解决
- iBatis使用SQLServer出现Can't start a cloned connection while in manual transaction mode.错误
- cloned connection do`t in manual transaction
- vbox--vm
- Add HardWare in VM
- mongodb安装使用
- 14629 [http-8080-1] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 1064, SQLState: 42000
- springmvc向jsp页面传入id,jsp再向controller里查询特定id的数据
- MySQL的权限管理系统的原理
- makefile函数集锦及条件判断
- suselinux's BUG,while boot in cloned vm in VBOX
- mysql 更改表名 如何复制表到新建的表?
- su后继续执行脚本
- oracle merge into 的用法
- 关于Dynamics CRM 2013 MCP 证书
- Linux下C++的通用Makefile与解析
- iOS 7.1系统中 CoreData的使用方法
- ios中封装网络和UITableView的综合运用
- hibernate 联合主键设置