How to install ubuntu 12.04 xp hard disk on a windows Xp hard disk. If xp and ubuntu coexist, the following uses ubuntu12.04 as an example to explain the hard disk installation process. 1. There are two items to be downloaded to download resources: grub4dos and Ubuntu 12.04 LTS: 1, Grub4DOS http://www.linuxidc.com/Linux/2009-01/18027.htm www.2cto.com 2, Ubuntu 12.04 http://www.linuxidc.com/Linux/2012-04/59239.htm 2, preparation work 1, decompress the grub4dos compressed package, will get a folder named grub4dos-0.4.4, copy the following file to the C root directory: grldr menu. lst grldr. mbr grub.exe 2. Unzip vmlinuz and initrd under the casper folder in the Ubuntu-12.04-desktop-i386.iso. lz to the C root directory. Ubuntu-12.04-desktop-i386.iso files are also copied to drive C.
After preparation, the Directory of your drive C should contain the following files: Initrd. lz vmlinuz Ubuntu-12.04-desktop-i386.iso menu. lst grlder grldr.mbrGrub.exe 3. Preparations-Modify file 1 and modify menu. lst file, add the following content at the end of the file: title Install Ubuntu12.04 www.2cto.com root (hd0, 0) kernel (hd0, 0) /vmlinuz boot = casper iso-scan/filename =/Ubuntu-12.04-desktop-i386.iso locale = zh_CN.UTF-8 initrd (hd0, 0)/initrd. in lz, the title content is written casually. The highlighted red letter after the kernel is the image file of Ubuntu 12.04, which must correspond to the image file name under the C-drive root directory. 2. Modify boot. ini. After opening the file, add the following content at the end of the file: c: \ grldr = Ubuntu Install boot. the INI file is located in the root directory of the C drive, but if you want it to be displayed, you need to set it in the tool-Folder option of xp to display the hidden file. Then modify the file. 4. restart the system to start installing Ubuntu 12.04 on an XP hard disk! The following describes the installation process. 5. After the instance is restarted, you will see an additional option on the grub interface: UbuntuInstall (in fact, this option is in boot. in ini) Click to enter this option (Are you confused ?) :
There are so many options, but we want to install ubuntu, so we can choose the (general) at the bottom, that is, install ubuntu12.04. Then you will see a lot of kernel startup information printed on the screen, waiting until the ubuntu12.04 interface appears. Www.2cto.com
Alt + Ctrl + t call up the terminal and enter the command: sudo umount-l/isodevice. If it is not executed, it cannot be installed. 6. Double-click "Install Ubuntu 12.04 LTS" to start official installation. The Installation Wizard will guide us through step-by-step installation. The following describes the settings of each step on the Wizard Page: Welcome: select a language, the default option is Chinese (simplified). By default, you can prepare for Ubuntu installation: list the minimum hardware configurations required for Ubuntu installation, "download updates during installation" and "install this third-party software" are not selected, and the network connection is also disconnected, which can improve the installation speed. If the network is connected, it can also be wireless: it can not be connected, if you need to connect to the Internet, select wireless network. If you have a password, you need to provide the password installation type: the installer detects that Windows XP is installed, prompting us how to handle the problem, select the last "other options". After selecting this option, the next step is to manually partition and allocate disk space: This is the most important step in installation. According to your own needs, select the disk size to be installed, and then partition the disk. Generally, it should be divided into at least two zones: swap partition (the size is generally 1.5 times of your memory space ~ 2 times), root partition, but according to your own needs, you can add more. Keyboard layout: Who are you, www.2cto.com? Set the user name and password. After installing the system, this is the administrator account (generally, the password should be at least 6 characters) the installation process is followed. wait patiently. After the installation is complete, the installer will prompt you to restart the system or try again. You can restart the system. After the restart, the following startup interface will be displayed, select the system you want to log on to. In this way, we can complete the hard disk installation of Ubuntu12.04 LTS on the XP system, and we have a dual system of XP and Ubuntu!