Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Change the GRUB Menu Timeout on Ubuntu Thay đổi GRUB Menu Timeout trên Ubuntu

When your Ubuntu system boots, you will see the GRUB menu if you hit the Esc key, or if you've enabled the menu to Khi Ubuntu khởi động hệ thống của bạn, bạn sẽ thấy menu GRUB nếu bạn nhấn phím Esc, hoặc nếu bạn đã kích hoạt trình đơn để show by default hiển thị theo mặc định . . The only issue with this is that the default timeout is only 3 seconds. Vấn đề duy nhất này là thời gian chờ mặc định là chỉ có 3 giây. You may want to increase this amount… or you may even want to decrease it. Bạn có thể muốn tăng số tiền này ... hoặc thậm chí bạn có thể muốn giảm nó. Either one is simple. Hoặc là một trong rất đơn giản.

Open up the /boot/grub/menu.lst file in your favorite text editor. Mở / boot / grub / menu.lst file trong trình soạn thảo văn bản ưa thích của bạn. I'm using gedit: Tôi đang sử dụng gedit:

sudo gedit /boot/grub/menu.lst sudo gedit / boot / grub / menu.lst

Now find the section that looks like this: Bây giờ tìm phần thích như sau:

## timeout sec # # Timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry # Đặt một thời gian chờ, trong giây SEC, trước khi tự động khởi động mặc định nhập cảnh
# (normally the first entry defined). # (Thường là mục đầu tiên được định nghĩa).
timeout 3 timeout 3

The timeout value is in seconds. Giá trị timeout là trong vài giây. Save the file, and when you reboot you will have that many seconds to choose the menu item you want. Lưu tệp, và khi bạn khởi động lại, bạn sẽ có nhiều giây để lựa chọn mục trình đơn mà bạn muốn.

This article was originally written on 12/27/06 Tagged with: Bài viết này ban đầu được viết ngày 12/27/06 Tagged với: Ubuntu Ubuntu

Daily Email Updates Email cập nhật hàng ngày

You can get our how-to articles in your inbox each day for free. Bạn có thể làm thế nào chúng tôi vào các bài viết trong hộp thư của bạn mỗi ngày miễn phí. Just enter your name and email below: Chỉ cần nhập tên và email của bạn dưới đây:


Name: Tên:
Email: Email:

Comments (7) Bình luận (7)

  1. Dave Dave

    It would be useful to add that prevent the timer to runing the timeout line should be commented out eg #timeout 3. Nên để thêm rằng ngăn chặn việc hẹn giờ để runing dòng timeout nên được nhận xét ra ví dụ: # timeout 3.

    I needed to do this and could not find out how to, anywhere on the web, so I experimented, and it worked. Tôi cần thiết để làm điều này và không thể tìm ra cách, bất cứ nơi nào trên web, vì vậy tôi thử nghiệm, và nó đã làm việc.

  2. shashin Shashin

    I did it but how to make the splash image folder writable, please help me, I can't paste any xpm image there Tôi đã làm điều đó nhưng làm thế nào để tạo thư mục có thể ghi hình giật gân, xin vui lòng giúp tôi, tôi không thể dán các hình ảnh có xpm

  3. ubuntu noob ubuntu Noob

    Dave, Dave,
    I was looking for how to kill the timer and couldn't find it anywhere either. Tôi đã tìm cách để diệt các bộ đếm thời gian và không thể tìm thấy nó, hoặc bất cứ nơi nào. And just to clarify for the other uber noobs like myself, commenting it out simply means putting a # in front of it. Và chỉ cần làm rõ cho các noobs uber khác như bản thân mình, cho ý kiến nó chỉ có nghĩa là đưa ra một # ở phía trước của nó. And goto the top of the window and click save when your done. Và đầu trang goto các cửa sổ và bấm lưu khi bạn thực hiện. Sorry if I'm over-clarifying, but for the first timers like myself sometimes the most obvious things get glossed over in the forums, and thats all it takes to get hung up. Xin lỗi nếu tôi là over-làm rõ, nhưng đối với các bộ tính giờ đầu tiên như bản thân mình đôi khi những điều rõ ràng nhất có được glossed hơn trong các diễn đàn, và thats tất cả phải mất để có được treo lên.
    I personally was expecting this grub editing to be more like entering cryptic commands, than just scrolling down a page and making changes and clicking save. Cá nhân tôi đã mong grub chỉnh sửa này sẽ được nhiều hơn như cách nhập lệnh khó hiểu, hơn là chỉ di chuyển xuống một trang và thực hiện thay đổi và bấm lưu. I popped my terminal cherry with this sudo gedit command which I cut and pasted right of this page, all I had to do was type my password and ad a #….rather anticlimactic for all the terminal anxiety I was imagining. Tôi popped anh đào thiết bị đầu cuối của tôi với lệnh này sudo gedit mà tôi cắt và dán bên phải của trang này, tất cả tôi đã làm được gõ mật khẩu của tôi và quảng cáo một # .... Anticlimactic thay vì lo lắng cho tất cả các nhà ga tôi đã được tưởng tượng.
    Anyway thanks Dave and “The Geek” ! Dù sao nhờ Dave và "The Geek"!

  4. Eric Eric

    Thanks, it helped. Thanks, nó đã giúp. Also it's worth mentioning that setting the timeout to -1 deactivates timeout. Ngoài ra nó đáng nói đến là thiết lập các gian chờ đến -1 deactivates timeout.

  5. Madhuranga Madhuranga

    Hi everyone.., Chào tất cả mọi người ..,

    I cant save my menu.lst file. I cant lưu các tập tin menu.lst của tôi. An error pops up saying “Don't have the permission to save this file”. Một lỗi bật lên nói rằng "Không có sự cho phép để lưu tập tin này". : (

    I m the only user in the system and i am the admin. Tôi m người sử dụng chỉ trong hệ thống và i am the admin. Can any one pls tell me how to make that file to be saved. Có thể bất kỳ một pls cho tôi biết cách làm cho rằng tập tin được lưu.

    Thanx. Thanx.

  6. dream47 dream47

    Madhuranga, Madhuranga,

    You can not just openthe menu.lst file and change it. Bạn có thể không chỉ openthe menu.lst file và thay đổi nó. Under Ubuntu you can use the terminal window and enter: Dưới Ubuntu bạn có thể sử dụng các cửa sổ thiết bị cuối và nhập:

    sudo gedit /boot/grub/menu.lst sudo gedit / boot / grub / menu.lst

    Now you can save the changes you make to the menu.lst file. Bây giờ bạn có thể lưu những thay đổi bạn thực hiện cho các tập tin menu.lst. The reason for this procedure is your own security. Lý do cho thủ tục này là an ninh của chính bạn.

  7. Jack Jack

    dream47, dream47,
    thanks for the help, ive been trying to save this over for ages. nhờ sự giúp đỡ này, ive được cố gắng để tiết kiệm hơn cho lứa tuổi này.
    again thankyou. một lần nữa thankyou.

    Jack Jack


Leave a Comment Để lại một Thảo luận




Leave your Để lại của bạn friendly thân thiện comment here. bình luận ở đây.

If you have a computer help question, Nếu bạn có một câu hỏi giúp máy tính, click here to leave it on the forums bấm vào đây để lại nó trên các diễn đàn instead. thay vì.

Note: Your comment may not show up immediately on the site. Lưu ý: Ý kiến của bạn có thể không hiển thị ngay lập tức trên trang web.

Our Friends Bạn bè của chúng tôi
Getting Started Bắt đầu


About How-To Geek Giới How-To Geek
What Is That Process? Quá trình đó là gì?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Bản quyền © 2006-2009 HowToGeek.com. All Rights Reserved. Tất cả các quyền.