Ubuntu8.04 hard disk installation method

Source: Internet
Author: User
Ubuntu8.04 hard disk installation method-Linux Enterprise Application-Linux server application information. For details, refer to the following section. [I = s] This post was last edited by Growth MB

Since it is necessary to download the ISO image, and there is no need to retain the dial (resource waste), it can save, and the installation speed is faster than the CD. Therefore, it is best to install the hard disk. (This is interesting)
There are two types of hard disk installation: LiveCD and alternate.
Let's talk about livecd first. First of all, download. Find a FAT32 partition. Put livecd in the root directory of the partition. Copy the. diskdirectory in the isoimage to the root directory of the partition, and then copy the vmlinuzand initrd.gz files under the casperdirectory to the root directory of the same partition.
Edit the menu. lst file and add a startup option. The red item needs to be modified as needed:

Title install-ubuntu8.04
Root (hd0, 6)
Kernel/vmlinuz boot = casper iso-scan/filename =/hardy-desktop-i386.iso quiet splash ro
Initrd/initrd.gz
Boot

Next, restart the system, select "GRUB" at startup, and then select "Install Ubuntu ". Wait a moment to go to the Live CD system. The subsequent installation is simple.
Restart the computer, and install it like livecd later.
Then install alternate.
Download alternate first, put it in the root directory of a partition, and then download the Startup File.
Address: AMD64 i386. Download initrd.gz and vmlinuz and put them in the root directory of the same partition as alternate.
Edit the menu. lst file and add a startup option. The red item needs to be modified as needed. 768000 indicates my memory size: 768 MB:
Title install-ubuntu8.04
Kernel (hd1, 7)/vmlinuz root =/dev/ram0 ramdisk_size = 768000
Initrd (hd1, 7)/initrd.gz
Similarly, restart and select installation. (Ps: There is a software installation option after this CD is installed. Remember to select ubuntu-Desktop. Otherwise, you will go to the command line. You don't really want the command line)
If you do not have a ubuntu system, only windows systems such as xp, that is, Grub, please search for Grub4dos articles.
Download a Grub for dos: https://sourceforge.net/projects/grub4dos. After Uncompressing the file, copy the grldrand grub.exe files in the directory to the C root directory. You only need these two files.
Next, on my computer?> Tools?> Folder Options?> The "Hide protected operating system files" check box is removed from the "View" tab, and "show all files and folders" is checked ". Use NotePad to open the boot. ini file under the root directory of the C drive, and add a line at the end of the file: C: \ grldr = "GRUB ".
Copy the downloaded ISO file to the root directory of the C drive. You can download it to Ubuntu 8.04. Access the initrd.gz and vmlinuz files in the casper of the decompressed isofiles, and copy them to the C-drive root directory.

Finally, create the menu. lst file in the root directory of the C drive. Its content is as follows:
Title Install Ubuntu
Find? Set-root/hardy-desktop-i386.iso
Kernel/vmlinuz boot = casper find_iso =/hardy-desktop-i386.iso
Initrd/initrd.gz
Next, restart the system, select "GRUB" at startup, and then select "Install Ubuntu ". Wait a moment to go to the Live CD system. The subsequent installation is simple.
Now the problem is, if the space on disk C is not enough to put ISO, can you put ISO on disk D or other partitions? Of course. But you must modify the corresponding parameters in the menu. lst file!
Related Article

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.