Subscribe to How-To Geek Підписатись на How-To Geek

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.

Make Grub Bootloader Wait Indefinitely for OS Selection Зробити завантажувача Grub нескінченно чекати вибору ОС

If you are doing a lot of testing of different builds, there's nothing more annoying than rebooting and then having the system boot into the wrong choice on the grub menu before you have a chance to pick the one you want. Якщо ви робите багато випробувань різні версії, немає нічого більш подразнюючої, ніж перезавантаження, а потім ця система завантажиться в неправильному виборі в меню Grub до вас є шанс вибрати той, який ви хочете. Reader Victor wrote in with this tip: You can just comment out the timeout line entirely to stop grub from picking anything, giving you time to get your morning coffee. Reader Віктор пише у цій Підказка: Ви можете просто закомментіруйте рядок очікування повністю припинити GRUB від збирання грибів, нічого, що дає вам час для ранкової кави.

All you need to do is open up the /boot/grub/menu.lst file in your favorite text editor (in sudo mode) Все, що вам потрібно зробити, це відкрити / BOOT / GRUB / menu.lst у вашому улюбленому текстовому редакторі (в Суді режимі)

sudo vi /boot/grub/menu.lst Суду VI / Boot / GRUB / menu.lst

Find the section of the file that contains the timeout information Знайдіть розділ файлу, який містить інформацію тайм-аут

## timeout sec # # Таймаут сек
# Set a timeout, in SEC seconds, before automatically booting the default entry # Встановити тайм-аут, в SEC секунд, перед автоматичного завантаження запису за замовчуванням
# (normally the first entry defined) # (Зазвичай перший запис визначена)
# timeout      3 # Таймаут 3

Just put a # before the “timeout 3″ line in the file, then save and restart your computer. Просто помістіть # перед "тайм-аут 3" рядки у файлі, потім збережіть зміни і перезавантажте комп'ютер.

зображення

Now grub will wait forever until you make a choice. Тепер GRUB буде чекати вічно, поки ви робите вибір. This is especially useful if you want to prevent your computer from ever booting into Windows… Це особливо корисно, якщо ви хочете, щоб Ваш комп'ютер коли-небудь у завантаженні Windows ...

This article was originally written on 07/25/07 Tagged with: Ця стаття була спочатку написана на 07/25/07 тегами: Linux Linux , , Ubuntu Ubuntu

Daily Email Updates Email Щоденні оновлення

You can get our how-to articles in your inbox each day for free. Ви можете отримати наші довідкові статті у Вашу поштову скриньку щодня безкоштовно. Just enter your name and email below: Просто введіть ваші ім'я та адресу електронної пошти нижче:


Name: Ім'я:
Email: Електронна пошта:

Comments (5) Коментарі (5)

  1. Adam Адам

    That command opened it up in terminal for me and I had to scroll down the page with the blinking typing box and it wouldnt let me modify any values. Ця команда відкрила його в термінал для мене, і мені довелося прокручувати сторінку з миготливим поле введення і Wouldnt Дозвольте мені змінити будь-які цінності. I prefer “sudo gedit /boot/grub/menu.lst”. Я віддаю перевагу "Суду Gedit / BOOT / GRUB / menu.lst".

  2. Steven Seagal Стівен Сігал

    Of course it opened it up in a terminal – it's vi. Звичайно, він відкрив його в термінал - це VI. You were probably not issuing the right commands – that's why it wouldn't let you modify any values. Ви, ймовірно, не видають права команд - ось чому він не дозволяє змінити будь-які цінності. gedit is nice, but won't work in a terminal-only window. Gedit це добре, але не буде працювати в терміналі тільки вікна.

    For a simpler terminal-only editor, try nano: Для більш простого терміналу тільки редактор, спробуйте Nano:
    sudo nano /boot/grub/menu.lst Суду нано / BOOT / GRUB / menu.lst

  3. Hariharakumar Hariharakumar

    i opened the menu.lst file in text editor and changed, but i can't save it, it says “You do not have the permissions necessary to save the file. Я відкрив menu.lst файлу в текстовому редакторі і змінити, але я не можу врятувати його, він говорить: "У вас немає дозволу, необхідні для збереження файлу. Please check that you typed the location correctly and try again.” Будь ласка, перевірте, що ви ввели місці правильно і спробуйте ще раз. "

    What should i do now? Що мені тепер робити?

  4. KAFYEKE Owen KAFYEKE Оуен

    Ahhhh, that's the tip I was expecting for Ahhhh, ось відгук я чекав :)

    Thank you “How to geek” Спасибо "Як Geek"

  5. Luis Lumbreras Picazo Луїс Lumbreras Picazo

    First let solve one question asked on forum: Why can not save menu.lst -> you are not editing it as root user. Спочатку вирішити одне питання, спитав на форумі: Чому не вдається зберегти menu.lst -> Ви не редагуванні його як кореневого користувача.

    Now, how can i edit it as root user? Тепер, як я можу змінити його як кореневого користувача? Simple put sudo before the command you use to edit it. Прості покласти Суду перед командою ви використовуєте для його зміни.

    I use to open it in a good looking graphical text editor the following command: Я використовую, щоб відкрити його в красивий графічний редактор тексту наступну команду:
    sudo gedit /boot/grub/menu.lst Суду Gedit / BOOT / GRUB / menu.lst

    Then when you select to save it will let you, because you are editing it as root (that makes sudo …; run commands being root user). Потім, коли ви виберіть, щоб зберегти це дозволити, тому що ви редагуєте в якості користувача root (що становить Суду ...; час виконання команд супер-користувача).

    Well, thanks for such option, but how can i put lines that makes nothing, for example just to have on screen: Ну, спасибі за такий варіант, але як я можу покласти ліній, які нічого не робить, наприклад, просто мати на екрані:

    Ubuntu 9.04 Kernels Ubuntu 9.04 ядрами


Our Friends Наші друзі
Getting Started Приступаючи до роботи


About How-To Geek Про How-To Geek
What Is That Process? Що це за процес?
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. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. Всі права захищені.