Or Continue to Thread: [HOW TO] linux native in sbk2 …
Find Your Device:
9th March 2012, 09:43 AM   |  #3  
jozka.1's Avatar
Senior Member
Thanks Meter: 91
 
214 posts
Join Date:Joined: Apr 2011
More
How To - Step by step

A few notes:
  • pseudo-dualboot over external microsd >> deletes all data on your external microsd card, but doesn't delete files on internal storage
  • pseudo-dualboot with loopmounted image placed in the internal storage >> doesn't delete files on internel storage (internal microsd)
  • how to resize img file (this you don't do in Ubuntu in TF):
    Code:
    dd if=/dev/zero bs=1G count=1 >> ubuntu.img
    e2fsck -f ubuntu.img
    resize2fs ubuntu.img
    bs=1G >> how much large, new size is 3GB
  • mount data from Android in Ubuntu:
    Code:
    mkdir ~/Android/; mount /dev/block/mmcblk0p7 ~/Android/
    after you find data in your home directory in folder Android

I recommend use the last CWM > http://forum.xda-developers.com/show....php?t=1213723 you need option flash package from internal storage

For work all components follow here: http://forum.xda-developers.com/show...postcount=1973 and http://forum.xda-developers.com/show...postcount=2048
You don't must nothing compile only apply change!




Dualboot with loopmounted image placed in the internal storage (I recommend, it is faster and smoother than sdcard version)

1. download http://lilstevie.geek.nz/ports/ubuntu.img.gz and extract ubuntu.img from .gz package to internal storage on /sdcard/
(second mirror > http://www.ulozto.net/xyFaPBA/ubuntu-img-gz)

2. download http://www.mediafire.com/?7f5fpatmgmg01ha and place to internal storage on /sdcard/

3. download from http://www.mediafire.com/?labcx60jowrdx one package for back to Android(by the ROM you use) and place to internal storage on /sdcard/ *

4. reboot into CWM recovery and flash the package Ubuntu.zip from 2. point

5. reboot and you booting to Ubuntu

6. you must add to /lib/modules/ this > http://www.2shared.com/file/843Sq6-J/3110tar.html

Code:
mkdir 3.1.10; tar -xzf 3.1.10.tar.gz -C 3.1.10; sudo cp -r 3.1.10 /lib/modules/
7. reboot and enjoy

When you want back to Android so reboot into recovery and flash your package from 3. point.


Dualboot over external mirco sd:

- your microsd card must have capacity more than 2GB (4GB is optimal)

1. download http://lilstevie.geek.nz/ports/ubuntu.img.gz and extract ubuntu.img from .gz package to internal storage on /sdcard/

2. open terminal emulator or run adb shell from your PC and enter the command:
Code:
dd if=/sdcard/ubuntu.img of=/dev/block/mmcblk1p1
(mmcblk1p1 is external microsd card)

- wait a few minutes
- after succesful finished you can delete ubuntu.img
- you don't see files in microsd card, but this is normal

3. download http://dl.dropbox.com/u/60048492/tra...ntu-sdcard.zip and place to internal storage on /sdcard/

4. download from http://www.mediafire.com/?labcx60jowrdx one package for back to Android(by the ROM you use) and place to internal storage on /sdcard/ *

5. reboot into CWM recovery and flash the package Ubuntu-sdcard.zip from 3. point

6. reboot and you booting to Ubuntu

7. you must add to /lib/modules/ this > http://www.2shared.com/file/843Sq6-J/3110tar.html

Code:
mkdir 3.1.10; tar -xzf 3.1.10.tar.gz -C 3.1.10; sudo cp -r 3.1.10 /lib/modules/
8. reboot and enjoy


When you want back to Android so reboot into recovery and flash your package from 4. point.

* when you can't find the package for your ROM or latest version so extract blob file from your ROM package .zip, rename to kernelblob and replace in Android-xxx.zip package

Original post:
Very thanks!

A few questions:
Last edited by jozka.1; 6th June 2012 at 02:53 PM.
The Following 7 Users Say Thank You to jozka.1 For This Useful Post: [ View ]