![]() |
#1 |
Human Tinkerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3
Karma: 7140
Join Date: Dec 2015
Device: Kindle PW2
|
![]()
Greetings fellow humans and other lifeforms of the internet.
Recently I have rooted my Kindle Paperwhite 2 thanks to this forum, and made it run Arch Linux with full desktop environment. This video shows details: Linux on Kindle demonstration - YouTube Here is a picture album: Amazon Kindle Paperwhite 2 rooted and made to run linux - Album on Imgur ![]() Last edited by programagor; 05-21-2017 at 08:01 AM. Reason: fixed broken link |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 97
Karma: 28606
Join Date: Feb 2015
Location: India
Device: PW2
|
nice. congrats on the achievement. how did u do it?
|
![]() |
![]() |
![]() |
#3 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Well, I assume he ran a chroot of ArchLinuxARM stored on a loop-mounted image in the userstore.
Then you just start an X server after killing lab126_gui. Or displaying applications on the default DISPLAY. This guy did it too: https://www.mobileread.com/forums/sho...ght=arch+linux But other people have done the same with debian armel. ... Aside from the inherent coolness of running Arch on my Kindle (it is already on this laptop), there isn't much point. Really, I prefer using my Kindle to read books. Last edited by eschwartz; 12-14-2015 at 11:01 PM. Reason: fix link |
![]() |
![]() |
![]() |
#4 |
Human Tinkerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3
Karma: 7140
Join Date: Dec 2015
Device: Kindle PW2
|
I didn't actually kill the lab126 GUI, I started Xephyr to run the new X in a "window" on top of the lab126 GUI. Otherwise all is correct.
The mounting scripts are as follows: xep.sh (started by KUAL): Code:
#!/bin/sh ARCH=/mnt/base-us/extensions/arch bash $ARCH/arch.sh /start-xep.sh Code:
#!/bin/sh ARCH=/mnt/base-us/extensions/arch killall Xephyr bash $ARCH/mount.sh bash $ARCH/mount_aux.sh chroot $ARCH/os/ /bin/bash $@ killall Xephyr bash $ARCH/umount.sh sleep 1 bash $ARCH/umount.sh Code:
#!/bin/sh ARCH=/mnt/base-us/extensions/arch rm /dev/loop/arch #just in case mknod -m0660 /dev/loop/arch b 7 250 losetup -d /dev/loop/arch mount -o loop=/dev/loop/arch,noatime -t ext3 $ARCH/arch.img $ARCH/os/ Code:
#!/bin/sh ARCH=/mnt/base-us/extensions/arch mount -o bind /dev $ARCH/os/dev mount -o bind /proc $ARCH/os/proc mount -o bind / $ARCH/os/host mount /dev/loop/0 $ARCH/os/mnt/us Code:
#!/bin/bash export DISPLAY=:0 Xephyr :1 -title "L:A_N:application_ID:xephyr" -screen 758x987 -cc 4 -nocursor & sleep 1 export DISPLAY=:1 #/etc/X11/xinit/xinitrc.d/30-dbus start & xfwm4 --display=:1 & xfce4-panel & xfdesktop & sleep 8 xvkbd -geometry 758x350+0-350 #/etc/X11/xinit/xinitrc.d/30-dbus stop killall Xephyr Code:
#!/bin/sh ARCH=/mnt/base-us/extensions/arch umount $ARCH/os/mnt/us umount $ARCH/os/host umount $ARCH/os/proc umount $ARCH/os/dev sleep 1 umount -d $ARCH/os/ rm /dev/loop/arch Last edited by programagor; 12-14-2015 at 11:50 PM. |
![]() |
![]() |
![]() |
#5 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Well, Xephyr works too.
![]() EDIT: And I see you found the [CODE][/CODE]* tags. I was about to suggest them. * -- rendered literal through the (now recursive) power of [NOPARSE][/NOPARSE] Last edited by eschwartz; 12-14-2015 at 10:49 PM. |
![]() |
![]() |
![]() |
#6 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
The more ambitious way to do it:
http://wiki.osdev.org/Creating_an_Operating_System |
![]() |
![]() |
![]() |
#7 | |
Human Tinkerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3
Karma: 7140
Join Date: Dec 2015
Device: Kindle PW2
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
![]() |
![]() |
![]() |
Tags |
arch linux, kindle paperwhite 2 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Arch Linux on Paperwhite2 | HisDudeness | Kindle Developer's Corner | 24 | 10-13-2014 01:23 PM |
Can't add plugins (Calibre 8.1 on Arch Linux) | byrnerat101 | Plugins | 17 | 02-21-2012 06:06 AM |
Touch Youtube: NOOK Touch Rooted loaded with some software showcase | tigerszheng | Barnes & Noble NOOK | 6 | 06-17-2011 06:39 AM |
sigil Arch Linux | wetterau | Sigil | 5 | 12-02-2010 12:59 PM |
Installing Calibre in Arch Linux | jatz | Calibre | 0 | 03-23-2010 01:41 PM |