the boot flash device on the cisco 3631 router is a 1 mb, fixed flash device that is not field-replaceable. the rom image can be upgraded by downloading new software. the first image in rom is read-only and cannot be erased and the upgrade image is a read-write image that is stored in rom flash as the second image. you can configure the router to boot from either image.
in order to upgrade the rom on the cisco 3631, you will need to have a rom image file available to copy from a remote server or internal flash memory. perform this procedure to upgrade the cisco 3631 rom from a tftp server:
step 1 copy the rom image from the tftp server:

step 2 reboot the router using the new rom image:
router # reload
this command will reload the router. continue? [yes/no]: y
step 3 verify the rom version:

step 4 select the rom image for next reboot: