Original article address:
Http://www.ylmf.net/ubuntu/guide/201010297968.html
Http://www.ylmf.net/ubuntu/guide/201010297969.html
Http://forum.ubuntu.org.cn/viewtopic.php? T = 272229
Maverick Meerkat Ubuntu 10.10 enables a brand new installer, making the entire installation process a new look and easier for users who are not familiar with the Linux environment.
During the installation process, you can download software updates, install the wireless network card official driver, and complete the support for MP3 audio files, Adobe Flash Player, Java, and DVD playback.
Next we will talk about the full process of Ubuntu 10.10 dual system hard disk installation in Windows XP. The installation is very fast and can be installed in less than 30 minutes.
1. Download Grub4Dos, decompress grldr and menu. lst files to the C root directory of XP, and then modify menu. lst to add the following content at the end:
Title Install Ubuntu
Root (hd0, 0)
Kernel (hd0, 0)/vmlinuz boot = casper iso-scan/filename =/Ubuntu-10.10-desktop-i386.iso ro quiet splash locale = zh_CN.UTF-8
Initrd (hd0, 0)/initrd. lz
2. Modify the boot. ini file of Windows XP
Remove the attributes of boot. ini from the command prompt: attrib-s-h-r c: \ boot. ini.
Edit boot. ini and add C: \ grldr = "install Ubuntu 10.10" at the end"
3. Place the downloaded Ubuntu image file in C:, and decompress the. disk folder to C:
4. decompress the initrd. lz and vmlinuz files in the casper directory of the Ubuntu image to C:
5. Restart to enter livecd mode for Installation
Restart the computer, select Grub, enter the Grub boot program, select the last item (Install Ubuntu 10.10), and then enter the liveCD mode of Ubuntu (the steps are the same as that of the CD ).
================
Note:
================
1. A message indicating that the/isodevice cannot be detached is displayed in the partitioning step of the installation process. Therefore, before installation, enter the following in the Command window terminal:
Sudo umount-l/isodevice
See
2. After the installation is complete, restart Windows XP boot items will be lost. Ubuntu 10.10 uses grub2, and only you can modify it after entering Ubuntu.
The methods provided on the Internet are as follows: After Ubuntu 10.10 is installed, the Windows XP startup item will be lost after Windows XP is restarted. Ubuntu 10.10 uses grub2. After you enter Ubuntu, enter
Sudo update-grub
You can update the grub menu and find all available systems. To modify the default startup sequence, edit sudo gedit/boot/grub. change the default value "0" (Ubuntu) to "4" (Windows XP) or another value after cfg.
We use another better GRUB2 Manager-Grub mimizer
Installation Method:
Sudo add-apt-repository ppa: danielrichter2007/grub-mimizer
Sudo apt-get update
Sudo apt-get install grub-customizer
It's easy to use. After restarting Ubuntu 10.10, you can find a Windows XP startup Item.
I will summarize it.
1. To install ubuntu, you must have three files: ubuntu. iso (system installation image file), vmlinuz (kernel), and initrd. lz (initialization file ).
Note: http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-i386/current/images/hd-media/.
Put the above files in a directory, such as an edisk. Here, the edisk has three files:
Code:Ubuntu. iso, vmlinz, and initrd. lz
Ii. Install ubuntu only requires two files for guidance-grldr, menu. lst (grldr is the grub for dos boot program, grldr for XP, and menu. lst is only the boot menu ).
Therefore, please download the latest version of grub for dos and put grldr and menu. lst in it to your drive C, so that there should be two files in drive C:
Code:Grldr and menu. lst
3. Open and edit our menu. lst menu (you only need to keep the following content ).
Code:Timeout 5
Title install ubuntu10.04
Root (hd0, 5)
Kernel/vmlinuz boot = casper iso-scan/filename =/ubuntu. iso ro quiet splash
Initrd/initrd. lz
It should be noted that:
Code:Timeout 5 # menu stay time
Title install ubuntu10.04 # title
Root (hd0, 5) # determine the location of the kernel file (generally, in gurb4dos (grub4dos, wingrub), grub1 (grub legacy ), disk D is (hd0, 4), disk e is (hd0, 5 )... the grub2 partition number should be 1, that is, the C disk is (hd0, 1). I guess this may be to be consistent with hda1 and sda1)
Kernel/vmlinuz boot = casper iso-scan/filename =/ubuntu. iso ro quiet splash # load the kernel File vmlinuz and map it to an iso image. ro stands for read-only and quiet is in quiet mode.
Initrd/initrd. lz # load the memory initialization file
4. Open boot. ini under drive C and add a new line:
Code:C: \ grldr = "install ubuntu"
Note: boot is displayed at startup. after adding this sentence to the ini menu, the menu contains the option install ubuntu. After selecting this option, execute grldr and grldr will read the menu. lst menu (similar to boot. ini ).
Roughly speaking, the files used on our computer are: boot. ini-> grldr-> menu. lst (in fact, the situation is more complicated)
Note:
1. I am a Windows XP SP2 ghostversion system before Ubuntu is installed. The startup items include Dos and one-click ghost. Therefore, after installing Ubuntu 10.04 on the startup system options interface, the menu is always unavailable. the commands in lst were originally intercepted by one-click ghost and entered the one-click ghost option. The installation was successful after one-click ghost was uninstalled.
2. After Entering Ubuntu LiveCD, run the sudo umount-l/isodevice command first. Otherwise, you still need to come back later. In addition, swap and/are at least two shards during partitioning /. Swap can be as large as memory. Other formats are ext4 and mounted to the/directory.
3. After the installation is complete, restart. You can only enter Ubuntu and cannot find Windows. In Ubuntu, run update-grub and restart. The Windows Startup item appears. Repair: After you download mbrfix.exe, open the run dialog box, locate the directory where mbrfix.exe is located, and enter MbrFix/drive 0 fixmbr/yes.
4. Linux. iso needs to be placed on the disk in FAT32 format, and the number 0 in root (hd0, 0) should be changed to the corresponding number of drive letter. In grub, the number of logical partitions is 4 (if drive D is logical partition 1, drive D is (hd0, 4), drive E is (hd0, 5), and so on, USB flash drive (hd0, 3 )).