Tagged: arch linux

Arch Linux & Crypt Root FS

The Problem

My last install of arch did not include the cryptsetup tool in the initrd.img

Links

  • Kernel Boot Parameters
    • dm-crypt
    • arch linux bbs post
      • linux /vmlinuz26 root=/dev/mapper/your-encrypted-device cryptdevice=/dev/sdaX:your-encrypted-device
    • linuxmint forum
      • cd /dev; MAKEDEV generic (outside of chroot)
      • echo ‘CRYPTOPTS=target=sda5_crypt,source=/dev/sda5’ > /etc/initramfs-tools/conf.d/cryptroot
      • (sda5 is my encrypted volume)
      • cp /usr/share/initramfs-tools/hooks/cryptroot /etc/initramfs-tools/hooks/cryptroot
      • cp /usr/share/initramfs-tools/scripts/local-top/cryptroot /etc/initramfs-tools/scripts/local-top/cryptroot
      • update-grub
      • update-initramfs -u (of course)
  • Backup the Crypt Header

Advertisements

Raspberri Pi Installation

My Raspberri Pi arrived yesterday.

Links

Linux System Instructions to Create Boot SD Card

http://elinux.org/RPi_Easy_SD_Card_Setup

  1. Download the zip file containing the image from a mirror or torrent at http://www.raspberrypi.org/downloads
  2. Verify the zip file using SHA-1
    • Filename:

      2013-02-09-wheezy-raspbian.zip.sha1

    • SHA-1:

      b4375dc9d140e6e48e0406f96dead3601fac6c81

    $ sha1sum -c 2013-02-09-wheezy-raspbian.zip.sha1

    2013-02-09-wheezy-raspbian.zip: OK

  3. unzip
  4. determine SD card device name
    • mine is /dev/mmcblk0p1
  5. dd the image to the SD Card – change mmcblk0p1 !!!

    dd bs=4M if=2013-02-09-wheezy-raspbian.zip.sha1 of=/dev/mmcblk0p1

    • check progress:
      • find pid

        ps aux | grep dd

        • my pid is 4149

          $ kill -USR1 4149

          77+0 records in 77+0 records out 322961408 bytes (323 MB) copied, 45.8116 s, 7.0 MB/s

  6. Optional check what’s written to the SD card by dd-ing back to HD and comparing
  7. sync &
  8. umount SD card and insert in Raspberry Pi

Arch Linux on Android & ARM

Arch Linux for ARM

Demonstrations

Howto Articles

  • Port Arch ARM to Nokia 900
  • Install Arch on Any Android Phone/Tablets via Chroot Mode
  • Installing Arch Linux in your Android phone (chroot)
  • Linux-on-android (sourceforge)
  • Installing ArchLinux on Android (thread)
    • link
    • Links on this thread:
      • Arch Linux LXDE /w Xorg Mouse Keyboard on Nook Color Android Tablet
      • Welcome Back GNU! My Revenge on Android
  • Arch Linux on a $66 WM8650 netbook (not android, but low cost ARM netbook)