You are on page 1of 2

First reboot the server

When it shows redhat enterprises linux ---press a or e


Use up and down arrow to select kernel version ---and press e
-sun16 crashkernel=auto

KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM

rhgb

quiet
Replace rhgb quiet with

init=/bin/bash and then press enter

you will see Bash-3.2# or maintenance 1# shell command prompt


Bash-3.2#mount -o remount,rw /
Bash-3.2#vim /etc/fstab --- edit the fstab file by pressing i .(INSERT)

The file contents must be


# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/

LABEL=/backup

ext3

/backup

LABEL=/boot

/boot

none

/dev/pts

none

/dev/shm

ext3
ext3

defaults

11

defaults

defaults

12

12

devpts gid=5,mode=620 0 0
tmpfs defaults

00

LABEL=/home

/home

ext3

defaults

12

LABEL=/nfsDev

/nfsDev

ext3

defaults

12

LABEL=/oracleapp

/oracleapp

ext3

defaults

12

LABEL=/oracledata

/oracledata

ext3

defaults

12

none

/proc

proc

defaults

00

none

/sys

sysfs defaults

00

LABEL=SWAP-sdb3

swap

swap

defaults

00

Note except these contents remove others unnecessary


lines such as
LABEL=dev/sdb1

by simply add # sign at the beginning of line

e.g. # LABEL=dev/sdb1

after editing press esc first,


then : and write wq!
And press enter

you will get again


Bash-3.2# or maintenance n#
When n = 1,2,3,4,5.
Last step: reboot by pressing CTRL + ALT + DEL button

You might also like