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 Dodać bootloadera Grub czekać w nieskończoność na wybór systemu operacyjnego

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. Jeśli robisz wiele badań różnych buduje, nie ma nic bardziej irytujących niż restartowania systemu, a następnie po rozruchu systemu do niewłaściwego wyboru w menu GRUB-a przed masz szansę, aby wybrać obiekt, który chcesz. 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. Czytelnik napisał w Victor z Wskazówka: Można tylko komentarz na linii timeout całkowicie zatrzymać grub od zbierania wszystkiego, co daje czasu na poranną kawę.

All you need to do is open up the /boot/grub/menu.lst file in your favorite text editor (in sudo mode) Wszystko, co musisz zrobić, to otworzyć plik / boot / grub / menu.lst plik swoim ulubionym edytorem (w sudo mode)

sudo vi /boot/grub/menu.lst sudo vi / boot / grub / menu.lst

Find the section of the file that contains the timeout information Znajdź sekcję pliku, który zawiera informacje timeout

## timeout sec # # Timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry # Set timeout w sekundach SEC przed automatycznym uruchomieniem domyślnego wpisu
# (normally the first entry defined) # (Zazwyczaj pierwszy zdefiniowane wejścia)
# timeout      3 # Timeout 3

Just put a # before the “timeout 3″ line in the file, then save and restart your computer. Wystarczy umieścić # przed "timeout 3" linii w pliku, a następnie zapisać i uruchomić ponownie komputer.

image

Now grub will wait forever until you make a choice. Teraz grub będzie czekać w nieskończoność aż do dokonania wyboru. This is especially useful if you want to prevent your computer from ever booting into Windows… Jest to szczególnie przydatne, jeśli chcesz, aby komputer z coraz zyski w Windows ...

This article was originally written on 07/25/07 Tagged with: Ten artykuł został napisany na 07/25/07 Tagged with: Linux Linux , , Ubuntu Ubuntu

Daily Email Updates Daily Email Updates

You can get our how-to articles in your inbox each day for free. Możesz pobrać nasze instrukcje postępowania w skrzynce odbiorczej codziennie za darmo. Just enter your name and email below: Wystarczy podać swoje imię i adres e-mail:


Name: Imię i nazwisko:
Email: E-mail:

Comments (5) Komentarze (5)

  1. Adam 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. To polecenie otwiera go w terminalu dla mnie i musiałem przewijać strony w polu miga typowania i wouldnt let me modyfikować wartości. I prefer “sudo gedit /boot/grub/menu.lst”. Wolę "sudo gedit / boot / grub / menu.lst.

  2. Steven Seagal Steven Seagal

    Of course it opened it up in a terminal – it's vi. Oczywiście, że otworzył w terminalu - jest to VI. You were probably not issuing the right commands – that's why it wouldn't let you modify any values. Ty prawdopodobnie nie wydającego prawo polecenia - to dlaczego nie pozwala modyfikować wartości. gedit is nice, but won't work in a terminal-only window. gedit jest ładne, ale nie zadziała w terminalu okna tylko.

    For a simpler terminal-only editor, try nano: Dla uproszczenia terminalu tylko edytor, spróbuj nano:
    sudo nano /boot/grub/menu.lst sudo nano / 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. Po otwarciu pliku menu.lst w edytorze tekstu i zmienić, ale nie można go zapisać, to mówi: "Nie masz uprawnień niezbędnych do zapisania pliku. Please check that you typed the location correctly and try again.” Sprawdź, czy wpisałeś lokalizację poprawnie i spróbuj ponownie. "

    What should i do now? Co powinienem teraz zrobić?

  4. KAFYEKE Owen KAFYEKE Owen

    Ahhhh, that's the tip I was expecting for Ahhhh, to wskazówka Spodziewałem dla :)

    Thank you “How to geek” Dziękuję "Jak geek"

  5. Luis Lumbreras Picazo Luis Lumbreras Picazo

    First let solve one question asked on forum: Why can not save menu.lst -> you are not editing it as root user. Najpierw rozwiązania jednego pytanie na forum: Dlaczego nie można zapisać menu.lst -> nie go edytować jako root.

    Now, how can i edit it as root user? Teraz, jak mogę edytować go z uprawnieniami roota? Simple put sudo before the command you use to edit it. Simple umieścić sudo przed poleceniem użycia go edytować.

    I use to open it in a good looking graphical text editor the following command: Używam go otworzyć w good looking graficznym edytorem tekstu następujące polecenie:
    sudo gedit /boot/grub/menu.lst sudo 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). Następnie po wybraniu zapisać pozwala to, bo go edytować jako root (sudo sprawia, że ...; wykonywania poleceń jest użytkownik root).

    Well, thanks for such option, but how can i put lines that makes nothing, for example just to have on screen: Cóż, dzięki takiej opcji, ale w jaki sposób można umieścić linii sprawia, że nic, na przykład tak, aby na ekranie:

    Ubuntu 9.04 Kernels Ubuntu 9.04 Jądra


Our Friends Nasi Przyjaciele
Getting Started Pierwsze kroki


About How-To Geek O How-To Geek
What Is That Process? Co to jest proces?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe Gadu-Gadu
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. All Rights Reserved.