![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 130
Karma: 10000
Join Date: Mar 2012
Device: Kindle 3G, Kindle Touch 3G, iRiver Story HD, Sony Reader
|
Just Installed Debian on my K3G - What Can I do Now?
Hi,
I just installed Debian on my K3G - using up 500MB of space. What can I do now with Debian that I was not able to do with just Jailbreak? Thanks, James |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84
Karma: 26720
Join Date: Mar 2011
Device: Kindle 3 WIFI
|
apt-get
|
![]() |
![]() |
![]() |
#3 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
With apt-get, just installing a SMALL portion of the debian repository, I quickly filled up my 2GB image file. You can start with sudo apt-get bsdgames. It even has an ncurses-based tetris, besides the old "teletype" classics trek and adventure (i.e. colossal cave)
![]() You can also add other package repositories to apt-get, and you can use ipkg or opkg to install smaller packages from the optware repositories. I even installed qemu, and ran MS-DOS inside it using ncurses text mode, but there were some issues with eink and white-on-black characters. You needed to change the screen colors in DOS to make it usable. And you can install gcc and the other full build utilities. Whatever you want, basically... ![]() ![]() Last edited by geekmaster; 04-06-2012 at 12:03 AM. |
![]() |
![]() |
![]() |
#4 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 130
Karma: 10000
Join Date: Mar 2012
Device: Kindle 3G, Kindle Touch 3G, iRiver Story HD, Sony Reader
|
Thanks for the tip.
Apparently the Debian I installed does not have sudo. It does not even have ps or vi. Would you please tell me how do I get the additional commands on Debian? Thanks, James |
![]() |
![]() |
![]() |
#5 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 138
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
|
|
![]() |
![]() |
![]() |
#6 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Actually, as long as you SSH into the root account, you do not need sudo. That just executes a command as root. You can leave it off in the kindle...
|
![]() |
![]() |
![]() |
#7 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 130
Karma: 10000
Join Date: Mar 2012
Device: Kindle 3G, Kindle Touch 3G, iRiver Story HD, Sony Reader
|
Hi,
Optware will need another 250MB. Also, the instruction is asking for another partition and seems to be working with kindle OS, not Debian. Is there a package that I can download to get full set of commands (like vi, ps, etc) on the Debian install - and hopefully will not take 250MB? Thanks, James |
![]() |
![]() |
![]() |
#8 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
You can mount diags like this: mount /dev/mmcblk0p2 /mnt/mmc And then use commands in /mnt/mmc/bin ... Busybox commands can be executed with named symlinks to busybox, using the command name as the first parameter, such as: busybox dd if= ... instead of dd if= ...
|
|
![]() |
![]() |
![]() |
#9 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 6494
Join Date: Nov 2012
Device: Kindle 3
|
I have Debian on K3, and once mounted I get the message:
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) and then apt-get install whatever fails with similar messages about the locale. What is this locale business, and how do I resolve it? I wondered if apt-get could be used directly from the Kindle or SSH, or if I was getting muddled because it is an image file that somebody made of Debian.. So I wondered how I can still install with apt-get even though it is a mounted image? I tried such things as: dpkg --configure -a apt-get install dialog locales but that didn't seem to help. Also is the repository I'm using, http://ftp.us.debian.org unstable InRelease ok? It gets so far with packages then reminds me of the locales problem. |
![]() |
![]() |
![]() |
#11 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 6494
Join Date: Nov 2012
Device: Kindle 3
|
goggling google
Didn't help much.
root@kindle:/etc/default# export LC_ALL=en_US bash: warning: setlocale: LC_ALL: cannot change locale (en_US) Editing the contents of etc/locale or etc/environment didn't change anything either... Installations usually result in something like the following: root@kindle:/etc/default# apt-get install libc-bin Spoiler:
sources.list.d in etc/apt is empty, should I add lenny sources.. somehow that doesn't seem like the problem.. |
![]() |
![]() |
![]() |
#12 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
You have more than one problem there.
Give us some background please. You mentioned "mounting the image file" - - Tell us which image file you are using, either a "home brew" or the link to the one you started with. How are you initializing the mounted image file? Are you using a script? A "home brew" one or the link to the one you are using. What machine and OS are you mounting this image file on? PS: Why in the world did you think that libc-bin wasn't installed? |
![]() |
![]() |
![]() |
#13 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Missing locales usually only lead to non-fatal warnings. That's also the case here. As knc1 said, you've got other problems.
#1: /dev/pts isn't mounted (that would be within the chroot). That should probably also be non-fatal. For what you're doing now, that is. You'll need it for other things that actually use virtual terminals. #2: Debian unstable (Sid) is NOT suited for your Kindle (or any Kindle, that is). As the error messages clearly tell, the libc used in newer Debians depends on a more current kernel version. As you're pretty much left with only one choice, which is lab126's shipped kernel, you're left with only older Debian versions. |
![]() |
![]() |
![]() |
#14 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 6494
Join Date: Nov 2012
Device: Kindle 3
|
deb
Is there a working pre-built image somewhere? I assume Debian has to be 2.6.26 or earlier then, so Debian "potato"?
|
![]() |
![]() |
![]() |
#15 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
But read the entire thread. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OK to subscribe to special offers if K3G is jailbroken? | andrew121 | Kindle Developer's Corner | 2 | 03-27-2012 06:47 PM |
Hello k3g uk/calibre | johnbeck | Introduce Yourself | 5 | 06-05-2011 06:34 AM |
Need help on usbNetwork for K3G | everyday_kindle | Kindle Developer's Corner | 2 | 05-06-2011 09:00 AM |
Troubleshooting 3 charges in 4 weeks on K3G, did I get a dud? | tgnd | Amazon Kindle | 9 | 02-25-2011 06:05 AM |
K3g help | kmo101355 | Kindle Developer's Corner | 12 | 02-11-2011 10:18 AM |