Friday, February 18, 2011

How to use ISO image on SPLAT instead of a CD for upgrade

In some cases it is easier to use ISO image file instead of an actual CD to upgrade SPLAT device. There are several reasons for that: no physical access to your server, upgrading SMART-1 or any other appliance where CDROM is not installed, etc.

Remember, you only need a CD for major upgrade, such as going from R65 to R70.

Let's see how it is done.

First, check if you have enough space on the hard drive. Use  df -h command to see where you have enough space. Mind some extra for upgrade operations.

Then create a folder to put ISO file. The best place is  /var partition. Run the  mkdir /var/temp/"your ISO folder". Transfer your CD image there.

Now it is time to mount it. Run  mount -t iso9660 -o loop /var/temp/"your ISO folder"/"your ISO file".iso /mnt/cdrom.

Check it is mounted OK with   ls /mnt/cdrom.

Now you can run   patch add cd and do the upgrade. Good luck.

Just one last note. You may not want to use snapshot during the upgrade procedure. If you absolutely need to make a snapshot, do it before transferring ISO and mounting it. Do not forget to save it on an external server.

11 comments:

  1. Do not forget to "cd" to /mnt/cdrom before starting "patch add cd", as this is necessary in some cases...

    ReplyDelete
  2. Hi Toms! Can you name one case where it is necessary? Thanks

    ReplyDelete
  3. http://www.fir3net.com/Firewalls/Checkpoint/checkpoint-upgrade-to-r70-status1-patch-installation-failed.html

    regards
    Thomas

    ReplyDelete
    Replies
    1. I encountered this exact problem last week when upgrading from R65 to R75.

      Delete
  4. Thanks Toms, I see your point now.

    Frankly, I have never experienced that. I also fail to find any reference to such error in Check Point SecureKnowledge database.

    It works flawlessly with R71 upgrade, I am finishing one as wee speak.

    Please kindly let me know if I miss something important.

    Cheers

    ReplyDelete
  5. Hi Valeri

    full ack, since i had upgrades with "patch add cd" i only once had such an error... so this is only a suggestion not an official CP statement :-)

    paka
    Thomas

    ReplyDelete
  6. scnr: :-) SK54240
    https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk54240

    ReplyDelete
  7. Thanks for this. It's really saved me a lot of hassle right now.

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. Great! It helps me a lot, thank you!

    But also I have to "cd" to /mnt/cdrom.
    Without doing it I received the following:
    http://oi43.tinypic.com/34g5161.jpg

    ReplyDelete
    Replies
    1. that is because /mnt/cdrom is unmounted during the process and then mounted back. if you are using not a DVD but an ISO file, that obviously fails. however, if you are starting the process from /mnt/cdrom folder, it cannot be unmounted.

      Delete