Create Bootable USB from Linux

17 05 2011

Install Livecd-tools and spin-kickstarts using Yum
yum install livecd-tools spin-kickstarts

Make the partition bootable
/sbin/parted /dev/sdb
(parted) toggle N boot
(parted) quit

Run the command from shell
/usr/bin/livecd-iso-to-disk /path/to/live.iso /dev/sdb1





Google Repo for Linux

5 05 2011

Add following to /etc/yum.repos.d/google.repo file:
32-bit

[google]
name=Google – i386
baseurl=http://dl.google.com/linux/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub





Install VNC and Fluxbox

5 04 2011

Reference : http://wiki.centos.org/HowTos/VNC-Server

Install VNC
—————
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum install vnc-server.i386

Create your VNC users.
useradd test
passwd test

Set User’s VNC password
Run vncpasswd

Edit Server Configuration
VNCSERVERS=”2:test”
VNCSERVERARGS[2]=”-geometry 800×600″

Restart VNC Server
/etc/init.d/vncserver stop
/etc/init.d/vncserver start

Create xstartup scripts
Login user “test” and edit xstartup script.
vi .vnc/xstartup

xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” -e ./menu &
amule &
fluxbox &

Install Fluxbox
————–
yum install fluxbox.i386
yum install xorg-x11-xinit.i386





Bootable USB Drive in MAC

3 04 2011

1. Insert your flash drive
2. Open Terminal and run :
diskutil list
3. Note the device node assigned to your flash media
(e.g. /dev/disk1s1)
4. Run :
diskutil unmountDisk /dev/disk1s1
5. Then execute :
sudo dd if=/path/to/downloaded.img of=/dev/disk1s1 bs=1m
6. Finally Run :
diskutil eject /dev/disk1s1
7. Remove your flash drive





Bootable Linux USB drive

15 07 2009

1. Download the version of Linux you wish to install in USB drive

2. Download Unetbooin application from http://downloads.sourceforge.net/sourceforge/unetbootin/unetbootin-windows-357.exe?use_mirror=nchc

3. Open the application Unetbooin

4. Select the second option “Diskimage” and select ISO mode

5. Make sure you have selected the correct location of your USB drive

6. Then click OK

7. When it finish copying, select reboot now and boot from your usb drive





Auto reload in Google Chrome

13 07 2009

Create a bookmark with the following code as the URL

javascript:
timeout=prompt(“Set timeout [s]“);
current=location.href;
if(timeout>0)
setTimeout(‘reload()’,1000*timeout);
else
location.replace(current);
function reload(){
setTimeout(‘reload()’,1000*timeout);
fr4me=’<frameset cols=\’*\’>\n<frame src=\”+current+’\'/>’;
fr4me+=’</frameset>’;
with(document){write(fr4me);void(close())};
}

Click the bookmark with the tab you want to auto-reload active.
Set the time interval (in seconds) or set it to zero to cancel auto-reload.

http://www.google.com/support/forum/p/Chrome/thread?tid=1a37ccbdde5902fd&hl=en









Follow

Get every new post delivered to your Inbox.