Installing Debian

From Android Wiki

(Difference between revisions)
Jump to: navigation, searcha
m (fhtagn)
(Undo revision 1062 by Try OP9 (Talk))
Line 1: Line 1:
-
fhtagn
+
This is a guide on how to install Debian onto the microSD card on your G1, it DOES NOT replace the default Linux operating system.
 +
 
 +
==Getting Ready==
 +
#You'll need to root your phone, instructions on [[Rooting_Android]] are there.
 +
#There is an automatic installer package available [http://www.androidfanatic.com/cms/unofficial-app-repo.html?func=fileinfo&id=21 here]. Download it and move it to your microSD card.
 +
#Unzip the installer package, move the entire Debian folder to the root of your SD card. If it isn't this location, it won't work. (It should be /debian)
 +
#Go to the Android Market and download the application called "Terminal Emulator" (if you haven't already), open it after it installs.
 +
#Enter the following commands, hitting enter/return after each line. Authorize the program in SuperUserWhitelist if it asks you.
 +
<!-- <pre>cd /sdcard/debian
 +
su</code>
 +
chmod 4755 *</pre>-->
 +
<!-- cscorley: confusing? -->
 +
<pre>cd /sdcard/debian
 +
su
 +
chmod 4755 *</pre>
 +
#Then type ''installer.sh'' and the installer should run!
 +
 
 +
==Troubleshooting==
 +
If chmod 4755 * gives you an error stating that you do not have permissions, close Terminal Emulator and run su again, this time when SuperUserWhitelist asks for if you should give Terminal Emulator super user permissions hit yes instead of always.
 +
 
 +
If running installer.sh tells you that installer.sh could not be found, type su, followed by sh installer.sh.

Revision as of 01:46, 2 August 2009

This is a guide on how to install Debian onto the microSD card on your G1, it DOES NOT replace the default Linux operating system.

Getting Ready

  1. You'll need to root your phone, instructions on Rooting_Android are there.
  2. There is an automatic installer package available here. Download it and move it to your microSD card.
  3. Unzip the installer package, move the entire Debian folder to the root of your SD card. If it isn't this location, it won't work. (It should be /debian)
  4. Go to the Android Market and download the application called "Terminal Emulator" (if you haven't already), open it after it installs.
  5. Enter the following commands, hitting enter/return after each line. Authorize the program in SuperUserWhitelist if it asks you.
cd /sdcard/debian
su
chmod 4755 *
  1. Then type installer.sh and the installer should run!

Troubleshooting

If chmod 4755 * gives you an error stating that you do not have permissions, close Terminal Emulator and run su again, this time when SuperUserWhitelist asks for if you should give Terminal Emulator super user permissions hit yes instead of always.

If running installer.sh tells you that installer.sh could not be found, type su, followed by sh installer.sh.

Personal tools