Address of this article: http://blog.csdn.net/useway "Java programmer, work that thing" ttylinux claim to be the smallest Linux system, these two days to find a very useful Virtual Machine virtual box, this virtual machine is a free and open-source virtual machine developed by Sun. It has been using VMWare for a long time. However, it is found that Sun's free virtual machine is more useful, mainly lightweight and feels quite good.
I just want to try how small ttylinux is. Use this virtual machine to try ttylinux! I found that many installation instructions on the Internet are incomplete. Therefore, I would like to write a complete installation guide for everyone. I downloaded the latest release, bootcd-i486-8.1.iso.gz, from the official website of ttylinux: http://www.ttylinux.org ".
After downloading the file, we found that the file is only 4.7m in size, which is indeed very small compared to several CDs of other releases.
Step 1, use winrardecompressed bootcd-i486-8.1.iso.gz, turn into, bootcd-i486-8.1.iso image file backup.
Step 2: Create a new virtual computer in virtual box and specify the memory size and hard disk size. We can set it to 256 MB memory and 512 MB hard disk.
Step 3, specify the Virtual Drive as the bootcd-i486-8.1.iso image file, double-click the new virtual computer icon to start. Step 4: start with the virtual optical drive and enter the system:
Enter the username "root" and password "password" to start installation. Step 5: partition and format the virtual hard disk:
The current system only has one hard disk. The device name of this hard disk is/dev/hda.
1. Input: fdisk/dev/hda.
2. Enter "N" at the "command (M for help):" prompt to create a partition.
3. Select the partition type, which is "P", that is, the primary partition.
4. You can type 'P' to set a primary partition.
5. If "P primary partition (1-4)" is displayed, enter "1" because it is the first partition.
6. Next, select the cylinder. The default inspiration is "1". Press enter.
7. Then, we cannot determine the ending cylinder. Therefore, we can use the "+ sizem" method to specify the partition size, for example, input "+ 448m ".
8. Create a swap partition and select "N ".
9. Select "p" to create the primary partition.
10. Enter "2" in the "P primary partition (1-4)" prompt ".
11. The Inspiration cylinder is selected by default. Press enter.
12. The size of the ending partition is "+ 64 m"
13. Then, specify the second partition as the swap partition and enter "T" after "command (M for help ".
14. Partition Number (1-4): 2
15. HEX Code (type L to list codes): 82
16. Okay. After "command (M for help):", type "p" to see how the partition is created.
17. If no error exists, enter "W" to save the partition result and exit fdisk.
18. After partitioning, We need to format the hard disk. The format command is "mkfs. ext3/dev/hda1"
19. Enter ttylinux-installer-M/dev/HDC/dev/hda1 at the "%" prompt.
The device name of the first partition in our partition is "/dev/hda1", and the device name of the optical drive is "/dev/HDC". This command is a script program that comes with ttylinux, the goal is
Is to copy the operating system file on the CD to the specified partition, and automatically configure the boot loader, ttylinux uses Lilo.
20. After you type the command, the system prompts "Enter 'yz' now to confirm this installation>" and enters "yes"
When "I> installation completed successfully." is displayed, the installation is complete. 21. Enter reboot to restart the system. Do not forget to uninstall the optical drive. Otherwise, the system is started with a CD. Step 6: the installation is complete.