1. Download the Ubuntu for Galaxy Tab ZIP and extract it on your computer. Copy all the files inside like bootlinux, fsrw, mountonly, ubuntu.img, ubuntu.sh and unionfs to a folder on your SD card named Ubuntu.

2. Open the command prompt, CD to “C:\SDK\tools” where C:\SDK is the folder where the SDK is installed.

Type these commands

adb shell
su
sh ./ubuntu.sh

3. After this, just run this command.

bootlinux

If you get the root@localhost prompt, you have installed Ubuntu on your Galaxy Tab.