Steps to burn a CD/DVD in Solaris

1. Create a temporary directory.
2. Copy the files you want to burn to CD/DVD to this temporary directory.
3. Make an iso image out of it.
4. Mount the iso image (to make sure that it works)
5. Now insert the CD/DVD media in the drive and burn the data onto it.

Example:
1. bash#> mkdir ./temp_dir
2. bash#> cp /my_dir_path/myfiles ./temp_dir
3. bash#> mkisofs -J -R -o /my_dir_path/my_files.iso ./temp_dir
4. bash#> lofiadm -a /my_dir_path/my_files.iso
/dev/lofi/1
bash#> mount -F hsfs /dev/lofi/1 /mnt
5. bash#> cd /usb
bash#> cdrw -i /my_dir_path/my_files.iso
Looking for CD devices…
Initializing device…done.
Preparing to write DVD
Writing track 1…done.
Finalizing (Can take several minutes)…done.

Advertisements
This entry was posted in Solaris/Linux and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s