what to type in grub to launch phoenix os
Ubuntu and most other Linux distributions now apply the GRUB2 boot loader. You can modify its settings to select a default operating system, set a background epitome, and choose how long Grub counts downwardly before automatically booting the default OS.
Nosotros configured GRUB2 on Ubuntu 14.04 here, just the procedure should be similar for other Linux distributions. Yous may have customized the original GRUB's settings by editing its menu.lst file in the past, but the process is now unlike.
GRUB2 Configuration Nuts
RELATED: GRUB2 101: How to Access and Use Your Linux Distribution's Kick Loader
GRUB2 doesn't apply a menu.lst file. Instead, its chief configuration file is the /kicking/chow/grub.cfg file. However, yous shouldn't edit this file by manus! This file is simply for GRUB2's ain usage. Information technology's automatically created by running the update-grub control as root — in other words, by running sudo update-chow on Ubuntu.
Your own GRUB settings are stored in the /etc/default/grub file. Edit this file to change GRUB2's settings. Scripts are besides located in the /etc/grub.d/ directory. For example, on Ubuntu, there are scripts here that configure the default theme. In that location's also an bone-prober script that checks the system's internal hard drives for other installed operating systems — Windows, other Linux distributions, Mac OS X, and and then on — and automatically adds them to GRUB2'due south menu.
When y'all run the update-grub command, GRUB automatically combines the settings from the /etc/default/grub file, the scripts from the /etc/chow.d/ directory, and everything else, creating a /boot/grub/grub.cfg file that'due south read at kick.
In other words, to customize your GRUB2 settings, y'all'll take to edit the /etc/default/grub file and then run the sudo update-chow command.
Edit the GRUB Configuration File
RELATED: A Beginner's Guide to Editing Text Files With Vi
Open up the /etc/default/grub file for editing in a standard text editor. If you want to employ a graphical text editor, open a terminal — or press Alt+F2 — and run the following command:
gksu gedit /etc/default/grub
For an easy-to-utilise terminal-based editor — Nano — use the following command. You can use whatsoever text editor you like, of course — including the standard vi text editor.
sudo nano /etc/default/grub
The /etc/default/grub file is curt and should be easy to edit. As with any other configuration file, you lot need to edit the options to your desired land and so modify the file. If any of the options below doesn't already appear in the file, add it on a new line. If information technology does, edit the existing line instead of adding a duplicate i.
Choose the Default Bone: Modify the GRUB_DEFAULT= line. By default, GRUB_DEFAULT=0 uses the first entry as the default — alter the number to 1 to utilize the second entry, 2 to employ the third entry, or so on. You could also apply GRUB_DEFAULT=saved and GRUB would automatically kicking the last operating arrangement you chose each time you kick. Yous tin as well specify a label in quotes. For example, if you had an operating organisation named Windows seven (loader) in your Os list, you could use GRUB_DEFAULT="Windows 7 (loader)"
Save a Default Operating Arrangement: If you lot choose GRUB_DEFAULT=saved, y'all also demand to add a GRUB_SAVEDEFAULT=true line — otherwise it won't piece of work.
Choose Whether Chow is Hidden: With only one operating arrangement installed, Ubuntu defaults Chow to automatically kick to the default OS with the GRUB_HIDDEN_TIMEOUT=0 option. This pick specifies GRUB will be subconscious and information technology will automatically kick to the default Os after 0 seconds –immediately, in other words. You can still access the menu past holding Shift equally your figurer boots. To set a higher timeout, use something like GRUB_HIDDEN_TIMEOUT=5 — Grub will display an empty screen or splash screen for five seconds, during which you tin can press any key to view the menu. To forestall GRUB from beingness automatically hidden, annotate the line out — just add a # before it so that it reads #GRUB_HIDDEN_TIMEOUT=0 .
Command Chow's Menu Timeout: If GRUB isn't automatically hidden, you'll see the menu each time your computer boots. Chow will automatically bot the default operating system later a menstruum of time, usually x seconds. During that time, y'all tin choose another OS or exit it be to automatically kicking. To change the timeout flow, edit the GRUB_TIMEOUT=x line and enter whatever number of seconds you like. (Recollect, this is only used if Chow isn't hidden.) To preclude GRUB from booting automatically and always wait for y'all to choose an Bone, change the line to GRUB_TIMEOUT=-1
Choose a Background Image: The GRUB_BACKGROUND line controls whether a background prototype is used — by default, GRUB uses a white-on-black monochrome expect. You lot tin can add together a line like GRUB_BACKGROUND="/habitation/user/Pictures/background.png" to specify an image file GRUB will use.
The paradigm file must meet various specifications. Chow supports JPG/JPEG images, but these are express to 256 colors — then you probably won't want to use a JPG image. Instead, yous'll probably want to use a PNG image that can have any number of colors. You lot could also use a TGA image file.
Make Your Changes Take Effect
To have your changes accept result, simply save the text file — File > Salvage in Gedit or Ctrl + O then Enter to salvage the file in Nano — then run the sudo update-grub command. Your changes will become office of the chow.cfg file and volition be used each time y'all kick your calculator.
These aren't all of Grub's settings, but they are some of the most normally inverse. Other settings can be customized in the /etc/default/chow file, or by editing the scripts in the /etc/grub.d directory.
If you lot don't desire to edit the files past manus, you lot may exist able to find graphical tools for customizing GRUB2 in your Linux distribution's software repositories. The above method should work even on Linux distros where such tools aren't easily available, or if you merely take control-line access and want to practise it past manus.
jenkinsdivictlerner.blogspot.com
Source: https://www.howtogeek.com/196655/how-to-configure-the-grub2-boot-loaders-settings/
0 Response to "what to type in grub to launch phoenix os"
Postar um comentário