Install Linux in Linux: If you already have a Linux system and want to install another version, this method is really good. Very fast. It took me about 10 minutes to install ubuntu.
The installation procedure is as follows, with Ubuntu 8.04 as an example.
1. Download the Linux ISO file and move it to the root directory of the idle partition (hd0, X );
# Set (hd0, x) as follows (hd0, 6) to be empty;
# Download the image file as follows: http://www.ubuntu.org.cn/GetUbuntu/download
2. Mount the ISO image, copy the files required for installation, and copy the file list.
(1). Disk the entire file.
(2)casper, vmliuzand initrd.gz files.
The procedure is as follows:
The/ISO directory contains the Ubuntu ISO image file.
Mount/dev/sda7/ISO
CP/ISO/*/dev/sda7
CD/dev/sda7
Mkdir ISO2
Mount-L/ISO/xxx. ISO ISO2-o loop
CD ISO2
CP. Disk/Casper/vmlinuz/Casper/initrd.gz-RF
Command completed;
3. Modify the grub file.
Add the following content to/boot/GRUB/menu. lst:
Title install Ubuntu-8.04
Root (hd0, 6)
Kernel/vmlinuz boot = Casper iso-Scan/filename =/xxx. ISO
# It is an ISO file.
Initrd/initrd.gz
Boot
Restart and select install Ubuntu-8.04
Start the boot, and the other steps will be the same as the installation on the CD.