Mobile HDD Installation Linux system little note

Source: Internet
Author: User

For some reason, the notebook computer is not around, because the teaching needs to be computer display teaching, so there is the following approach, written down is also for the convenience of later. ~ ~

Currently have a mobile hard disk, how to achieve the use of mobile hard disk to teach it?!!

Machine Room A number of machines are a reduction card, and most are diskless system, usually classes are self-portable computer through the pole-domain e-classroom teaching, for me so no notebook is very puzzled, so I consider the use of mobile hard disk installation system, carry, so it solves the teaching problem is also very convenient, But after looking at the data Windows system installed to the hard disk, carry it to another machine boot, in most cases not normal operation, and error, and driver and so on a series of problems, so I think of Linux, the general idea is to install Linux, under Linux with virtual machine installed WinXP, The XP system installs the pole domain electronic classroom, can be convenient to teach. The following steps are outlined:

1. Moving hard disk partitions

My mobile hard disk 320G, using partition software to divide the hard disk into three zones, respectively, is 20g,150g, 150G, the specific partition size will be different, in the actual format after the partition to get the size of whichever. The partition format is EXT4, Ntfs,ntfs, where EXT4 format is used to install Linux, and the other two are used as removable hard disk partitions for storing data.

2. Install Linux

Prior to installation, a comparison I use Deepin system deepinlinux2014.1 system, before writing this article, installed the official website is currently released the latest 2014.3 version, but can not install virtualbox5.0, can not install the virtualbox4.3.14 version at hand, reported some dependency on the package error, in order to save Time, I will install the 2014.1 version of the depth system, the system used previously, you can install virtualbox4.3.14. The steps are as follows

A. Download the deepinlinux2014.1 image installation package, and then through the mass production tool to the U disk, for system boot start, you can also burn discs for the installation disk production, I use the mass production guide, because the volume of the U disk at hand is very familiar with the production is very fast.

B. Insert the post-installation U-disk into the USB interface, set the BIOS to boot from the U-disk, and insert the partitioned mobile hard drive into the USB interface, and boot the machine from the U-disk to enter the system.

C. Click on the Linux boot desktop "deep system Installation", to install the system, the installation process must be sure to find the mobile hard disk used to install the Linux EXT4 partition, select Click OK installation, follow the prompts to wait for the installation to complete.

D. After the installation is complete, unplug the U-disk, select boot from the mobile hard drive in the BIOS, and smooth into the desktop.

E. So far, the mobile hard disk can become a mobile office operating system, for my current situation, whether it is not diskless, whether it is not a machine has a restore card, as long as there is a machine can be started, just with the help of this "shell", from the mobile hard disk boot, you can use.

3. Installing VirtualBox

2014.1 depth system can be installed virtualbox4.3.14, specific version of VIRTUALBOX-4.3_4.3.14-95030~UBUNTU~RARING_I386.DEB, enhanced installation package for ORACLE_VM_ Virtualbox_extension_pack-4.3.14-95030.vbox-extpack, installation of these two software can be completed smoothly, will not error, measured results. After installation, set up the virtual machine installation WinXP, all the network cards are installed with "bridge mode". Specific installation steps and virtual machine installation XP are not mentioned here.

4. Set VirtualBox to identify the U-disk

After the installation is completed in XP can be installed in the Polar electronic classroom system for teaching, when the U disk inserted into the machine, Linux can be recognized and normal use (because the previous enhancement package has been installed, this enhancement package installation is the premise), but the virtual machine XP is not recognized, after the research needs to execute the following command in Linux  sudo usermod-a-G vboxusers username, where "username" is the username used for logging in to Linux, I use the username zpg, so I'm going to use the command sudo usermod-a-G vboxusers ZPG Run in the terminal command line, then ask for a password, enter, the purpose is to add your user name to the vboxusers group, then log out of Linux, and then use ZPG login Linux system, with the command ID ZPG to see if join to the Vboxusers group, of course, no problem ~ ~ ~

5. Complete.

Start VirtualBox, open the virtual machine XP, this time in the VirtualBox "device-Assign USB Device" menu can identify the inserted U-disk, other connected USB devices can also be displayed, select the USB device you want XP to use, you can not select the USB mobile hard disk , because the mobile hard disk itself is the boot device, can not allow Linux to control the mobile hard drive to XP, once selected, the entire system will crash. Simply select the other USB devices you want XP to use (move your hard drive aside), and you can use either an external USB device or a polar electronic classroom that operates the student machine.

Complete the above steps to achieve normal teaching.

After teaching is complete, close XP, shut down the virtual machine, turn off Linux, and unplug the removable hard drive.

Subsequent:

1. Usually do not need such trouble to use, but my situation is special, no notebook, no fixed room, each class with the room is different, and the computer room does not belong to my tube, hehe ~ ~

2. The advantage of using Linux as a host machine is that, after many uses in the actual work, all machines can be successfully booted into the system, which is indeed the gospel for situations that cannot be used to guide problems and drive problems! ~ ~ ~ (deep linux2014.1 can, other Linux could, I don't know ^_^)

3. My humble Caishuxueqian, some repeat or vague places, but also the wrong place, I hope readers are reluctant to enlighten, the difficulty is not only for the new common progress!!!!!

Mobile HDD Installation Linux system little note

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.