Monday, June 23, 2014

How to access windows host shared folders from ubuntu guest in Virtualbox

From http://www.ubuntugeek.com/how-to-access-windows-host-shared-folders-from-ubuntu-guest-in-virtualbox.html


This tutorial will explain How to access windows host shared folders from ubuntu guest in Virtualbox.
Procedure to follow

Step 1 : Install Guest Additions
You can install Guest Additions from From the VirtualBox's menu Devices ? Install Guest Additions...
This will mount a virtual CD on your /media/cdrom.Now open terminal (Applications menu -> Accessories -> Terminal) and run the following command
sudo sh VBoxLinuxAdditions-x86.run
After completing installation you need to restart your virtualbox guest machine
Step2: Define Share folders
From the VirtualBox's menu go to Devices ? Shared Folders
A dialog will show up as below. In this dialog you can specify which folder from your Windows system you want to share with your Ubuntu system.Press the button with the + symbol to add a new shared folder in the list.
You will have to specify a Folder Name for each folder you add.You need to note down this folder name click ok
Step 3: Mount windows folders in ubuntu
First you need to create mount point using the following command from your terminal (Applications menu -> Accessories -> Terminal)
sudo mkdir/media/windows
Note :- Folder name windows can be changes to anything
Mount you shared folder using the following comamnd
sudo mount -t vboxsf Shared /media/windows
Note:- Shared folder is our windows folder
Step 4: Make it automatically mount every time you reboot
If you want to make it automatically mount every time you reboot edit /etc/init.d/rc.local file
gksudo gedit /etc/init.d/rc.local
add the following line
sudo mount -t vboxsf Shared /media/windows
Save and exit the file
Windows folder Browser in Ubuntu

How to Resize VirtualBox Hard Disk (Ubuntu guest OS)

Very useful tutorial on resizing the HD of a virtualbox hard-drive for an Ubuntu Guest OS

------------------------------------------------------------------------------------------------------------

Resize VirtualBox Hard Disk (Ubuntu guest OS)

I was creating a new virtual machine to install the latest Oracle SOA Suite (11.1.1.4) and, during my biased next/next/finish routine, forgot to configure the hard disk size. After installing almost everything, I realised that the VM was running out of space.
Instead of installing everything again, I’ve asked my friend Google to help me. Among a diversity of creative, complex, weird and dodgy ideas I could compile the solution described below (which can also be creative, complex, weird or/and dodgy for you!).
The procedure described below was tested with Oracle VirtualBox 4.0.2 and Ubuntu 10.04, so I’m not sure if it will work with older versions.
Because Ubuntu default installation uses a single partition layout (so you cannot “unmount” the partition to be extended), you will need the Ubuntu Live CD (installation media or image) to do the trick.

Resize VirtualBox hard disk

The following steps describe how to resize VirtualBox hard disk with Ubuntu:
1. Extend the VM hard disk file using VBoxManage.exe
Go to the VM hard disk folder and use the VBoxManage.exe tool to extend the hard disk file. For example:
“C:\Program Files\Oracle\VirtualBox\VBoxManage.exe” modifyhd testvm.vdi –resize 20480
2. Change the VM boot order
Go to the VM settings and set CD/DVD drive as the first device (make sure the CD/DVD drive for this VM is pointing to Ubuntu Live CD).
3. Choose the ‘Try Ubuntu’ and start the GParted tool
4. Remove swap partition (only if you have one)
The Ubuntu install wizard usually creates a swap partition and I couldn’t resize the main partition because the swap partition was in the middle (I am open for suggestions here!).
5. Resize partition
Right click on the partition that you want to extend and choose ‘Resize/Remove’ .
Choose the new size for your hard disk.
In this case I left 3Gb unallocated to be used by the swap partition
6. Create a swap partition
Create a extended partition with all the remaining space
Now create a logical partition and set ‘linux-swap’ as the file system.
Don’t forget to enable your swap partition by updating/adding the following line to the /etc/fstab file with the correct partition position. For example, if your swap partition position is /def/hda8:
/dev/hda8       none            swap    sw              0       0

Wednesday, June 4, 2014

OPENSOURCE HOW TO: Flash your ecu useing opensource software

FIRST OF ALL READ PSINUSE'S STICKY to make sure that opensource is what you want and know the issues of doing it wrong
also read these 
Rom Raider FAQ - RomRaider - Open Source ECU Tools | Documentation / Rom Raider FAQ
Tuning FAQ - RomRaider - Open Source ECU Tools | Documentation / Tuning FAQ
Scoobypedia | Trusted knowledge for everything Subaru | Knowledge / ECU
How Subaru’s Factory Boost Control System Works - COBB Forums



needed equipment/ tools:
laptop (with full charge)
tactrix cable (for your make and model)
Ecuflash software (Open Source ECU ROMS)
Enginuity software(RomRaider - Open Source ECU Tools | RomRaider / Rom Raider)
[before doing any of the following steps turn your key forward but not on make sure your battery is charged ( if you have a turbo timer shut it OFF)

step 1: connect your tactrix cable to your laptops usb port
step 2: connect your tactrix cable to your diagnostic port 
step 3: connect green wires this puts your car in diagnostic mode( you will hear your fans cycle) they are under the dash closest to the drivers door
step 4: open ecuflash 
step 5: read your ecu's stock map and save it to a SD card,flash drive, or to your pc
step 6: open your desired map
step 7: test write to ecu to make sure of connectivity or errors 
step 8: then if everything is ok write(flash) the desired map to your cars ecu 
step 9: read your ecu again and compare your map to the map you flashed(you can use enginuity for this step if desired)
step 10: disconnect the green wires 
step 11: start your car and take it for a ride to make sure it runs properly( no sputtering or knock) obvious signs it is not running correctly
step 12: log your car using enginuity
LOG THE FOLLOWING 

Air/Fuel Correction #1 (%) 
AF Learning #1 (Current)* (%) 
Coolant Temperature (F) 
Engine Load* (g/rev) 
Engine Speed (rpm) 
Feedback Knock Correction* (degrees) 
Fine Learning Knock Correction* (degrees) 
IAM* (multiplier) 
Ignition Timing (degrees) 
Injector Duty Cycle (%) 
Intake Air Temperature (F) 
Manifold Rel. Pressure (Corrected) (psi) 
Mass Air Flow (g/s) 
Throttle Opening Angle (%) 
Vehicle Speed (mph) 

ENJOY THE NEW POWER AND USE IT SAFELY 








pre 06 should be the same just add a flash block, i hope everyone likes the write up if anyone has something else to add let me know

MIKE
TUNED BY 555 MOTORSPORTS
visit me @ www.myspace.com/subienews