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 Padarīt Grub Bootloader Pagaidiet nenoteiktu laiku OS izvēle

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. Ja jūs darāt daudz testiem dažādiem būvē, tur nekas vairāk kā kaitinošas rebooting un tad, kam sistēma ielādēs nepareizu izvēli grub menu pirms jums ir iespēja izvēlēties vienu, kuru vēlaties. 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. Lasītājs Victor rakstīja šo padoms: jūs varat komentēt out taimautu līniju pilnībā pārtraukt izrakt no lasīšana kaut ko, kas dod jums laiku, lai saņemtu savu rīta kafiju.

All you need to do is open up the /boot/grub/menu.lst file in your favorite text editor (in sudo mode) Viss, kas jums jādara, ir atvērt / boot / grub / menu.lst failu savā iecienītākajā teksta redaktoru (jo sudo režīmā)

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

Find the section of the file that contains the timeout information Atrast sadaļā fails, kas satur taimautu informācija

## timeout sec # # Timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry # Uzstādiet taimautu, jo SEC sekundes, pirms automātiski booting default ieraksts
# (normally the first entry defined) # (Parasti pirmais ieraksts defined)
# timeout      3 # Timeout 3

Just put a # before the “timeout 3″ line in the file, then save and restart your computer. Tikai izvirzīti # pirms "taimautu 3" rindā failu, pēc tam saglabājiet un restartējiet datoru.

image

Now grub will wait forever until you make a choice. Tagad grub būs jāgaida uz visiem laikiem, kamēr veicat izvēli. This is especially useful if you want to prevent your computer from ever booting into Windows… Tas ir īpaši ērti, ja jūs vēlaties, lai jūsu datoru no kādreiz booting programmā Windows ...

This article was originally written on 07/25/07 Tagged with: Šis pants tika sākotnēji rakstīts uz 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. Jūs varat saņemt mūsu how-to rakstus savā pastkastītē katru dienu par brīvu. Just enter your name and email below: Vienkārši ievadiet jūsu vārdu un e-pasta zemāk:


Name: Vārds:
Email: E-pasts:

Comments (5) Komentāri (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. Pavēles atvēršanas izveidots gala par mani un man bija leju lapu ar mirkšķināšanas ierakstot ailē, un tas wouldnt let me pārveidot jebkuru vērtību. I prefer “sudo gedit /boot/grub/menu.lst”. Es labāk "sudo gedit / boot / grub / menu.lst".

  2. Steven Seagal Steven Seagal

    Of course it opened it up in a terminal – it's vi. Protams, tā dara to saņemt termināls - tā ir vi. You were probably not issuing the right commands – that's why it wouldn't let you modify any values. Jūs, iespējams, bija neizsniedzot tiesības komandas - tāpēc tā nebūtu ļauj pārveidot jebkuru vērtību. gedit is nice, but won't work in a terminal-only window. gedit ir jauki, bet nestrādās termināla tikai logu.

    For a simpler terminal-only editor, try nano: Par vienkāršāku termināls tikai redaktors, mēģiniet 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. Es atvēru menu.lst failu teksta redaktorā un maina, bet es nevar saglabāt, tā saka: "Jums nav atļaujas, lai saglabātu failu. Please check that you typed the location correctly and try again.” Lūdzu pārbaudiet, vai esat ievadījis vieta pareizi un mēģiniet vēlreiz. "

    What should i do now? Ko man darīt tagad?

  4. KAFYEKE Owen KAFYEKE Owen

    Ahhhh, that's the tip I was expecting for Ahhhh, tas tip es cerēju uz :)

    Thank you “How to geek” Paldies "Kā 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. First let atrisināt viens jautājums uzdots forumā: Kāpēc nevar saglabāt menu.lst -> neesat rediģēt to kā root lietotājam.

    Now, how can i edit it as root user? Tagad, kā es varu rediģēt to kā root lietotājs? Simple put sudo before the command you use to edit it. Vienkāršā nodot sudo pirms komandas izmantot, lai rediģētu to.

    I use to open it in a good looking graphical text editor the following command: Lietot, lai atvērtu to good looking grafisko teksta redaktors šādu komandu:
    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). Tad, kad jūs izvēlaties, lai saglabātu to ļaus jums, jo jums ir rediģēšanas kā saknes (kas padara sudo ... vadīt komandu tiek root lietotājs).

    Well, thanks for such option, but how can i put lines that makes nothing, for example just to have on screen: Labi, paldies par šādu iespēju, bet kā es varu iesniegt pozīcijas, kas padara nekā, piemēram, tikai lai ir uz ekrāna:

    Ubuntu 9.04 Kernels Ubuntu 9.04 kodoli


Leave a Comment Leave Comment




Leave your Atstājiet savu friendly draudzīgs comment here. komentārus šeit.

If you have a computer help question, Ja Jums ir dators palīdzēt jautājumu, click here to leave it on the forums click here to atstāt uz forumu instead. vietā.

Note: Your comment may not show up immediately on the site. Piezīme: Jūsu komentārs var neparādīties pat tieši uz vietas.

Our Friends Our Friends
Getting Started Getting Started


About How-To Geek Par How-To Geek
What Is That Process? Kas ir šis 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. All Rights Reserved.