Boot open Solaris without happy face / Graphical boot

Technical No Comments »

I was setting up open solaris virtual machine using virtualbox but the machine hung at the boot screen, a lot of search from internet finally revealed following facts.

Graphical Boot Screen in OpenSolaris is known as HAPPY FACE.

unlike Linux boot entries in Open Solaris we have 4 line to change

you will find 3 lines listed as

splashimage /boot/solaris.xpm
foreground d25f00
background 115d93

You need to delete these lines, this can be done by first pressing “e” on boot menu and then pressing d keeping cursor on the line to be deleted.

next we need to edit line starting with “kernel$” and remove the following portion.

,console=graphics

This will let you boot Open Solaris in console mode and can in turn let you find errors occurring.

Note : this same feature could be implemented as a second entry in Grub. detailed post on Grub will come as soon as i get time from my busy schedule for penning it down.

JQuery facebox + flash using swfobject.js

Technical, development 1 Comment »

Busy like hell these days with a inhouse project for my firm.

working on HTML / CSS as well as graphing / charting for the project.

the toolset i am using

  1. Open Flash Chart
  2. FaceBox
  3. Jquery
  4. Jsp
  5. MySql

A simple tip i am writing as i was experimenting with Facebox, Open Flash Chart, and a large array of javascript in one page.

and i found one error.

while the default samples provided at open flash chart website work fatastically when working alone but have a piculiar to flash problem while working with jquery specially facebox.

when a facebox method is called it goes in the backround while the flash remains in the foreground. no matter what z-index game you try but flash always remain on top of facebox.

A bit of googling yielded http://joelg.info/problem-with-flash-appearing-on-top-of-facebo

but this talked about adding a parameter in flash embed object code in HTML

but while working on advance javascript only method of open flash chart i was using just swfobject code and hence to obtain above requested feature we need

X.addParam(“wmode”, “transparent”);

to be added in the function calling. where X is the SWFobject.

Hope this helps someone else finding solution a bit easily.

Note : tested on Firefox 3.5 and IE 6.0

Input Validation Shell Script

Technical, development 3 Comments »

I am Back but this time for some code sharing…..

I have been working on Unix Shell scripts for standalone work and came across the need for various types of input validation.

The basic need of Input validation comes when we have some other program’s depending on the input and those programs being sensitive to type of data  being send to them.

Read the rest of this entry »

Blog Hosted on Wordpress & WP Theme & Icons by N.Design Studio. Modified by Anant Shrivastava
Entries RSS Comments RSS Log in