![]() |
#1 |
Enthusiast
![]() ![]() ![]() Posts: 31
Karma: 246
Join Date: Mar 2011
Device: Kindle 3G
|
Easy debian install with prebuilt image.
Hey guys, ive been working on running a stable debian on the kindle for a bit now and i think im on the point of release.
![]() Ive written a step by step guide on how to install a 500mb debian image onto the kindle, you can view it on my new blog here: http://xkid.biz/wordpress/?p=4 Thanks! Any troubles leave a comment on the blog or here ![]() EDIT: Sound works ![]() EDIT: Alright, so our first problem is terminfo and $TERM with the onscreen terminal. Thinks like irssi wont properly scroll unless these are fixed. EDIT: May 14th: New bootdebian.sh file i suggest you upgrade. Last edited by Xqtftqx; 05-14-2011 at 10:26 AM. |
![]() |
![]() |
![]() |
#2 |
Kindle Dissector
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
|
This is cool, but what's the advantage of this over the linux system built in on the Kindle? You can easily add ARM binaries of programs found in debian.
|
![]() |
![]() |
![]() |
#3 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30
Karma: 16912
Join Date: Mar 2011
Device: kindle oasis 10th gen
|
Quote:
2. Chrooting into dedicated environment means it is impossible to brick the Kindle. |
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2011
Device: none
|
Hi Xqtftqx, which generation of kindle did you experiment? DXG or 3?
|
![]() |
![]() |
![]() |
#5 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,687
Karma: 4368191
Join Date: Jan 2011
Location: Oregon
Device: Kindle3
|
Thank you for doing this, do you have instructions for installing reading software after installing debian?
|
![]() |
![]() |
![]() |
#6 | ||
Enthusiast
![]() ![]() ![]() Posts: 31
Karma: 246
Join Date: Mar 2011
Device: Kindle 3G
|
Quote:
Quote:
Not at the moment, im working on getting tinyx to run. Once that is done, youll be able to run some kind of reading software. |
||
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2010
Device: K3w
|
Got it running, but no internet connection?
Hi, thank you for providing a debian chroot!
I followed your instructions and got it all working, however a simple Code:
apt-get update * edit: Got it working once I figured out I needed to start debian without usbNetwork connection to do it. ![]() Last edited by borghal; 05-13-2011 at 05:41 PM. |
![]() |
![]() |
![]() |
#8 | |
Enthusiast
![]() ![]() ![]() Posts: 31
Karma: 246
Join Date: Mar 2011
Device: Kindle 3G
|
Quote:
![]() EDIT: Just tried mplayer, it works perfectly ![]() Last edited by Xqtftqx; 05-13-2011 at 11:13 PM. |
|
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 10
Karma: 10
Join Date: Mar 2011
Device: Kindle 3
|
Hello.
I tried a similar setup. When running on flash disk, it is recommended to mount the root filesystem with noatime parameter to disable updating the access time whenever a file is accessed: mount -o loop,noatime /mnt/us/debian-armel-750.img /mnt/debian Other than that, you did not mount devpts. I am not sure what difference it makes: mount -t devpts devpts /mnt/debian/dev/pts I wonder how the Debian will wear the flash drive. Flash filesystems have limited number of write cycles. Therefore Kindle mounts most of the file system as read only and creates ramdisks for working file systems. I would strongly recommend this approach with the debian armel on Kindle, but I have no sufficient knowledge of Linux anymore to answer which folders shall be mounted to ramdisks on Debian. BTW, I don't think you can brick your Kindle as long as the root filesystem is mounted read only. Vojtech |
![]() |
![]() |
![]() |
#10 | |
Enthusiast
![]() ![]() ![]() Posts: 31
Karma: 246
Join Date: Mar 2011
Device: Kindle 3G
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2010
Device: K3w
|
I tried playing an mp3 file with mplayer but sound was very choppy. You got it working fine?
Also I have to do so as root, as normal users can't access sound the device. Could you point me to which permissions I must tweak to run sound as user, not root? I'd love to have cmus running. Oh, and one more question (sorry if they seem too n00by): How can I access the kindle file system from within the chroot? Thanks a million for providing debian, I really love having newsbeuter running to have instant access to my newsfeeds ![]() |
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 10
Karma: 10
Join Date: Mar 2011
Device: Kindle 3
|
> Oh, and one more question (sorry if they seem too n00by): How can I access the kindle file system from within the chroot?
You will have to mount the root fs (or some subfolder of it) into the mounted debian subfolder. Vojtech |
![]() |
![]() |
![]() |
#13 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: May 2011
Location: Nicosia, Cyprus
Device: Amazon Kindle 3W
|
alot of thanks for this great tutorial
![]() i noticed that after exiting ./bootdebian.sh it doesn't really unmount /mnt/debian correctly. Code:
[*]Unmounting Rootfs... umount: /mnt/debian: device is busy umount: /mnt/debian: device is busy ![]() Code:
echo "[*]Unmounting Rootfs..." umount /mnt/debian/dev umount /mnt/debian/proc umount /mnt/debian/sys umount /mnt/debian |
![]() |
![]() |
![]() |
#14 | |
Enthusiast
![]() ![]() ![]() Posts: 31
Karma: 246
Join Date: Mar 2011
Device: Kindle 3G
|
Quote:
|
|
![]() |
![]() |
![]() |
#15 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 59
Karma: 14744
Join Date: Jan 2011
Location: Indianapolis, IN USA
Device: Kindle 3 wifi
|
This is awesome - it is really cool being able to apt-get new software on my Kindle!
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Install in Bubba server (Debian Linux bubba 2.6.32.6) | cc_humbry | Calibre | 5 | 07-24-2010 11:22 AM |
Can't install under Debian Lenny | cbalmforth | Calibre | 2 | 07-01-2010 12:59 PM |
Install Calibre in Debian Lenny? | erdalronahi | Calibre | 8 | 05-16-2010 12:49 AM |
Debian on the Kindle | freezer2k | Kindle Developer's Corner | 20 | 02-08-2010 08:52 PM |
Debian 3.1 Released | Chaos | Lounge | 3 | 06-08-2005 09:01 AM |