GRUB Installation

download GRUB Installation

of 30

Transcript of GRUB Installation

  • 8/14/2019 GRUB Installation

    1/30

    /boot/grub/grub.conf

    This is configuration file for grub boot loader.

    grub-install /dev/hda

    To install the grub boot loader in hda device.

    grubby bootloader-probe

    To show the current boot loader .

    GRUB installation

  • 8/14/2019 GRUB Installation

    2/30

    Open the grubconfigurations file.

    GRUB Configuration

  • 8/14/2019 GRUB Installation

    3/30

    The options rhgb quiet willstart xserver while booting.

    Remove this options to bootthrough text mode.

    GRUB Configuration

  • 8/14/2019 GRUB Installation

    4/30

    GrubConfiguration

    Save the file and

    exit.

  • 8/14/2019 GRUB Installation

    5/30

    Now reboot thesystem.

    GRUB Configuration

  • 8/14/2019 GRUB Installation

    6/30

    Now system is booting in textmode .

    GRUB Configuration

  • 8/14/2019 GRUB Installation

    7/30

    Now system is booting in textmode .

    GRUB Configuration

  • 8/14/2019 GRUB Installation

    8/30

    Now system is booting in textmode .

    GRUB Configuration

  • 8/14/2019 GRUB Installation

    9/30

    Now system is booting in textmode .

    GRUB Configuration

  • 8/14/2019 GRUB Installation

    10/30

    Now system is booting in textmode .

    GRUB Configuration

  • 8/14/2019 GRUB Installation

    11/30

    Now system is booting in textmode .

    GRUB Configuration

  • 8/14/2019 GRUB Installation

    12/30

    Now system is booting in textmode .

    GRUB Configuration

  • 8/14/2019 GRUB Installation

    13/30

    Open the grubconfigurations file.

    GRUB Configuration

  • 8/14/2019 GRUB Installation

    14/30

    The options rhgb quiet willstart xserver while booting.

    GRUB Configuration

  • 8/14/2019 GRUB Installation

    15/30

    Now reboot the

    system.

    GRUB Configuration

  • 8/14/2019 GRUB Installation

    16/30

    Now system is booting ingraphical mode.

    GRUB Configuration

  • 8/14/2019 GRUB Installation

    17/30

    In EL-4 redhat-config-* tools

    are renamed as system-config-*.

  • 8/14/2019 GRUB Installation

    18/30

    GRUB installation Now the boot

    loader is lilo.

    To install grub loader use thecommandgrub-install /dev/hda .

  • 8/14/2019 GRUB Installation

    19/30

    Open the grubconfigurationfile.

    GRUB installation

  • 8/14/2019 GRUB Installation

    20/30

    If default is set tozero then it bootthrough first

    stanza.

    Label for firststanza.

    Label for secondstanza.

    Flash screen to bedisplayed at boot time.

    This represents that the followingfiles are in 5th partition of the harddisk on hd0.

    Boots the kernelimage.

    It loads the initial RAMdisk.

    Loads the dualOS.

    GRUB installation

  • 8/14/2019 GRUB Installation

    21/30

    To set password to thegrub boot loader.

    It gives us the encrypted format of the password. This password is supposed to be entered in the grub.conf

    file. This can be done by the following method.

    GRUB installation

  • 8/14/2019 GRUB Installation

    22/30

    Following the above command type the

    password two times, this will appendthe encrypted password to the grub.conf file.

    GRUB installation

  • 8/14/2019 GRUB Installation

    23/30

    Open the

    configuration file.

    GRUB installation

  • 8/14/2019 GRUB Installation

    24/30

    Here we can seethe appended

    password.

    GRUB installation

  • 8/14/2019 GRUB Installation

    25/30

    Just cut and copythe password

    here.

    Save the file andrestart the system.

    GRUB installation

  • 8/14/2019 GRUB Installation

    26/30

    Here you can see the grubloader prompting for the OS to

    boot.

    Type p to enter grub password if you want togo to single user mode.

    GRUB installation

  • 8/14/2019 GRUB Installation

    27/30

    Enter the password here.

    GRUB installation

  • 8/14/2019 GRUB Installation

    28/30

    Change the command promptto get in to single user mode to

    do that press e.

    GRUB installation

  • 8/14/2019 GRUB Installation

    29/30

    Enter 1 to get in torun level 1.

    GRUB installation

  • 8/14/2019 GRUB Installation

    30/30

    Press b to boot.

    GRUB installation