View Single Post
Old 07-23-2014, 11:06 AM   #3
HisDudeness
Junior Member
HisDudeness began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2014
Device: Kindle PW2
sure!
here we go:

Code:
# To get ArchARM running on your Paperwhite2, do the following:

# SSH into your Kindle, then:

mkdir /mnt/us/archlinux             # create a directory of your choice
cd /mnt/us/archlinux
mkdir os 			
dd if=/dev/zero of=arch.img seek=750000000 bs=1 count=1 	# create image container
mke2fs -F -t ext3 arch.img	        # create ext3 filesystem of image
mknod /dev/loop7 b 7 7		# create loop device
losetup /dev/loop7 arch.img	# set loop device to image
mount -t ext3 /dev/loop7 os/	# mount it
			

# download the latest ArchARM v7 into your os directory
# either with wget:
wget http://os.archlinuxarm.org/os/ArchLinuxARM-armv7-latest.tar.gz

# or over ssh with scp:
scp ~/Downloads/ArchLinuxARM-armv7-latest.tar.gz root@192.168.2.2:/mnt/us/archlinux/os/ArchLinuxARM-armv7-latest.tar.gz

# extract the tar and then remove it
tar xzf ArchLinuxARM-armv7-latest.tar.gz
rm ArchLinuxARM-armv7-latest.tar.gz

#mount some directories for arch:
mount -o bind /dev/ /mnt/us/archlinux/os/dev
mount -t proc proc proc/
mount --rbind /sys sys/
mount --rbind /dev dev/

# copy the DNS settings
cp /etc/resolv.conf etc/resolv.conf

# and chroot into arch:
chroot /mnt/us/archlinux/os /bin/bash

#now try to run 
pacman -Syu

#and if it starts updating, everything is fine =)
you could now get some xapps like xclock or xeyes and display it:
Code:
xclock -geometry 300x300+150+250 -name "L:D_N:application_ID:xclock"
Thats where I am atm.

@knc1:
Thats what I thought...
The problem here is, everytime i stopped the xserver it immediately restarted, leaving me no chance to start mine. :/ I haven't figured out yet the service responsible for that...
HisDudeness is offline   Reply With Quote