Fast Start of Ubuntu9.04

Source: Internet
Author: User
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.

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.