How Do I Write to a CD in Solaris?
- 1). Open a terminal window or log into a terminal session.
- 2). Type the command "mkdir burn_dir" to create a directory to hold the files that you want on the CD. Replace "burn_dir" with the name you want to give your directory.
- 3). Type the command "cp file1 file2 file3 burn_dir/" to copy the files that you want on the CD to the newly created directory. Replace "file1," "file2" and "file3" with the names of the files you want to copy. You can add as many files or directories as you need as long as the total size does not exceed the size of the CD.
- 4). Type the command "mkisofs -J -R -o cd_name.iso ./burn_dir" to create an ISO image of the "burn_dir" directory. Replace "cd_name.iso" with the name you want to give your ISO image. Replace "burn_dir" with the name of the directory from Step 2.
- 1). Type the command "lofiadm -a cd_name.iso" to export the ISO image as a block device. Replace "cd_name.iso" with the name of your ISO image. You will get output that looks like "/dev/lofi/1" on the screen.
- 2). Type the command "mount -F hsfs /dev/lofi/1 /mnt" to mount (access) the ISO image.
- 3). Type the command "cd /mnt" to change to the "/mnt" directory.
- 4). Type the command "ls -la" to check that all your files are there.
- 5). Type the command "cd ~" to go back to your home directory.
- 6). Type the command "umount /mnt" to unmount the ISO image.
- 1). Insert a blank, recordable CD into the computer's CD burner.
- 2). Type the command "cdrw -i cd_name.iso" to write the ISO image to the CD.
- 3). Type the command "exit" to close the terminal session when the CD is finished burning.
Create the ISO image
Check the ISO image
Burn the CD
Source...