linux and iso images

Because some people asked me this question I will drop it here also instead of screaming out GOOOOOOGLEEEEEEE..

Creating a ISO image So you got yourself a nice little CD or DVD and want to make a ISO out of it. Well this is actually really simple just use ‘dd’ to create a iso out of it.

trouble@sun:$ dd if=/dev/hdc of=~/myimage.iso

Isn’t that easy?
Well to explain it a little bit:

1
2
3
dd = The program that converts and copy's file's.
if=/dev/hdc = The Input source.
of=~/myimage.iso = The Output file.

Note that this will not work always (copy protection etc..) but it works in most case’s if you want to create a image out of something..
In case its not working try looking at ‘mkisofs’..
Mount a ISO image
First create the directory where to mount the iso, then you make sure the loop module is mounted and then you can mount the image.

trouble@sun:$ sudo mkdir /media/iso
trouble@sun:$ sudo modprobe loop
trouble@sun:$ sudo mount file.iso /media/iso/ -t iso9660 -o loop
0

a quick crontab howto

A Quick Using Crontab HowTo

Crontab -e

* * * * * <command></command> | | | | | | | | | +----- Day of week(0-6, 0 = Sun) | | | +------- Month (1-12) | | +--------- Day of month (1-31) | +----------- Hour (0-23) +------------- Min (0-59)

examples

0 1 * * 1,2,3 /opt/bin/script1.sh
0 1 * * 1-3 /opt/bin/script1.sh

Both options will run the script at 01:00 on Mon, Tue and Wed.

0
Page 15 of 15 «...101112131415