Showing posts with label RHEL. Show all posts
Showing posts with label RHEL. Show all posts

Wednesday, August 11, 2010

How to Reset GRUB Password in Linux

Here are the steps of changing / rest grub password even after loading the OS

(1) # grub
 grub> passwd: **********
 grub> Encripted: $1$CxcdNVbcfsgUEFd0

Now copy the password-hash ie Encrypted value

(2) Edit grub.conf file and paste the password-hash

# vi /etc/grub.conf

passwd --md5 $1$CxcdNVbcfsgUEFd0

(3) Now save the file and restart the system.

Tuesday, August 10, 2010

How To Install RHEL on SATA HDD

During the installation of Linux (RHEL) on a SATA HDD, it can give PCI Probing Error and/or disk error.

Two changes must be done before loading the RHEL on a SATA disk.

(1) In BIOS:

In advance option change SATA as IDE

(2) Insert CD-1 and type the following line on boot: prompt-

boot: linux pci=nommconf
or
boot: linux all-generic-ide noapic nolapic
or
boot: linux all-generic-ide
or
boot: linux nommconf all-generic-ide
or
boot: apm=off acpi=off

Now you can load RHEL-5 on your SATA HDD.