Question: I have to install redhat without a direct access to the internet.
I have now installed Redhat 5.4 and would like to upgrade to 5.6.
I have copied the content of the iso image to $INSTALLDIR - how do I update now. How can I register the server when I have a valid licence number?
I have seen this question[question](https://serverfault.com/questions/218472/update-rhel-servers-without-internet-connection), but it does not answer the registeration part / I tried rhn\_register, but it requires an Internet connection.

Answer: 
Ok I found solution myself via shlug mail list.

what you do is to modify the /etc/grub.d/00\_header and find:

```
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=3
fi

```

change timeout = -1 to 0.

-1 means manual selection.

also remember to `update-grub` afterward, to generate the actual grub.cfg
Add

> 
> GRUB\_RECORDFAIL\_TIMEOUT=0
> 
> 
> 

to /etc/default/grub
and that is solved my problem on Ubuntu Server 12.04.4

Grub uses `GRUB_RECORDFAIL_TIMEOUT` as the timeout when last boot failed. Its value defaults to -1, which means wait forever.