Repair VMware under the Ubuntu boot no problem

Source: Internet
Author: User
[Abstract: For some reason, such as forcing the shutdown, VMware under the emergence of Ubuntu started out of the state. Remind the following: Invalid argumentmount:mounting/sys on/root/sys failed:no such file or Directorymount:mounting/dev on/root/de V Failed:no such]

For some reason, such as forced shutdown, the Ubuntu under VMware will not start up the situation. Prompt for the following information:

Invalid Argumentmount:mounting/sys on/root/sys failed:no such file or Directorymount:

Mounting/dev On/root/dev failed:no Such file or Directorymount:

Mounting/sys On/root/sys failed:no Such file or Directorymount:

Mounting/proc on/root/proc failed:no such file or directory

Target file system doesn ' t have/sbin/initno init found.

Try passing init= Bootarg

Busybox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu7) built-in shell (ASH)

Enter ' help ' for a list of built-in commands

(Initramfs) _

You will need to repair the system as follows:

1. Press Ctrl+d in the VMware virtual machine to open "Virtual Machine Settings", in "Hardware"-"" CD/DVD (IDE), select "Use ISO image File" in "Connection", Select Ubuntu ISO installation files, "OK" 2, restart the virtual machine, in the display "VMware" text is pressed F2 key, go to "boot Menu", select "Enter Setup"-"boot", the "CD-ROM Drive" set as the first boot (Ctrl + "+" or Ctrl + "-" adjust the upper and lower order, press F10 to save, reboot.
3, after the system restart through the ISO file startup, select the language "Chinese", select "Try Ubuntu without installing", into the system. 4, open the terminal, input sudo su convert to root user, enter Fdisk-l to see which (with * asterisk), the following figure is SDA1 5, then execute fsck/dev/sda1 Select Y if unfortunately your ISO is ubuntu10.10, execute the above command Will prompt

Fsck.ext4:Device or resource busy while trying to open/dev/sdbfilesystem

Mounted or opened exclusively by another?

It says this is a bug in Ubuntu 10.10, and it's recommended to use a different version of ISO to fix it, I'm using "Ubuntu-11.04-desktop-i386.iso"

6, repeat the second step to set the hard disk to start, and then restart the Ubuntu back to normal, and then secretly enjoy it


To set the disc boot method in the VM:

One

1. Start VMware and start the virtual machine that we have built.

2. After VMware startup, quickly click the left mouse button in the VMware Boot interface, switch the operating environment to VMware, and immediately press the "F2" key on the keyboard.

3. Press F2 is the "COMS" setting that goes into VMware.

4. Move the menu to the "BOOT" option through the arrow keys on the keyboard, and read the help below to see that "-/+" represents the modification settings.

Please refer to the annotation section above, please remember a few simple English words, hard hard drive, CD-ROM drive.

5. Use the arrow keys on the keyboard to the down arrow, select to "CD-ROM Drive", and then press the plus sign (up) and minus sign (move down) to the top of the keyboard, and recommend that you use the plus and minus keys on the most right numeric keypad of the keys, Because you need to hold down SHIFT while using the plus sign that follows 0.

The first boot is the CD-ROM, the second boot is removable Devices The third boot is the hard Drive, the network, if the first boot fails then use the second boot, and the second start fails with the third boot, and so on.

6. Press the "F10" key above the keyboard, select "Yes" to save our settings and exit, and here we will set the virtual machine to boot from the CD drive.

Summary: If you from the computer COMs set up from the CD-ROM drive, it is also similar, the computer may be a little more than a few menu options, but you first set up the virtual machine to learn, then learn the computer in the setting is much easier.

Two

But the VM's boot screen is much faster than the notebook, basically in the 1s, want to enter the BIOS inside also have difficulty.

For the web to open the VM system and then click the window Mad Press F2 ... I tried a night did not have access to the BIOS, it seems that my hands are too stupid, not flexible.

However, there is a solution.

First turn off the system in your VM, open the virtual machine configuration file (. vmx file), which is located in the installed virtual machine directory (not the virtual machine software directory), with the right key "open with Notepad"
Add one line to the top: bios.forcesetuponce = "TRUE"; automatically enter bios! when VMware starts, the parameter is changed from True to False, and if you continue to use the BIOS, then manually change to true;

Or you think the above is not cool enough, you can extend the start screen time. Add in front: Bios.bootdelay = "5000"; 5000 is 5 seconds.

If your VM is version 7.0, you can also do this:

That's OK. Boot into the BIOS or delay the first screen, any choice.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.