Note that on some systems (Ubuntu for example) you will need to enable frame buffer

Do this by editing /etc/modules and add the following rules:

vesafb
fbcon

Then in: /boot/grub/menu.lst add:

vga=769 splash="silent"

to the end of a ‘kernel’ option here change ’769′ to the settings you wish to run at (see below) These are the value’s to choose from:

    | 640x480  800x600  1024x768 1280x1024
----+-------------------------------------
256 |  0x301    0x303    0x305    0x307
32k |  0x310    0x313    0x316    0x319
64k |  0x311    0x314    0x317    0x31A
16M |  0x312    0x315    0x318    0x31B

Or in decimal:

    | 640x480 | 800x600 | 1024x768 | 1280x1024
----+-----------------------------------------
256 |   769       771        773        775
32K |   784       787        790        793
64K |   785       788        791        794
16M |   786       789        792        795

* Note that this is only for vesafb

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

A Quick Using Crontab HowTo

Crontab -e

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

examples

1
2
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.

Page 4 of 4«1234
© 2002 - 2012 TroubleNow.org