Month: July 2013
NFS drive not being mounted at boot
It creates a directory /var/run/network/mountnfs – if the dir exists before the script starts it will cause trouble, so you need to get rid of it.
install the same debian packages on another system
sudo dpkg --get-selections > /tmp/dpkglist.txt
sudo dpkg --set-selections < /tmp/dpkglist.txt sudo apt-get -y update sudo apt-get dselect-upgrade
Also see this question for additional options and info: http://serverfault.com/questions/737/ubuntu-how-to-setup-a-new-machine-like-an-existing-one
PS3 Lego Batman 2 Cheat Codes
Enter one of the following codes at the computer in the Batcave or in Arkham Asylum at the hacked computer to unlock the corresponding cheat option, vehicle, or character. Note: Unlocked characters are only available in Free Play mode.
|Always Score Multiplier||9LRGNB|
|Area Effect (Sonic suit)||TL3EKT|
|Armor Plating (Demolition suit)||N8JZEK|
|Bats (Sonic suit)||XFP4E2|
|Decoy (Technology suit)||TQ09K3|
|Extra Toggle (extra Free mode characters)||EWAW7W|
|Fast Batarangs (all suits)||JRBDCB|
|Fast Grapple (all suits)||RM4PR8|
|Fast Walk (Magnet suit)||ZOLM6N|
|Faster Pieces (Attract suit)||EVG26J|
|Flaming Batarangs (Heat protection suit)||D8NYWH|
|Freeze Batarang (Water suit)||XPN4NG|
|Immune to Freeze||JXUDY6|
|More Batarang Targets||XWP645|
|More Detonators (Demolition suit)||TNTN6B|
|Piece Detector (Attract suit)||KHJ544|
|Power Brick Detector||MMN786|
|Score x2 Multiplier||N4NR3E|
|Score x4 Multiplier||CX9MAT|
|Score x6 Multiplier||MLVNF2|
|Score x8 Multiplier||WCCDB9|
|Score x10 Multiplier||18HW07|
|Slam (Glide suit)||BBD7BY|
|Bruce Wayne’s private jet||LEA664|
|Harley Quinn’s Hammer Truck||RDT637|
|The Joker’s van||JUK657|
|Mad Hatter’s Glider||HS000W|
|Mad Hatter’s Steamboat||M4DM4N|
|Mr. Freeze’s Iceberg||ICYICE|
|Mr. Freeze’s Kart||BCT229|
|Penguin Goon Submarine||BTN248|
|Two-Face’s armored truck||EFE933|
|The Joker (tropical)||CCB199|
|Poison Ivy Goon||GTB899|
Getting “True Hero” and “True Villain” ranks
Collect coins in a level to completely fill the “True Hero” or “True Villain” bar to get the corresponding rank for that level.
Arkham bonus level
Get a “True Villain” rank on all levels in the Villain storyline. To reach the mission, go to right of the Batcomputer. Go down the ramp, and pull the lever to get to the villains. Go through the door on the right, and look in the corner to reach the memorabilia room. Climb the ladder at the top to access the Arkham level.
Wayne Manor bonus level
Get a “True Hero” rank on all levels in the Hero storyline. To reach the mission, go to where the vehicles are in the Batcave. Go to the far right, then down to the bottom. Step on the elevator to go to the memorabilia room. The Wayne Manor mission is in upper left corner.
Successfully Successfully complete the the indicated task to unlock the corresponding vehicle:
- Killer Croc’s Swamp Rider: Successfully complete the “Harboring A Grudge” level.Scarecrow’s Bi-Plane: Successfully complete the “Biplane Blast” level.The Joker’s Helicopter: Successfully complete the “Biplane Blast” level.The Penguin’s Sub: Successfully complete the “Harboring A Grudge” level.
- Bonus characters
Successfully Successfully complete the the indicated task to unlock the corresponding character:
- Alfred Pennyworth: Successfully complete “The Riddler’s Revenge” level.Bane: Successfully complete the “Rockin’ The Docks” level.Barbara Gordon (Batgirl): Successfully complete “The Riddler’s Revenge” level.Catwoman: Successfully complete the “Stealing The Show” level.Clayface: Successfully complete “The Riddler Makes A Withdrawl” level.Commissioner James Gordon: Successfully complete “The Riddler’s Revenge” level.Dick Grayson (Nightwing): Successfully complete “The Riddler’s Revenge” level.Dr. Victor Fries (Mr. Freeze): Successfully complete the “On The Rocks” level.Harley Quinn: Successfully complete the “A Surprise For The Commissioner” level.Hush: Rescue all 25 hostages.Man-Bat: Purchasable after successfully completing the “Zoo’s Company” level.Penguin: Successfully complete the “Rockin’ The Docks” level.Poison Ivy: Successfully complete the “Green Fingers” level.Ras Al Ghul: Get a 100% game completion by assembling all mini-kits.
- You must first spend 4 billion studs to unlock the last data item after buying all other data items.The Joker: Successfully complete the “A Surprise For The Commissioner” level.The Riddler: Successfully complete “The Riddler Makes A Withdrawl” level.Two-Face: Successfully complete the “An Enterprising Theft” level.
Successfully complete a level with The Joker. You should then have him in the prison. Go to the experiment room at the prison. Start zapping the Joker Henchmen that keep walking into the room. Zap the villain that follows you every so often. Every time you zap the villain that follows you, the Henchmen will give an increasing number of Studs after they are zapped and killed.
- Power Brick locations
Power Bricks can be found at the following locations:
You Can Bank On Batman: The Power Brick is hidden on the left side of the cage that Clayface stands on.
An Icy Reception: In the building behind the catwalk after you find the ice cream on the floor, you must glide to the Power Brick from where you built the grappling grab spot. You will also need to do it in Free Play mode because you need someone who has super strength such as Clayface or Mr. Freeze.
Two-Face Chase: The Power Brick is hidden in the final stage of the level where you fight Two-Face. It is in the top left corner of the park on the left, behind some explosive barrels.
Riddler Makes A Withdrawal: Build a car out of the pieces of the neon light on the side of one of the buildings after you come out of the elevator. Take the car to the area where you build the wrecking ball. In the top right corner is a car compacter. Roll the car in there, then mind control the person to pull the second lever. Note: This must be done in Free Play mode.
On The Rocks: In the first room after you go inside, freeze all of the ice cream floats, and go across them. Do not mind control the person and raise the level. At the end of the floats is an iron gate. Blow it open, and go inside. Go up the ladder and down to where the hanging bars are located. Break the crates, build the switch, cross the bridge, and complete the glass sculpture. Note: This must be done in Free Play mode.
Green Fingers: In the room where you first use your power to grow plants, there is a ledge above the big plant thing. There are iron bars blocking the left passage of this ledge. Blow it open, and use Robin in the Attract suit to build a truck with a cake in the back. Bake the cake, and the Power Brick will appear. Note: This must be done in Free Play mode.
Add a second hard disk to linux
In this tutorial we will add a second hard drive to our machine running Debian linux.
If you have just added a virtual disk, make sure you restart the virtual machine before mounting the new disk.
First we’ll have to find out what the device name is for this disk
This will give you output similar to this:
Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 2517 20217771 83 Linux /dev/sda2 2518 2610 747022+ 5 Extended /dev/sda5 2518 2610 746991 82 Linux swap / Solaris Disk /dev/sdb: 32.2 GB, 32212254720 bytes 255 heads, 63 sectors/track, 3916 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/sdb doesn't contain a valid partition table
Next we’ll partion the new disk using the following command:
New -> Primary -> Specify size in MB Write Quit
Format the new disk using the ext3 filessystem
Mounting the drive to a new folder
mkdir /disk2 mount -t ext3 /dev/sdb1 /disk2
You can name the folder whatever your want and place it in subfolders of another drive, for example /var/disk2
Add the new drive to fstab so that it will automatically mount when we reboot the machine. Add the following line to your fstab file (pico /etc/fstab)
/dev/sdb1 /disk2 ext3 defaults,errors=remount-ro 0 1
Now your new hard disk is mounted.