Hey, Linux, Please make way for now

Source: Internet
Author: User
Hey, Linux, please let us know now-Linux general technology-Linux technology and application information. The following is a detailed description. On Windows XP + Ubuntu Linux dual-system machines, startup may be troublesome. By default, Ubuntu is started, and the default stay time is only 1 O seconds. But most people use windows. After all, a lot of daily work needs to be done in Windows. In this case, how do I set windows to start by default? Because the boot loader used by Ubuntu is GRUB, we can modify the menu. lst file.

Start the system to enter Ubuntu Linux, and click the "Applications (Application) → accessories → terminal" menu command above to open the terminal window, enter "sudo gedit/boot/grub/menu" at the command prompt. lst "(excluding quotation marks, the same below ). Press the Enter key and you will be prompted to enter the administrator password (that is, the password used during logon). After confirmation, you can open the menu. lst file in the file editor. This is a plain text file, where the comments statements starting with "#" do not care about them, as long as you find "default O" and change it to "default 4 ", find "timeout lO" and change it to "timeout 30". Save and exit. Restart. Windows XP is started by default and the stay time is 30 seconds.

The reason for using "sudo" to start Gedit is to obtain administrator privileges. Otherwise, the system will prompt that "/boot/grub/" cannot be saved when the file is modified, which is the path of the menu. lst file. In the Windows XP + Ubuntu Linux dual-system boot menu, you can see that "Microsoft Windows XP Professional" is at the end, and the number should be 4 (from 0 ). Therefore, after default is changed to 4: The time after timeout is set in seconds. After understanding this, you can modify it as needed.

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.