By default, Ubuntu is installed and started quickly. However, if you want to enable Ubuntu quickly, follow these steps ): sudogedit/boot/grub/menu. lst adds acpi = offnoapicnolapic at the end of the kernel line to save and disable gedit. Sudoswapoff-a // disable swap partition sud
After Ubuntu 9.04 is installed by default, the startup speed is very fast, but some cool people want to quickly start Ubuntu 9.04, the method is as follows (the Linux community has not been verified in the following method, please check it yourself ):
Sudo gedit/boot/grub/menu. lst
Add acpi = off noapic nolapic at the end of the kernel line to save and disable gedit.
Sudo swapoff-a // disable swap Partition
Sudo dd if =/dev/zero of =/swapfile bs = 1 k count = 512000 // create a file named swapfile, Which is MB in size for swap.
Sudo mkswap/swapfile // create a format for this file.
Sudo gedit/etc/fstab
Set/host/ubuntu/disks/swap. disk none swap loop, sw 0 0
Change to/swapfile none swap sw 0 0 // note that this sentence should be placed behind/load statement
Sudo swapon-
Restart the instance. : 0wpoi2
Note: the main reason for slow startup is that the system consumes the most time in memory partition uption detected in low memory and activating swap partition files. The above methods solve these two problems.