To mount a CD or DVD in an LPAR, first you need to use the media library to assign one of the CDs in the library to the LPAR. For example, using the ivm inteface:
- Click on the lpar name in the “View/Modify Partitions” section
- Select the optical devices tab
- Create a virtual optical device if there isn’t one yet
- Click modify under current media
- Select the CD or DVD from the library
- Click OK
Then, you need to mount the media inside the AIX or Linux partition:
- Create the
/mnt/cdromdirectory if it doens’t exist yet:mkdir /mnt/cdrom - Mount the media device:
mount -v cdrfs -r /dev/cd0 /mnt/cdrom(on Linux the mount command is slightly different)
Note: on AIX you can edit the file “/etc/cdromd.conf” and add the line “device cd0 /mnt/cdrom” to have the CD or DVD mounted automatically.