About Grub 2 - E-Learning With Blog
Headlines News :
Home » » About Grub 2

About Grub 2

Written By Ahmad Nurhakim on Selasa, 12 Februari 2013 | 20.50


The old GRUB files (and still is!) Placed under the / boot / grub /, including the menu.lst file are read at boot time and the contents are displayed to the user in the form of the GRUB menu.

GRUB 2 files place in three main locations:

/ Boot / grub / grub.cfg - This is the main configuration file that replaces menu.lst. Unlike menu.lst, this file can not be edited by hand! I strongly advise against trying to tamper with these files, use the chattr command or anything like that. Let.

/ Etc / grub.d / - This new directory contains GRUB script. These scripts are building blocks from which the grub.cfg file is built. When the relevant GRUB command is executed, the script is read in a certain sequence and grub.cfg made.

/ Etc / default / grub - This file contains the GRUB menu settings are read by the GRUB scripts and written into grub.cfg. It is part of customization GRUB, similar to the old menu.lst except the actual boot entry.

This means that if you want to change the GRUB menu, you have to edit an existing script or create a new one, then update the menu. It's more akin to LILO rather than GRUB legacy, which allows editing menus on the fly.

How To Go To file Grub2



typing commands Nano or pico example: nano grub.cfg


Share this article :

0 comments:

Speak up your mind

Tell us what you're thinking... !

SubScriber

Masukan alamat Email kamu disini untuk mendapatkan artikel terbaru..!

Add to Google Reader or Homepage

Join Member

 
Support : Creating Website | Johny Template | Mas Template
Proudly powered by Blogger
Copyright © 2011. E-Learning With Blog - All Rights Reserved
Template Design by Creating Website Published by Mas Template