My Ubuntu Installation Process on WINXP is tortuous.
Phase I: I found a lot of tutorials and finally learned how to install the hard disk. After a while, I finally entered the installation interface.
Summary:
· First download the ISO image file, which is the latest version of ubuntu.
· Put it in the root directory of a disk other than drive C (why can't I do drive C) and rename it to Linux. ISO (this step is not necessary, just to prevent file name errors ).
· Decompress the Casper folder and copy the initrd. LZ and vmlinuz files to the root directory.
· Rename all the files named menu. lst on the local hard disk.
· Create a text document under the same root directory as the image file, enter the following content and save it as menu. lst.
title Install Ubuntufind --set-root /Linux.isokernel /vmlinuz boot=casper iso-scan/filename=/Linux.iso locale=zh_TW.UTF-8initrd /initrd.lz
* Explanation of the above Code:
-Line 1: Set the title to install ubuntu;
-Row 2: locate the file Linux. ISO and set it to the root directory;
-Row 3: Set the kernel to vmlinuz, set the startup location to Casper, locate the ISO file, and set the language of the installation interface to Chinese;
-Row 4: Set the temporary file system to initrd. LZ for "/" preparations before mounting (not yet installed.
And put the grldr file in the C root directory.
· Remove the "read-only" attribute of the boot. ini file in drive C and insert it at the end of the file:
c:\grldr="Install Ubuntu"
Phase II: difficult installation process.
Summary:
· To manually specify a partition, select "Other Options ":
-Mount "/", with a size of about 5 GB (it is better to increase it later, 5 GB is not enough ......), Format: ext4;
-Mount "/Boot", which is about 150 MB in the same format;
-Mount "/Home", which is large. The specific size is the same as needed. (The size of "/home" depends mainly on the size of the downloaded application and personal files .)
-Set the swap space (similar to the virtual memory), which is about twice the memory size. The format is the default "Swap ";
-You do not need to manually mount the rest without special requirements.
· Before installation, manually uninstall the virtual Optical Drive Device (that is, the installed image file ). The method is to open the terminal and enter:
sudo umount -l /isodevice
(Note that parameters cannot be saved. Do not write the lowercase letter "L" as a number "1 ".)
· During installation, you can skip to download the Language Pack. After the system installation is complete, you can download the Language Pack.
Phase III: explore how to install and boot from a mobile hard disk.
If you want to install linux on a mobile hard disk, the system is installed and cannot be used without boot. Therefore, you must consider how to install boot after installing the system.
The summary is as follows: (this part is not implemented yet and is for reference only .)
· When installing the system, no installation guide is set. If an error is prompted, skip this step.
· Do not rush to restart after the installation is complete. Click to continue the test and write down the uuid of the "/" partition. (Location "/dev/Disk/by-UUID /".)
· Download grubinst_1.20.bin_w32.zip, double-click grubinst_gui.exe, select a mobile hard disk, and install MBR.
· Place the grldr file in grub4dos to the root directory of a partition on the mobile hard disk, create a text file, enter the following content, and save it as menu. lst.
# find --set-root /boot/fonts # fontfile /boot/fonts # splashimage /boot/splash/48.xpm # 33E2AB 31E58B 96E618 # foreground 96E618 # background 000000 color black/cyan yellow/cyan default 0 timeout 15 title Ubuntu hardy , kernel 3.0.0-12-genericroot (hd0,6)kernel /boot/vmlinuz-3.0.0-12-generic root=UUID=772805f8-7181-4250-8606-4cda2397e769 ro quiet splashinitrd /boot/initrd.img-3.0.0-12-generictitle Ubuntu hardy , kernel 3.0.0-12-generic ( acpi=off noapic nolapic )root (hd0,6)kernel /boot/vmlinuz-3.0.0-12-generic root=UUID=772805f8-7181-4250-8606-4cda2397e769 ro quiet acpi=off noapic nolapicinitrd /boot/initrd.img-3.0.0-12-generictitle Ubuntu hardy , kernel 3.0.0-12-generic ( xforcevesa )root (hd0,6)kernel /boot/vmlinuz-3.0.0-12-generic root=UUID=772805f8-7181-4250-8606-4cda2397e769 ro quiet xforcevesainitrd /boot/initrd.img-3.0.0-12-generictitle Ubuntu hardy , kernel 3.0.0-12-generic (recovery mode)root (hd0,6)kernel /boot/vmlinuz-3.0.0-12-generic root=UUID=772805f8-7181-4250-8606-4cda2397e769 ro single acpi=off noapic nolapicinitrd /boot/initrd.img-3.0.0-12-generictitle Ubuntu hardy , memtest86+root (hd0,6)kernel /boot/memtest86+.bin
* For the moment, no detailed explanation is provided. You must replace the following:
-Replace "6" in "root (hd0, 6)" with "/" the ID of the partition (the number starts from 0, "6" is the seventh partition );
-Replace "3.0.0-12-generic" in "3.0.0-12" with the version corresponding to the Ubuntu installer;
-Replace "772805f8-7181-4250-8606-4cda2%e769" after "UUID = 772805f8-7181-4250-8606-4cda2%e769" with "/" the uuid of the partition;
Stage IV: because the school machine does not support USB boot, the dream of migrating to the mobile hard disk is ruined, so it is installed on the local hard disk. However, the partition table of the hard disk is damaged due to some situations (I do not know the reason so far ). I used wubi to install it.
For some problems encountered during installation, please kindly advise ...... (Especially how to install and boot from a mobile hard disk .)
This article from the csdn blog, reprint please indicate the source http://blog.csdn.net/whjpji/article/details/7352669