08-13-2014, 04:25 AM | #16 |
Addict
Posts: 229
Karma: 136002
Join Date: Apr 2013
Device: PW
|
cool, i'm not surprised i was wrong
so, this will guide will work or not? thanks |
08-13-2014, 06:38 AM | #17 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2014
Device: Kindle PW2
|
It's just a rough approch for chrooting into an ArchARM. There is nothing device specific yet. So I don't see why it shouldn't work
|
10-13-2014, 09:38 AM | #18 |
Enthusiast
Posts: 32
Karma: 10
Join Date: Sep 2014
Device: Kindle 4
|
which one of those would be the correct to use on a kindle 4 ?
* i mean this -> http://os.archlinuxarm.org/os/ *also does pacman work? Last edited by Salah; 10-13-2014 at 09:40 AM. |
10-13-2014, 09:40 AM | #19 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
|
|
10-13-2014, 09:42 AM | #20 | |
Enthusiast
Posts: 32
Karma: 10
Join Date: Sep 2014
Device: Kindle 4
|
Quote:
*my screen is still broken btw *knc1 is there any irc channel where u usually chat?? Last edited by Salah; 10-13-2014 at 09:45 AM. |
|
10-13-2014, 10:44 AM | #21 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Use one of the ARMv5 builds - they will run on any (recent) ARM device. I seem to recall that the K4 uses an ARMv6 processor, but running an ARMv5 build is a more general (safe) solution. Rarely, on the MR irc channel. Too time-invasive for my usual day. |
|
10-13-2014, 11:10 AM | #22 | |
Enthusiast
Posts: 32
Karma: 10
Join Date: Sep 2014
Device: Kindle 4
|
Quote:
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 =) |
|
10-13-2014, 12:07 PM | #23 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
other than the changes to specific things, like archive name and IP addresses - -
that is the build procedure on just about anything. |
10-13-2014, 12:29 PM | #24 | |
Enthusiast
Posts: 32
Karma: 10
Join Date: Sep 2014
Device: Kindle 4
|
Quote:
Code:
[root@kindle archlinux]# dd if=/dev/zero of=arch.img seek=750000000 bs=1 count=1 1+0 records in 1+0 records out [root@kindle archlinux]# ls arch.img os [root@kindle archlinux]# mke2fs -F -t ext3 arch.img mke2fs 1.38 (30-Jun-2005) mke2fs: invalid blocks count - arch.img [root@kindle archlinux]# |
|
10-13-2014, 01:23 PM | #25 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
dd if=/dev/zero of=arch.img seek=750M count=1 #(write one byte at maximum file extent)
sudo losetup -f arch.img #(adapt file to be used as a device, using first free loop device) sudo losetup -a #(find which loop device was assigned, assume here loop0) sudo mke2fs -F -t ext3 /dev/loop0 #(Yes, you can format a sparse file used as loop mounted device) OK - now you can use the file as a file system. sudo losetup -d /dev/loop0 #(detach the file-to-device adaption) sudo mount arch.img /mnt/tmp #(make the sub-directory mount point if required) (The 'missing' steps in the above are provided by your distribution's automation.) Last edited by knc1; 10-13-2014 at 02:17 PM. |
Tags |
arch, archlinux, chroot, paperwhite, pw2 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mobiperl package in the Arch Linux AUR | Synthead | Amazon Kindle | 3 | 07-05-2013 09:14 AM |
Calibre, Arch Linux, and a failure to load nook touch | dataknight | Devices | 3 | 07-22-2012 10:30 PM |
Can't add plugins (Calibre 8.1 on Arch Linux) | byrnerat101 | Plugins | 17 | 02-21-2012 06:06 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 |