update Redhat with iso image

September 3, 2016

Just a short manual when you want to udpate for example RedHat 6.4 to
Redhat 6.8:

Update redhat 6 with iso image


mount iso on redhat 6 under virtualbox

 mount /dev/sr0 /media

 [root@svbtest media]# cat .discinfo
 Red Hat Enterprise Linux 6.8

 root@svbtest yum.repos.d]# cat 68.repo
> enabled=1
> gpgcheck=1

[root@svbtest yum.repos.d]# yum repolist
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
rhel68-Server                                                                                                          | 4.1 kB     00:00 …
rhel68-Server/primary_db                                                                                  | 3.1 MB     00:00 …
repo id                                                                repo name                                                              status
rhel68-Server                                                   RHEL68-Server                                                    3,855
repolist: 3,855

Now you can issue :

yum update

And after that you can reboot and the system will be on version 6.8.


Comments are closed.

Previous Post
Next Post