Fdisk in arch linux iso

Hey guys, I've used fdisk on my hdd to create logical partitions. When I used fdisk from arch linux cd about 2 years ago on the same hdd it created logical partitions with 2048 sectors gap before new one. This gap contained extended boot record(same as mbr but for logical partition) and other space for bootloader code.  [sda4 | 2048sectors(EBR for sda5 logical) | sda5]. sda4,5 both logical.
But when I try to create it now using new arch linux iso it does allow me to create it with the  same gap 2048(as minimum), but if i dont specify at which sector to start the partition, it's default value is different than 2048. For one partition it was 2048+1024, the other of different size had 2048+2048, another had 2048+895 sectors(sector size 512b).  I recall in fdisk of 2010 arch linux iso it had first sector set by default at first available(thus leaving only 2048 gap, which is the least possible). [sda4 | 895+2048 | sda5].
So why does it offer leaving more space before the partition? Once I created logical partition with the offered gap of 2048+2048 i could then again create new partition inside that gap, which makes me think any space before 2048 sector gap before logical partition is completely unused and unallocated.
Last edited by Kape (2013-02-07 08:49:18)

dolby wrote:I've been wondering whats gonna happen if AIF is brought back to a good state again. Will we revent back to using it or stick with arch-install-scripts ?
Probably fully depends on the quality of AIF. The current method is very KISS and easy.

Similar Messages

  • Arch linux iso images

    hello community! would like to know if the new arch linux iso images will continue to happen.Thanks!!

    dolby wrote:I've been wondering whats gonna happen if AIF is brought back to a good state again. Will we revent back to using it or stick with arch-install-scripts ?
    Probably fully depends on the quality of AIF. The current method is very KISS and easy.

  • Make bootable arch linux iso of installed system

    I have installed Arch Linux in virtual box, with "Awesome" window manager and only required applications with it.
    I want to make a bootable iso of this system, which i can carry around with me in pendrive and install in other system.Also, can i make a live usb from it?
    Is it possible? If so, please specify the detailed steps. I am a newbie and have been using linux for 2-3 months only. Or, please give the link for the same.
    Thanks

    Thanks for the reply ewaller.
    >Well, not quite.  But, this is a VM.  I assume you want to treat this as an appliance that you can copy to another host that has VirtualBox on it.  All you need to do is copy >the *.vbox file that defines your VM (it is an xml file).  It is about 10 to 20 kbytes in size.  You also need to copy the file that defines the guests "disk".  That is (usually) a *.vdi file. > Those can be tens or hundreds of gigabytes.
    >If you actually ran from the pen drive, you could carry that drive from host to host.  If you make a change in the machine while running on one host, thrn shut doen the >VM, and then move to another host, then those changes will follow you.
    >If you are just looking to copy the VM to many places; after which the various copies can diverge from each other,  you can just export the appliance to a *.ovf or a *.ova file on > one machine, then import that file on the next host.
    In above case, i would only be able to transfer between the virtual machine and that will be restricting.
    I did some research and found following thread which is similar to my problem,
    http://askubuntu.com/questions/119718/h … d-remaster
    but one of the two solution provided here only works on ubuntu(i.e relinux),which was suitable to me and the other one,ie clonezilla to make iso, i haven't tried, but it doesn't do what i want.
    Relink does exactly what i want but doesn't work on arch linux.It is a fork of remastersys which is dicontinued and only worked for ubuntu and its related.
    I also found this http://null-byte.wonderhowto.com/how-to … o-0131002/
    but haven't tried it yet.Also it require to redo all the steps that i have currently done, so i want an alternative.
    I also found a simple way, but it is essentially just backuping and restoring and require base install.
    https://bbs.archlinux.org/viewtopic.php?id=44805
    Atlast, i got this http://systeminstaller.sourceforge.net/   
    but there is no description if it will work with arch linux or not.
    I want something like above mentioned and i have  no further ideas and searched everywhere, if anyone has any ideas, please suggest something.
    Thanks in advance.

  • [SOLVED]New Arch Linux ISO Installation Help.

    Hi All,
    I am trying to install Arch Linux using new ISO. For some reason I am unable to log into Arch Forums on Windows and I am writing this on my tablet. I will add more info (proper quote, etc.) as soon as I am able to log in a laptop browser. That being said I am trying to install Arch using new ISO. Here is what I did.
    Partition using cfdisk /, /home , /swap and /boot.
    Format all these in ext4.
    Create folders in mnt - root, home, swap, boot.
    mount partitions in mnt folders.
    Pacstrap /mnt base base-devel
    Error
    ERROR: /mnt is not a mount point!
    I install in /mnt/root which probably doesnt touch other partitions like home boot and swap.
    I follow other steps on installation wiki and reboot takes me back to windows.
    What am I doing wrong?
    Thanks.
    Last edited by donniezazen (2012-07-24 22:49:01)

    donniezazen wrote:Partition using cfdisk /, /home , /swap and /boot.
    Format all these in ext4.
    Create folders in mnt - root, home, swap, boot.
    You don't need a root folder. /mnt is the root mount point. Before you mount boot and home:
    mount /dev/sdax /mnt
    where "x" is the number of your /root partition.
    then
    mkdir /mnt/boot
    mount /dev/sdax /mnt/boot
    mkdir /mnt/home
    mount /dev/sdax /mnt/home
    (replace "x" in all the /dev/sdax with the correct partitions.)
    Error
    ERROR: /mnt is not a mount point!
    you should have stopped here and posted or tried to figure out what you did wrong.
    The edited Beginner's Guide is very clear about this. You should read it.
    Last edited by 2ManyDogs (2012-07-24 20:09:24)

  • Arch Linux iso and img metalinks

    I've finally created a script to automatically generate metalinks for the current iso and img downloads using the most recent official mirrorlist
    The generated metalinks are currently listed here: http://xyne.archlinux.ca/arch
    I might move the links page around on the site but the metalink directory should not change. If any of the site admins would like to include these on the downloads page, send me an email so we can work out the optimal way of doing it (e.g. I could create a custom page that you could scrape and show you how to update the metalinks via the web interface when mirrorlists/downloads change).
    For anyone not familiar with metalinks, here's an example of how to use one with aria2c:
    aria2c --follow-metalink=mem -j45 -C45 http://xyne.archlinux.ca/metalinks/archlinux-2009.02-ftp-x86_64.iso.metalink
    aria2c should be capable of downloading from the metalink and the torrent simultaneously but I gave up trying to get it to work after a couple of minutes.
    The Firefox add-on "DownThemAll!" can also handle metalinks.
    archlinux-*-all.metalink contains all of the files. Don't use this link unless you either:
    a) really need all of the files
    b) know how to select files from a metalink
    Last edited by Xyne (2009-04-24 22:05:25)

    Xyne wrote:@Dieter@be
    The post about metalinks on pacman-dev reminded me about this thread. The advantage of the metalinks over torrents, even webseeded torrents, is that you don't need a torrent client to download them. You can use DownThemAll (and maybe other add-ons) to download them directly in Firefox, for example.
    exactly, most download apps (FTP clients, non-torrent P2P clients, most download managers, and browsers, with the exception of Opera) don't support torrents directly. and there are many situations where P2P uploading is banned or frowned upon, like corporate/university networks, places with slow uplink, misconfigured hardware, etc...
    torrents are awesome, but they're not a perfect fit in every situation. metalinks give you alternates, failover options, P2P-like features - so if there's any way for a download to complete, it will. there's the slightly added complexity & effort of getting em in place, but once that's automated it's usually pretty helpful.
    here's a good description of the situation:
    http://www.techradar.com/news/computing … ads-611025

  • ArchDL -- Download Latest Arch Linux ISO Image from Mirror

    Hey guys, here is my ArchISO script. To download latest version of iso image from a mirror. I will add more countries/mirros ones I have time. Right now there is only "United States" mirrors. Enjoy.
    EDIT: Alright scrip now know as "ArchDL", and you can find it at
    https://github.com/GoTux/Bash/blob/master/archdl.sh
    Last edited by TuxLyn (2012-11-08 19:42:32)

    TuxLyn wrote:@Pranavg1890, I'll see what I can do. Also, I've created wiki pages at github for all the scripts I released.
    Really? This script is to download the iso, right? so, maybe I'm wrong, but I think downloading the iso and install it to an usb has nothing to do.
    Or are you going to create another script to do that?
    Anyway, about the downloading script.
    What if it parsed the download page, to get all links listed there? With something like:
    curl -s 'https://www.archlinux.org/download/' |sed -n '/id="download-mirrors"/,/\/div/ {/href/ s/.*href="\([^"]*\).*/\1/p; /h5/ s/.*<h5.*> \([^<]*\).*/\1/p}'
    You could get the list of links.
    Also, check this: http://grulos.blogspot.mx/2007/10/find- … irror.html
    Is an script to find the fastest mirror from a list of urls.
    To be really useful the script, it would be better if it autoselected the fastest mirror for you, instead of waiting for you to tell it which mirror to use.
    So, what you think?

  • Install 2nd instance of Arch Linux without internet connection

    I have successfully install a first instance of Arch Linux using Arch Linux ISO + pacstrap + pacman with internet connection.
    I have updated to latest package database list (/var/lib/pacman/sync) and package cache files (/var/cache/pacman/pkg) in first instance of Arch Linux with "pacman -Swyu".
    Next, I would like to install 2nd instance of Arch Linux without using internet connection.
    I share the "/var/lib/pacman/sync" and "/var/cache/pacman/pkg" via NFS from first Arch Linux instance.
    I boot the 2nd instance with Arch Linux ISO and attempt to install without internet connection.  I mount the two NFS shares from 1st instance to "/var/cache/pacman/pkg" and "/mnt/var/lib/pacman/sync" respectively.  I execute
       # pacstrap -i -c /mnt"
    to start installation.
    I found it is almost impossible with current implementation of pacstrap script.  The pacstrap script always attempt to update package database list with -Sy option.
    I think some amendments on pacstrap script is needed to install Arch Linux without internet connection.

    I made the edit by adding the option -o to do what you want.
    I am too lazy for a feature request right now...
    #!/bin/bash
    # Assumptions:
    # 1) User has partitioned, formatted, and mounted partitions on /mnt
    # 2) Network is functional
    # 3) Arguments passed to the script are valid pacman targets
    # 4) A valid mirror appears in /etc/pacman.d/mirrorlist
    shopt -s extglob
    out() { printf "$1 $2\n" "${@:3}"; }
    error() { out "==> ERROR:" "$@"; } >&2
    msg() { out "==>" "$@"; }
    msg2() { out " ->" "$@";}
    die() { error "$@"; exit 1; }
    in_array() {
    local i
    for i in "${@:2}"; do
    [[ $1 = "$i" ]] && return
    done
    track_mount() {
    mount "$@" && CHROOT_ACTIVE_MOUNTS=("$2" "${CHROOT_ACTIVE_MOUNTS[@]}")
    api_fs_mount() {
    CHROOT_ACTIVE_MOUNTS=()
    { mountpoint -q "$1" || track_mount "$1" "$1" --bind; } &&
    track_mount proc "$1/proc" -t proc -o nosuid,noexec,nodev &&
    track_mount sys "$1/sys" -t sysfs -o nosuid,noexec,nodev &&
    track_mount udev "$1/dev" -t devtmpfs -o mode=0755,nosuid &&
    track_mount devpts "$1/dev/pts" -t devpts -o mode=0620,gid=5,nosuid,noexec &&
    track_mount shm "$1/dev/shm" -t tmpfs -o mode=1777,nosuid,nodev &&
    track_mount run "$1/run" -t tmpfs -o nosuid,nodev,mode=0755 &&
    track_mount tmp "$1/tmp" -t tmpfs -o mode=1777,strictatime,nodev,nosuid
    api_fs_umount() {
    umount "${CHROOT_ACTIVE_MOUNTS[@]}"
    valid_number_of_base() {
    local base=$1 len=${#2} i=
    for (( i = 0; i < len; i++ )); do
    (( (${2:i:1} & ~(base - 1)) == 0 )) || return
    done
    mangle() {
    local i= chr= out=
    unset {a..f} {A..F}
    for (( i = 0; i < ${#1}; i++ )); do
    chr=${1:i:1}
    case $chr in
    [[:space:]\\])
    printf -v chr '%03o' "'$chr"
    out+=\\
    # fallthrough
    out+=$chr
    esac
    done
    printf '%s' "$out"
    unmangle() {
    local i= chr= out= len=$(( ${#1} - 4 ))
    unset {a..f} {A..F}
    for (( i = 0; i < len; i++ )); do
    chr=${1:i:1}
    case $chr in
    if valid_number_of_base 8 "${1:i+1:3}" ||
    valid_number_of_base 16 "${1:i+1:3}"; then
    printf -v chr '%b' "${1:i:4}"
    (( i += 3 ))
    fi
    # fallthrough
    out+=$chr
    esac
    done
    printf '%s' "$out${1:i}"
    dm_name_for_devnode() {
    read dm_name <"/sys/class/block/${1#/dev/}/dm/name"
    if [[ $dm_name ]]; then
    printf '/dev/mapper/%s' "$dm_name"
    else
    # don't leave the caller hanging, just print the original name
    # along with the failure.
    print '%s' "$1"
    error 'Failed to resolve device mapper name for: %s' "$1"
    fi
    fstype_is_pseudofs() {
    # list taken from util-linux source: libmount/src/utils.c
    local -A pseudofs_types=([anon_inodefs]=1
    [autofs]=1
    [bdev]=1
    [binfmt_misc]=1
    [cgroup]=1
    [configfs]=1
    [cpuset]=1
    [debugfs]=1
    [devfs]=1
    [devpts]=1
    [devtmpfs]=1
    [dlmfs]=1
    [fuse.gvfs-fuse-daemon]=1
    [fusectl]=1
    [hugetlbfs]=1
    [mqueue]=1
    [nfsd]=1
    [none]=1
    [pipefs]=1
    [proc]=1
    [pstore]=1
    [ramfs]=1
    [rootfs]=1
    [rpc_pipefs]=1
    [securityfs]=1
    [sockfs]=1
    [spufs]=1
    [sysfs]=1
    [tmpfs]=1)
    (( pseudofs_types["$1"] ))
    newroot=/mnt
    hostcache=0
    copykeyring=1
    copymirrorlist=1
    offline=0
    usage() {
    cat <<EOF
    usage: ${0##*/} [options] root [packages...]
    Options:
    -C config Use an alternate config file for pacman
    -c Use the package cache on the host, rather than the target
    -d Allow installation to a non-mountpoint directory
    -G Avoid copying the host's pacman keyring to the target
    -i Avoid auto-confirmation of package selections
    -M Avoid copying the host's mirrorlist to the target
    -o Do not update the pacman cache for offline installation
    -h Print this help message
    pacstrap installs packages to the specified new root directory. If no packages
    are given, pacstrap defaults to the "base" group.
    EOF
    if [[ -z $1 || $1 = @(-h|--help) ]]; then
    usage
    exit $(( $# ? 0 : 1 ))
    fi
    (( EUID == 0 )) || die 'This script must be run with root privileges'
    while getopts ':C:cdGiMo' flag; do
    case $flag in
    C)
    pacman_config=$OPTARG
    d)
    directory=1
    c)
    hostcache=1
    i)
    interactive=1
    G)
    copykeyring=0
    M)
    copymirrorlist=0
    o)
    offline=1
    die '%s: option requires an argument -- '\''%s'\' "${0##*/}" "$OPTARG"
    die '%s: invalid option -- '\''%s'\' "${0##*/}" "$OPTARG"
    esac
    done
    shift $(( OPTIND - 1 ))
    (( $# )) || die "No root directory specified"
    newroot=$1; shift
    pacman_args=("${@:-base}")
    if (( ! hostcache )); then
    pacman_args+=(--cachedir="$newroot/var/cache/pacman/pkg")
    fi
    if (( ! interactive )); then
    pacman_args+=(--noconfirm)
    fi
    if (( ! offline )); then
    pacman_args+=(-y)
    fi
    if [[ $pacman_config ]]; then
    pacman_args+=(--config="$pacman_config")
    fi
    [[ -d $newroot ]] || die "%s is not a directory" "$newroot"
    if ! mountpoint -q "$newroot" && (( ! directory )); then
    die '%s is not a mountpoint!' "$newroot"
    fi
    # create obligatory directories
    msg 'Creating install root at %s' "$newroot"
    mkdir -m 0755 -p "$newroot"/var/{cache/pacman/pkg,lib/pacman,log} "$newroot"/{dev,run,etc}
    mkdir -m 1777 -p "$newroot"/tmp
    mkdir -m 0555 -p "$newroot"/{sys,proc}
    # always call umount on quit after this point
    trap 'api_fs_umount "$newroot" 2>/dev/null' EXIT
    # mount API filesystems
    api_fs_mount "$newroot" || die "failed to setup API filesystems in new root"
    msg 'Installing packages to %s' "$newroot"
    if ! pacman -r "$newroot" -S "${pacman_args[@]}"; then
    die 'Failed to install packages to new root'
    fi
    if (( copykeyring )); then
    # if there's a keyring on the host, copy it into the new root, unless it exists already
    if [[ -d /etc/pacman.d/gnupg && ! -d $newroot/etc/pacman.d/gnupg ]]; then
    cp -a /etc/pacman.d/gnupg "$newroot/etc/pacman.d/"
    fi
    fi
    if (( copymirrorlist )); then
    # install the host's mirrorlist onto the new root
    cp -a /etc/pacman.d/mirrorlist "$newroot/etc/pacman.d/"
    fi
    # vim: et ts=2 sw=2 ft=sh:

  • Having trouble installing Arch Linux to USB key

    Hello,
    I have read the wiki article, but it doesn't answer my question. I am having trouble installing Arch to a USB key (8GB Sandisk Cruzer). I installled GRUB correctly, it booted, but the flash drive was write-protected. In the fstab file, I have the defaults and noatime flags in there. I have never experienced an error like this, and I don't know how to fix it. I have tried to reboot into the Arch CD and mounted the USB, but it just stalls and displays no output. Obviously, if I boot into my USB (you can still boot into it), and do "nano /etc/fstab", it says that I cannot write. In case you were wondering, I am using the root user. Thank you for all your help!
    EDIT: I have Syslinux, the kernel parameters is RW. If I run mount -o remount,rw /dev/sda1, it tells me something like:
    ata3.00: status: {DRDY ERR}
    ata3.00: error: {IDNF}
    end_request: I/O error, dev sda, sector 21
    Buffer I/o error on device sda1, logical block 0
    EXT4-fs error (device sda1): ext4_remount:4665: Abort forced by user
    I did NOT hit CTRL+C.
    Last edited by aqua123 (2013-09-07 02:01:30)

    I'm a nub, and I think I'll piggy back of aqua's post.  Perhaps we have the same problem
    I have an Asus UX31A with Xubuntu (with grub) currently installed.  I created the bootable USB as per the Arch Wiki UEFI bootable usb page.  I can boot into the main prompt where you can choose "Arch Linux Iso", "shell v1", "shell v2" and "Default prompt."
    Choosing the first option (to get to the the command prompt and begin installing) makes the screen flash once, then just hangs black.  Before the flash I think I see three text lines in the upper left corner, but they flash so fast I can't read them.
    Choosing either of the shell options presents the error:
    "Error loading \EFI\shellx64_v1.efi: Unsupported"  (replace "v1" with "v2" for the other option)
    Any thoughts?

  • Install Arch Linux with UEFI and GPT

    Hi, I purchased a new laptop and I created a partition with Windows 8 (default OS on laptop) and another partition where I want to install Arch Linux.
    When I tried to install Arch Linux not boot from CD. After searching in Google I downloaded the latest Arch Linux ISO (2012-12-01) and tried again.
    This time CD started without problems but when I used cfdisk showed an error with GPT partition. I went back to search in Google and I read about gdisk and gfdisk and I try it but when I partitioning to install Arch Linux partition show that may cause damage. I searched and searched without success and I wonder if there is a Arch Linux GPT install guide or if someone knows how to install Arch Linux with GPT and a Windows 8 partition in UEFI.
    Thanks and regards.

    Hi again, finally I got "install" Arch Linux but when I reboot the follow message appears:
    "No Booteable Device, Hit any key."
    I don't know if I broke Windows Boot Manager, UEFI or both...
    I tried to reinstall GRUB but was unsuccessful.
    Can anyone help me?
    Thanks and regards.

  • System encryption using LUKS and GPG encrypted keys for arch linux

    Update: As of 2012-03-28, arch changed from gnupg 1.4 to 2.x which uses pinentry for the password dialog. The "etwo" hook described here doesn't work with gnupg 2. Either use the openssl hook below or use a statically compiled version of gnupg 1.4.
    Update: As of 2012-12-19, the mkinitcpio is not called during boot, unless the "install" file for the hook contains "add_runscript". This resulted in an unbootable system for me. Also, the method name was changed from install () to build ().
    Update: 2013-01-13: Updated the hook files using the corrections by Deth.
    Note: This guide is a bit dated now, in particular the arch installation might be different now. But essentially, the approach stays the same. Please also take a look at the posts further down, specifically the alternative hooks that use openssl.
    I always wanted to set up a fully encrypted arch linux server that uses gpg encrypted keyfiles on an external usb stick and luks for root filesystem encryption. I already did it once in gentoo using this guide. For arch, I had to play alot with initcpio hooks and after one day of experimentation, I finally got it working. I wrote a little guide for myself which I'm going to share here for anyone that might be interested. There might be better or easier ways, like I said this is just how I did it. I hope it might help someone else. Constructive feedback is always welcome
    Intro
    Using arch linux mkinitcpio's encrypt hook, one can easily use encrypted root partitions with LUKS. It's also possible to use key files stored on an external drive, like an usb stick. However, if someone steals your usb stick, he can just copy the key and potentially access the system. I wanted to have a little extra security by additionally encrypting the key file with gpg using a symmetric cipher and a passphrase.
    Since the encrypt hook doesn't support this scenario, I created a modifed hook called “etwo” (silly name I know, it was the first thing that came to my mind). It will simply look if the key file has the extension .gpg and, if yes, use gpg to decrypt it, then pipe the result into cryptsetup.
    Conventions
    In this short guide, I use the following disk/partition names:
    /dev/sda: is the hard disk that will contain an encrypted swap (/dev/sda1), /var (/dev/sda2) and root (/dev/sda3) partition.
    /dev/sdb is the usb stick that will contain the gpg encrypted luks keys, the kernel and grub. It will have one partition /dev/sdb1 formatted with ext2.
    /dev/mapper/root, /dev/mapper/swap and /dev/mapper/var will be the encrypted devices.
    Credits
    Thanks to the authors of SECURITY_System_Encryption_DM-Crypt_with_LUKS (gentoo wiki), System Encryption with LUKS (arch wiki), mkinitcpio (arch wiki) and Early Userspace in Arch Linux (/dev/brain0 blog)!
    Guide
    1. Boot the arch live cd
    I had to use a newer testing version, because the 2010.05 cd came with a broken gpg. You can download one here: http://releng.archlinux.org/isos/. I chose the “core“ version. Go ahead and boot the live cd, but don't start the setup yet.
    2. Set keymap
    Use km to set your keymap. This is important for non-qwerty keyboards to avoid suprises with passphrases...
    3. Wipe your discs
    ATTENTION: this will DELETE everything on /dev/sda and /dev/sdb forever! Do not blame me for any lost data!
    Before encrypting the hard disc, it has to be completely wiped and overwritten with random data. I used shred for this. Others use badblocks or dd with /dev/urandom. Either way, this will take a long time, depending on the size of your disc. I also wiped my usb stick just to be sure.
    shred -v /dev/sda
    shred -v /dev/sdb
    4. Partitioning
    Fire up fdisk and create the following partitions:
    /dev/sda1, type linux swap.
    /dev/sda2: type linux
    /dev/sda3: type linux
    /dev/sdb1, type linux
    Of course you can choose a different layout, this is just how I did it. Keep in mind that only the root filesystem will be decrypted by the initcpio. The rest will be decypted during normal init boot using /etc/crypttab, the keys being somewhere on the root filesystem.
    5. Format  and mount the usb stick
    Create an ext2 filesystem on /dev/sdb1:
    mkfs.ext2 /dev/sdb1
    mkdir /root/usb
    mount /dev/sdb1 /root/usb
    cd /root/usb # this will be our working directory for now.
    Do not mount anything to /mnt, because the arch installer will use that directory later to mount the encrypted root filesystem.
    6. Configure the network (if not already done automatically)
    ifconfig eth0 192.168.0.2 netmask 255.255.255.0
    route add default gw 192.168.0.1
    echo "nameserver 192.168.0.1" >> /etc/resolv.conf
    (this is just an example, your mileage may vary)
    7. Install gnupg
    pacman -Sy
    pacman -S gnupg
    Verify that gnupg works by launching gpg.
    8. Create the keys
    Just to be sure, make sure swap is off:
    cat /proc/swaps
    should return no entries.
    Create gpg encrypted keys (remember, we're still in our working dir /root/usb):
    dd if=/dev/urandom bs=512 count=4 | gpg -v --cipher-algo aes256 --digest-algo sha512 -c -a > root.gpg
    dd if=/dev/urandom bs=512 count=4 | gpg -v --cipher-algo aes256 --digest-algo sha512 -c -a > var.gpg
    Choose a strong password!!
    Don't do this in two steps, e.g don't do dd to a file and then gpg on that file. The key should never be stored in plain text on an unencrypted device, except if that device is wiped on system restart (ramfs)!
    Note that the default cipher for gpg is cast5, I just chose to use a different one.
    9. Create the encrypted devices with cryptsetup
    Create encrypted swap:
    cryptsetup -c aes-cbc-essiv:sha256 -s 256 -h whirlpool -d /dev/urandom create swap /dev/sda1
    You should see /dev/mapper/swap now. Don't format nor turn it on for now. This will be done by the arch installer.
    Important: From the Cryptsetup 1.1.2 Release notes:
    Cryptsetup can accept passphrase on stdin (standard input). Handling of new line (\n) character is defined by input specification:
        if keyfile is specified as "-" (using --key-file=- or by positional argument in luksFormat and luksAddKey, like cat file | cryptsetup --key-file=- <action> ), input is processed
          as normal binary file and no new line is interpreted.
        if there is no key file specification (with default input from stdin pipe like echo passphrase | cryptsetup <action> ) input is processed as input from terminal, reading will
          stop after new line is detected.
    If I understand this correctly, since the randomly generated key can contain a newline early on, piping the key into cryptsetup without specifying --key-file=- could result in a big part of the key to be ignored by cryptsetup. Example: if the random key was "foo\nandsomemorebaratheendofthekey", piping it directly into cryptsetup without --key-file=- would result in cryptsetup using only "foo" as key which would have big security implications. We should therefor ALWAYS pipe the key into cryptsetup using --key-file=- which ignores newlines.
    gpg -q -d root.gpg 2>/dev/null | cryptsetup -v -–key-file=- -c aes-cbc-essiv:sha256 -s 256 -h whirlpool luksFormat /dev/sda3
    gpg -q -d var.gpg 2>/dev/null | cryptsetup -v –-key-file=- -c aes-cbc-essiv:sha256 -s 256 -h whirlpool -v luksFormat /dev/sda2
    Check for any errors.
    10. Open the luks devices
    gpg -d root.gpg 2>/dev/null | cryptsetup -v –-key-file=- luksOpen /dev/sda3 root
    gpg -d var.gpg 2>/dev/null | cryptsetup -v –-key-file=- luksOpen /dev/sda2 var
    If you see /dev/mapper/root and /dev/mapper/var now, everything is ok.
    11. Start the installer /arch/setup
    Follow steps 1 to 3.
    At step 4 (Prepare hard drive(s), select “3 – Manually Configure block devices, filesystems and mountpoints. Choose /dev/sdb1 (the usb stick) as /boot, /dev/mapper/swap for swap, /dev/mapper/root for / and /dev/mapper/var for /var.
    Format all drives (choose “yes” when asked “do you want to have this filesystem (re)created”) EXCEPT for /dev/sdb1, choose “no”. Choose the correct filesystem for /dev/sdb1, ext2 in my case. Use swap for /dev/mapper/swap. For the rest, I chose ext4.
    Select DONE to start formatting.
    At step 5 (Select packages), select grub as boot loader. Select the base group. Add mkinitcpio.
    Start step 6 (Install packages).
    Go to step 7 (Configure System).
    By sure to set the correct KEYMAP, LOCALE and TIMEZONE in /etc/rc.conf.
    Edit /etc/fstab:
    /dev/mapper/root / ext4 defaults 0 1
    /dev/mapper/swap swap swap defaults 0 0
    /dev/mapper/var /var ext4 defaults 0 1
    # /dev/sdb1 /boot ext2 defaults 0 1
    Configure the rest normally. When you're done, setup will launch mkinitcpio. We'll manually launch this again later.
    Go to step 8 (install boot loader).
    Be sure to change the kernel line in menu.lst:
    kernel /vmlinuz26 root=/dev/mapper/root cryptdevice=/dev/sda3:root cryptkey=/dev/sdb1:ext2:/root.gpg
    Don't forget the :root suffix in cryptdevice!
    Also, my root line was set to (hd1,0). Had to change that to
    root (hd0,0)
    Install grub to /dev/sdb (the usb stick).
    Now, we can exit the installer.
    12. Install mkinitcpio with the etwo hook.
    Create /mnt/lib/initcpio/hooks/etwo:
    #!/usr/bin/ash
    run_hook() {
    /sbin/modprobe -a -q dm-crypt >/dev/null 2>&1
    if [ -e "/sys/class/misc/device-mapper" ]; then
    if [ ! -e "/dev/mapper/control" ]; then
    /bin/mknod "/dev/mapper/control" c $(cat /sys/class/misc/device-mapper/dev | sed 's|:| |')
    fi
    [ "${quiet}" = "y" ] && CSQUIET=">/dev/null"
    # Get keyfile if specified
    ckeyfile="/crypto_keyfile"
    usegpg="n"
    if [ "x${cryptkey}" != "x" ]; then
    ckdev="$(echo "${cryptkey}" | cut -d: -f1)"
    ckarg1="$(echo "${cryptkey}" | cut -d: -f2)"
    ckarg2="$(echo "${cryptkey}" | cut -d: -f3)"
    if poll_device "${ckdev}" ${rootdelay}; then
    case ${ckarg1} in
    *[!0-9]*)
    # Use a file on the device
    # ckarg1 is not numeric: ckarg1=filesystem, ckarg2=path
    if [ "${ckarg2#*.}" = "gpg" ]; then
    ckeyfile="${ckeyfile}.gpg"
    usegpg="y"
    fi
    mkdir /ckey
    mount -r -t ${ckarg1} ${ckdev} /ckey
    dd if=/ckey/${ckarg2} of=${ckeyfile} >/dev/null 2>&1
    umount /ckey
    # Read raw data from the block device
    # ckarg1 is numeric: ckarg1=offset, ckarg2=length
    dd if=${ckdev} of=${ckeyfile} bs=1 skip=${ckarg1} count=${ckarg2} >/dev/null 2>&1
    esac
    fi
    [ ! -f ${ckeyfile} ] && echo "Keyfile could not be opened. Reverting to passphrase."
    fi
    if [ -n "${cryptdevice}" ]; then
    DEPRECATED_CRYPT=0
    cryptdev="$(echo "${cryptdevice}" | cut -d: -f1)"
    cryptname="$(echo "${cryptdevice}" | cut -d: -f2)"
    else
    DEPRECATED_CRYPT=1
    cryptdev="${root}"
    cryptname="root"
    fi
    warn_deprecated() {
    echo "The syntax 'root=${root}' where '${root}' is an encrypted volume is deprecated"
    echo "Use 'cryptdevice=${root}:root root=/dev/mapper/root' instead."
    if poll_device "${cryptdev}" ${rootdelay}; then
    if /sbin/cryptsetup isLuks ${cryptdev} >/dev/null 2>&1; then
    [ ${DEPRECATED_CRYPT} -eq 1 ] && warn_deprecated
    dopassphrase=1
    # If keyfile exists, try to use that
    if [ -f ${ckeyfile} ]; then
    if [ "${usegpg}" = "y" ]; then
    # gpg tty fixup
    if [ -e /dev/tty ]; then mv /dev/tty /dev/tty.backup; fi
    cp -a /dev/console /dev/tty
    while [ ! -e /dev/mapper/${cryptname} ];
    do
    sleep 2
    /usr/bin/gpg -d "${ckeyfile}" 2>/dev/null | cryptsetup --key-file=- luksOpen ${cryptdev} ${cryptname} ${CSQUIET}
    dopassphrase=0
    done
    rm /dev/tty
    if [ -e /dev/tty.backup ]; then mv /dev/tty.backup /dev/tty; fi
    else
    if eval /sbin/cryptsetup --key-file ${ckeyfile} luksOpen ${cryptdev} ${cryptname} ${CSQUIET}; then
    dopassphrase=0
    else
    echo "Invalid keyfile. Reverting to passphrase."
    fi
    fi
    fi
    # Ask for a passphrase
    if [ ${dopassphrase} -gt 0 ]; then
    echo ""
    echo "A password is required to access the ${cryptname} volume:"
    #loop until we get a real password
    while ! eval /sbin/cryptsetup luksOpen ${cryptdev} ${cryptname} ${CSQUIET}; do
    sleep 2;
    done
    fi
    if [ -e "/dev/mapper/${cryptname}" ]; then
    if [ ${DEPRECATED_CRYPT} -eq 1 ]; then
    export root="/dev/mapper/root"
    fi
    else
    err "Password succeeded, but ${cryptname} creation failed, aborting..."
    exit 1
    fi
    elif [ -n "${crypto}" ]; then
    [ ${DEPRECATED_CRYPT} -eq 1 ] && warn_deprecated
    msg "Non-LUKS encrypted device found..."
    if [ $# -ne 5 ]; then
    err "Verify parameter format: crypto=hash:cipher:keysize:offset:skip"
    err "Non-LUKS decryption not attempted..."
    return 1
    fi
    exe="/sbin/cryptsetup create ${cryptname} ${cryptdev}"
    tmp=$(echo "${crypto}" | cut -d: -f1)
    [ -n "${tmp}" ] && exe="${exe} --hash \"${tmp}\""
    tmp=$(echo "${crypto}" | cut -d: -f2)
    [ -n "${tmp}" ] && exe="${exe} --cipher \"${tmp}\""
    tmp=$(echo "${crypto}" | cut -d: -f3)
    [ -n "${tmp}" ] && exe="${exe} --key-size \"${tmp}\""
    tmp=$(echo "${crypto}" | cut -d: -f4)
    [ -n "${tmp}" ] && exe="${exe} --offset \"${tmp}\""
    tmp=$(echo "${crypto}" | cut -d: -f5)
    [ -n "${tmp}" ] && exe="${exe} --skip \"${tmp}\""
    if [ -f ${ckeyfile} ]; then
    exe="${exe} --key-file ${ckeyfile}"
    else
    exe="${exe} --verify-passphrase"
    echo ""
    echo "A password is required to access the ${cryptname} volume:"
    fi
    eval "${exe} ${CSQUIET}"
    if [ $? -ne 0 ]; then
    err "Non-LUKS device decryption failed. verify format: "
    err " crypto=hash:cipher:keysize:offset:skip"
    exit 1
    fi
    if [ -e "/dev/mapper/${cryptname}" ]; then
    if [ ${DEPRECATED_CRYPT} -eq 1 ]; then
    export root="/dev/mapper/root"
    fi
    else
    err "Password succeeded, but ${cryptname} creation failed, aborting..."
    exit 1
    fi
    else
    err "Failed to open encryption mapping: The device ${cryptdev} is not a LUKS volume and the crypto= paramater was not specified."
    fi
    fi
    rm -f ${ckeyfile}
    fi
    Create /mnt/lib/initcpio/install/etwo:
    #!/bin/bash
    build() {
    local mod
    add_module dm-crypt
    if [[ $CRYPTO_MODULES ]]; then
    for mod in $CRYPTO_MODULES; do
    add_module "$mod"
    done
    else
    add_all_modules '/crypto/'
    fi
    add_dir "/dev/mapper"
    add_binary "cryptsetup"
    add_binary "dmsetup"
    add_binary "/usr/bin/gpg"
    add_file "/usr/lib/udev/rules.d/10-dm.rules"
    add_file "/usr/lib/udev/rules.d/13-dm-disk.rules"
    add_file "/usr/lib/udev/rules.d/95-dm-notify.rules"
    add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/usr/lib/udev/rules.d/11-dm-initramfs.rules"
    add_runscript
    help ()
    cat<<HELPEOF
    This hook allows for an encrypted root device with support for gpg encrypted key files.
    To use gpg, the key file must have the extension .gpg and you have to install gpg and add /usr/bin/gpg
    to your BINARIES var in /etc/mkinitcpio.conf.
    HELPEOF
    Edit /mnt/etc/mkinitcpio.conf (only relevant sections displayed):
    MODULES=”ext2 ext4” # not sure if this is really nessecary.
    BINARIES=”/usr/bin/gpg” # this could probably be done in install/etwo...
    HOOKS=”base udev usbinput keymap autodetect pata scsi sata usb etwo filesystems” # (usbinput is only needed if you have an usb keyboard)
    Copy the initcpio stuff over to the live cd:
    cp /mnt/lib/initcpio/hooks/etwo /lib/initcpio/hooks/
    cp /mnt/lib/initcpio/install/etwo /lib/initcpio/install/
    cp /mnt/etc/mkinitcpio.conf /etc/
    Verify your LOCALE, KEYMAP and TIMEZONE in /etc/rc.conf!
    Now reinstall the initcpio:
    mkinitcpio -g /mnt/boot/kernel26.img
    Make sure there were no errors and that all hooks were included.
    13. Decrypt the "var" key to the encrypted root
    mkdir /mnt/keys
    chmod 500 /mnt/keys
    gpg –output /mnt/keys/var -d /mnt/boot/var.gpg
    chmod 400 /mnt/keys/var
    14. Setup crypttab
    Edit /mnt/etc/crypttab:
    swap /dev/sda1 SWAP -c aes-cbc-essiv:sha256 -s 256 -h whirlpool
    var /dev/sda2 /keys/var
    15. Reboot
    We're done, you may reboot. Make sure you select the usb stick as the boot device in your bios and hope for the best. . If it didn't work, play with grub's settings or boot from the live cd, mount your encrypted devices and check all settings. You might also have less trouble by using uuid's instead of device names.  I chose device names to keep things as simple as possible, even though it's not the optimal way to do it.
    Make backups of your data and your usb stick and do not forget your password(s)! Or you can say goodbye to your data forever...
    Last edited by fabriceb (2013-01-15 22:36:23)

    I'm trying to run my install script that is based on https://bbs.archlinux.org/viewtopic.php?id=129885
    Decrypting the gpg key after grub works, but then "Devce root already exists." appears every second.
    any idea ?
    #!/bin/bash
    # This script is designed to be run in conjunction with a UEFI boot using Archboot intall media.
    # prereqs:
    # EFI "BIOS" set to boot *only* from EFI
    # successful EFI boot of Archboot USB
    # mount /dev/sdb1 /src
    set -o nounset
    #set -o errexit
    # Host specific configuration
    # this whole script needs to be customized, particularly disk partitions
    # and configuration, but this section contains global variables that
    # are used during the system configuration phase for convenience
    HOSTNAME=daniel
    USERNAME=user
    # Globals
    # We don't need to set these here but they are used repeatedly throughout
    # so it makes sense to reuse them and allow an easy, one-time change if we
    # need to alter values such as the install target mount point.
    INSTALL_TARGET="/install"
    HR="--------------------------------------------------------------------------------"
    PACMAN="pacman --noconfirm --config /tmp/pacman.conf"
    TARGET_PACMAN="pacman --noconfirm --config /tmp/pacman.conf -r ${INSTALL_TARGET}"
    CHROOT_PACMAN="pacman --noconfirm --cachedir /var/cache/pacman/pkg --config /tmp/pacman.conf -r ${INSTALL_TARGET}"
    FILE_URL="file:///packages/core-$(uname -m)/pkg"
    FTP_URL='ftp://mirrors.kernel.org/archlinux/$repo/os/$arch'
    HTTP_URL='http://mirrors.kernel.org/archlinux/$repo/os/$arch'
    # Functions
    # I've avoided using functions in this script as they aren't required and
    # I think it's more of a learning tool if you see the step-by-step
    # procedures even with minor duplciations along the way, but I feel that
    # these functions clarify the particular steps of setting values in config
    # files.
    SetValue () {
    # EXAMPLE: SetValue VARIABLENAME '\"Quoted Value\"' /file/path
    VALUENAME="$1" NEWVALUE="$2" FILEPATH="$3"
    sed -i "s+^#\?\(${VALUENAME}\)=.*$+\1=${NEWVALUE}+" "${FILEPATH}"
    CommentOutValue () {
    VALUENAME="$1" FILEPATH="$2"
    sed -i "s/^\(${VALUENAME}.*\)$/#\1/" "${FILEPATH}"
    UncommentValue () {
    VALUENAME="$1" FILEPATH="$2"
    sed -i "s/^#\(${VALUENAME}.*\)$/\1/" "${FILEPATH}"
    # Initialize
    # Warn the user about impending doom, set up the network on eth0, mount
    # the squashfs images (Archboot does this normally, we're just filling in
    # the gaps resulting from the fact that we're doing a simple scripted
    # install). We also create a temporary pacman.conf that looks for packages
    # locally first before sourcing them from the network. It would be better
    # to do either *all* local or *all* network but we can't for two reasons.
    # 1. The Archboot installation image might have an out of date kernel
    # (currently the case) which results in problems when chrooting
    # into the install mount point to modprobe efivars. So we use the
    # package snapshot on the Archboot media to ensure our kernel is
    # the same as the one we booted with.
    # 2. Ideally we'd source all local then, but some critical items,
    # notably grub2-efi variants, aren't yet on the Archboot media.
    # Warn
    timer=9
    echo -e "\n\nMAC WARNING: This script is not designed for APPLE MAC installs and will potentially misconfigure boot to your existing OS X installation. STOP NOW IF YOU ARE ON A MAC.\n\n"
    echo -n "GENERAL WARNING: This procedure will completely format /dev/sda. Please cancel with ctrl-c to cancel within $timer seconds..."
    while [[ $timer -gt 0 ]]
    do
    sleep 1
    let timer-=1
    echo -en "$timer seconds..."
    done
    echo "STARTING"
    # Get Network
    echo -n "Waiting for network address.."
    #dhclient eth0
    dhcpcd -p eth0
    echo -n "Network address acquired."
    # Mount packages squashfs images
    umount "/packages/core-$(uname -m)"
    umount "/packages/core-any"
    rm -rf "/packages/core-$(uname -m)"
    rm -rf "/packages/core-any"
    mkdir -p "/packages/core-$(uname -m)"
    mkdir -p "/packages/core-any"
    modprobe -q loop
    modprobe -q squashfs
    mount -o ro,loop -t squashfs "/src/packages/archboot_packages_$(uname -m).squashfs" "/packages/core-$(uname -m)"
    mount -o ro,loop -t squashfs "/src/packages/archboot_packages_any.squashfs" "/packages/core-any"
    # Create temporary pacman.conf file
    cat << PACMANEOF > /tmp/pacman.conf
    [options]
    Architecture = auto
    CacheDir = ${INSTALL_TARGET}/var/cache/pacman/pkg
    CacheDir = /packages/core-$(uname -m)/pkg
    CacheDir = /packages/core-any/pkg
    [core]
    Server = ${FILE_URL}
    Server = ${FTP_URL}
    Server = ${HTTP_URL}
    [extra]
    Server = ${FILE_URL}
    Server = ${FTP_URL}
    Server = ${HTTP_URL}
    #Uncomment to enable pacman -Sy yaourt
    [archlinuxfr]
    Server = http://repo.archlinux.fr/\$arch
    PACMANEOF
    # Prepare pacman
    [[ ! -d "${INSTALL_TARGET}/var/cache/pacman/pkg" ]] && mkdir -m 755 -p "${INSTALL_TARGET}/var/cache/pacman/pkg"
    [[ ! -d "${INSTALL_TARGET}/var/lib/pacman" ]] && mkdir -m 755 -p "${INSTALL_TARGET}/var/lib/pacman"
    ${PACMAN} -Sy
    ${TARGET_PACMAN} -Sy
    # Install prereqs from network (not on archboot media)
    echo -e "\nInstalling prereqs...\n$HR"
    #sed -i "s/^#S/S/" /etc/pacman.d/mirrorlist # Uncomment all Server lines
    UncommentValue S /etc/pacman.d/mirrorlist # Uncomment all Server lines
    ${PACMAN} --noconfirm -Sy gptfdisk btrfs-progs-unstable libusb-compat gnupg
    # Configure Host
    # Here we create three partitions:
    # 1. efi and /boot (one partition does double duty)
    # 2. swap
    # 3. our encrypted root
    # Note that all of these are on a GUID partition table scheme. This proves
    # to be quite clean and simple since we're not doing anything with MBR
    # boot partitions and the like.
    echo -e "format\n"
    # shred -v /dev/sda
    # disk prep
    sgdisk -Z /dev/sda # zap all on disk
    #sgdisk -Z /dev/mmcb1k0 # zap all on sdcard
    sgdisk -a 2048 -o /dev/sda # new gpt disk 2048 alignment
    #sgdisk -a 2048 -o /dev/mmcb1k0
    # create partitions
    sgdisk -n 1:0:+200M /dev/sda # partition 1 (UEFI BOOT), default start block, 200MB
    sgdisk -n 2:0:+4G /dev/sda # partition 2 (SWAP), default start block, 200MB
    sgdisk -n 3:0:0 /dev/sda # partition 3, (LUKS), default start, remaining space
    #sgdisk -n 1:0:1800M /dev/mmcb1k0 # root.gpg
    # set partition types
    sgdisk -t 1:ef00 /dev/sda
    sgdisk -t 2:8200 /dev/sda
    sgdisk -t 3:8300 /dev/sda
    #sgdisk -t 1:0700 /dev/mmcb1k0
    # label partitions
    sgdisk -c 1:"UEFI Boot" /dev/sda
    sgdisk -c 2:"Swap" /dev/sda
    sgdisk -c 3:"LUKS" /dev/sda
    #sgdisk -c 1:"Key" /dev/mmcb1k0
    echo -e "create gpg file\n"
    # create gpg file
    dd if=/dev/urandom bs=512 count=4 | gpg -v --cipher-algo aes256 --digest-algo sha512 -c -a > /root/root.gpg
    echo -e "format LUKS on root\n"
    # format LUKS on root
    gpg -q -d /root/root.gpg 2>/dev/null | cryptsetup -v --key-file=- -c aes-xts-plain -s 512 --hash sha512 luksFormat /dev/sda3
    echo -e "open LUKS on root\n"
    gpg -d /root/root.gpg 2>/dev/null | cryptsetup -v --key-file=- luksOpen /dev/sda3 root
    # NOTE: make sure to add dm_crypt and aes_i586 to MODULES in rc.conf
    # NOTE2: actually this isn't required since we're mounting an encrypted root and grub2/initramfs handles this before we even get to rc.conf
    # make filesystems
    # following swap related commands not used now that we're encrypting our swap partition
    #mkswap /dev/sda2
    #swapon /dev/sda2
    #mkfs.ext4 /dev/sda3 # this is where we'd create an unencrypted root partition, but we're using luks instead
    echo -e "\nCreating Filesystems...\n$HR"
    # make filesystems
    mkfs.ext4 /dev/mapper/root
    mkfs.vfat -F32 /dev/sda1
    #mkfs.vfat -F32 /dev/mmcb1k0p1
    echo -e "mount targets\n"
    # mount target
    #mount /dev/sda3 ${INSTALL_TARGET} # this is where we'd mount the unencrypted root partition
    mount /dev/mapper/root ${INSTALL_TARGET}
    # mount target
    mkdir ${INSTALL_TARGET}
    # mkdir ${INSTALL_TARGET}/key
    # mount -t vfat /dev/mmcb1k0p1 ${INSTALL_TARGET}/key
    mkdir ${INSTALL_TARGET}/boot
    mount -t vfat /dev/sda1 ${INSTALL_TARGET}/boot
    # Install base, necessary utilities
    mkdir -p ${INSTALL_TARGET}/var/lib/pacman
    ${TARGET_PACMAN} -Sy
    ${TARGET_PACMAN} -Su base
    # curl could be installed later but we want it ready for rankmirrors
    ${TARGET_PACMAN} -S curl
    ${TARGET_PACMAN} -S libusb-compat gnupg
    ${TARGET_PACMAN} -R grub
    rm -rf ${INSTALL_TARGET}/boot/grub
    ${TARGET_PACMAN} -S grub2-efi-x86_64
    # Configure new system
    SetValue HOSTNAME ${HOSTNAME} ${INSTALL_TARGET}/etc/rc.conf
    sed -i "s/^\(127\.0\.0\.1.*\)$/\1 ${HOSTNAME}/" ${INSTALL_TARGET}/etc/hosts
    SetValue CONSOLEFONT Lat2-Terminus16 ${INSTALL_TARGET}/etc/rc.conf
    #following replaced due to netcfg
    #SetValue interface eth0 ${INSTALL_TARGET}/etc/rc.conf
    # write fstab
    # You can use UUID's or whatever you want here, of course. This is just
    # the simplest approach and as long as your drives aren't changing values
    # randomly it should work fine.
    cat > ${INSTALL_TARGET}/etc/fstab <<FSTAB_EOF
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    tmpfs /tmp tmpfs nodev,nosuid 0 0
    /dev/sda1 /boot vfat defaults 0 0
    /dev/mapper/cryptswap none swap defaults 0 0
    /dev/mapper/root / ext4 defaults,noatime 0 1
    FSTAB_EOF
    # write etwo
    mkdir -p /lib/initcpio/hooks/
    mkdir -p /lib/initcpio/install/
    cp /src/etwo_hooks /lib/initcpio/hooks/etwo
    cp /src/etwo_install /lib/initcpio/install/etwo
    mkdir -p ${INSTALL_TARGET}/lib/initcpio/hooks/
    mkdir -p ${INSTALL_TARGET}/lib/initcpio/install/
    cp /src/etwo_hooks ${INSTALL_TARGET}/lib/initcpio/hooks/etwo
    cp /src/etwo_install ${INSTALL_TARGET}/lib/initcpio/install/etwo
    # write crypttab
    # encrypted swap (random passphrase on boot)
    echo cryptswap /dev/sda2 SWAP "-c aes-xts-plain -h whirlpool -s 512" >> ${INSTALL_TARGET}/etc/crypttab
    # copy configs we want to carry over to target from install environment
    mv ${INSTALL_TARGET}/etc/resolv.conf ${INSTALL_TARGET}/etc/resolv.conf.orig
    cp /etc/resolv.conf ${INSTALL_TARGET}/etc/resolv.conf
    mkdir -p ${INSTALL_TARGET}/tmp
    cp /tmp/pacman.conf ${INSTALL_TARGET}/tmp/pacman.conf
    # mount proc, sys, dev in install root
    mount -t proc proc ${INSTALL_TARGET}/proc
    mount -t sysfs sys ${INSTALL_TARGET}/sys
    mount -o bind /dev ${INSTALL_TARGET}/dev
    echo -e "umount boot\n"
    # we have to remount /boot from inside the chroot
    umount ${INSTALL_TARGET}/boot
    # Create install_efi script (to be run *after* chroot /install)
    touch ${INSTALL_TARGET}/install_efi
    chmod a+x ${INSTALL_TARGET}/install_efi
    cat > ${INSTALL_TARGET}/install_efi <<EFI_EOF
    # functions (these could be a library, but why overcomplicate things
    SetValue () { VALUENAME="\$1" NEWVALUE="\$2" FILEPATH="\$3"; sed -i "s+^#\?\(\${VALUENAME}\)=.*\$+\1=\${NEWVALUE}+" "\${FILEPATH}"; }
    CommentOutValue () { VALUENAME="\$1" FILEPATH="\$2"; sed -i "s/^\(\${VALUENAME}.*\)\$/#\1/" "\${FILEPATH}"; }
    UncommentValue () { VALUENAME="\$1" FILEPATH="\$2"; sed -i "s/^#\(\${VALUENAME}.*\)\$/\1/" "\${FILEPATH}"; }
    echo -e "mount boot\n"
    # remount here or grub et al gets confused
    mount -t vfat /dev/sda1 /boot
    # mkinitcpio
    # NOTE: intel_agp drm and i915 for intel graphics
    SetValue MODULES '\\"dm_mod dm_crypt aes_x86_64 ext2 ext4 vfat intel_agp drm i915\\"' /etc/mkinitcpio.conf
    SetValue HOOKS '\\"base udev pata scsi sata usb usbinput keymap consolefont etwo encrypt filesystems\\"' /etc/mkinitcpio.conf
    SetValue BINARIES '\\"/usr/bin/gpg\\"' /etc/mkinitcpio.conf
    mkinitcpio -p linux
    # kernel modules for EFI install
    modprobe efivars
    modprobe dm-mod
    # locale-gen
    UncommentValue de_AT /etc/locale.gen
    locale-gen
    # install and configure grub2
    # did this above
    #${CHROOT_PACMAN} -Sy
    #${CHROOT_PACMAN} -R grub
    #rm -rf /boot/grub
    #${CHROOT_PACMAN} -S grub2-efi-x86_64
    # you can be surprisingly sloppy with the root value you give grub2 as a kernel option and
    # even omit the cryptdevice altogether, though it will wag a finger at you for using
    # a deprecated syntax, so we're using the correct form here
    # NOTE: take out i915.modeset=1 unless you are on intel graphics
    SetValue GRUB_CMDLINE_LINUX '\\"cryptdevice=/dev/sda3:root cryptkey=/dev/sda1:vfat:/root.gpg add_efi_memmap i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 pcie_aspm=force quiet\\"' /etc/default/grub
    # set output to graphical
    SetValue GRUB_TERMINAL_OUTPUT gfxterm /etc/default/grub
    SetValue GRUB_GFXMODE 960x600x32,auto /etc/default/grub
    SetValue GRUB_GFXPAYLOAD_LINUX keep /etc/default/grub # comment out this value if text only mode
    # install the actual grub2. Note that despite our --boot-directory option we will still need to move
    # the grub directory to /boot/grub during grub-mkconfig operations until grub2 gets patched (see below)
    grub_efi_x86_64-install --bootloader-id=grub --no-floppy --recheck
    # create our EFI boot entry
    # bug in the HP bios firmware (F.08)
    efibootmgr --create --gpt --disk /dev/sda --part 1 --write-signature --label "ARCH LINUX" --loader "\\\\grub\\\\grub.efi"
    # copy font for grub2
    cp /usr/share/grub/unicode.pf2 /boot/grub
    # generate config file
    grub-mkconfig -o /boot/grub/grub.cfg
    exit
    EFI_EOF
    # Install EFI using script inside chroot
    chroot ${INSTALL_TARGET} /install_efi
    rm ${INSTALL_TARGET}/install_efi
    # Post install steps
    # anything you want to do post install. run the script automatically or
    # manually
    touch ${INSTALL_TARGET}/post_install
    chmod a+x ${INSTALL_TARGET}/post_install
    cat > ${INSTALL_TARGET}/post_install <<POST_EOF
    set -o errexit
    set -o nounset
    # functions (these could be a library, but why overcomplicate things
    SetValue () { VALUENAME="\$1" NEWVALUE="\$2" FILEPATH="\$3"; sed -i "s+^#\?\(\${VALUENAME}\)=.*\$+\1=\${NEWVALUE}+" "\${FILEPATH}"; }
    CommentOutValue () { VALUENAME="\$1" FILEPATH="\$2"; sed -i "s/^\(\${VALUENAME}.*\)\$/#\1/" "\${FILEPATH}"; }
    UncommentValue () { VALUENAME="\$1" FILEPATH="\$2"; sed -i "s/^#\(\${VALUENAME}.*\)\$/\1/" "\${FILEPATH}"; }
    # root password
    echo -e "${HR}\\nNew root user password\\n${HR}"
    passwd
    # add user
    echo -e "${HR}\\nNew non-root user password (username:${USERNAME})\\n${HR}"
    groupadd sudo
    useradd -m -g users -G audio,lp,optical,storage,video,games,power,scanner,network,sudo,wheel -s /bin/bash ${USERNAME}
    passwd ${USERNAME}
    # mirror ranking
    echo -e "${HR}\\nRanking Mirrors (this will take a while)\\n${HR}"
    cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.orig
    mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.all
    sed -i "s/#S/S/" /etc/pacman.d/mirrorlist.all
    rankmirrors -n 5 /etc/pacman.d/mirrorlist.all > /etc/pacman.d/mirrorlist
    # temporary fix for locale.sh update conflict
    mv /etc/profile.d/locale.sh /etc/profile.d/locale.sh.preupdate || true
    # yaourt repo (add to target pacman, not tmp pacman.conf, for ongoing use)
    echo -e "\\n[archlinuxfr]\\nServer = http://repo.archlinux.fr/\\\$arch" >> /etc/pacman.conf
    echo -e "\\n[haskell]\\nServer = http://www.kiwilight.com/\\\$repo/\\\$arch" >> /etc/pacman.conf
    # additional groups and utilities
    pacman --noconfirm -Syu
    pacman --noconfirm -S base-devel
    pacman --noconfirm -S yaourt
    # sudo
    pacman --noconfirm -S sudo
    cp /etc/sudoers /tmp/sudoers.edit
    sed -i "s/#\s*\(%wheel\s*ALL=(ALL)\s*ALL.*$\)/\1/" /tmp/sudoers.edit
    sed -i "s/#\s*\(%sudo\s*ALL=(ALL)\s*ALL.*$\)/\1/" /tmp/sudoers.edit
    visudo -qcsf /tmp/sudoers.edit && cat /tmp/sudoers.edit > /etc/sudoers
    # power
    pacman --noconfirm -S acpi acpid acpitool cpufrequtils
    yaourt --noconfirm -S powertop2
    sed -i "/^DAEMONS/ s/)/ @acpid)/" /etc/rc.conf
    sed -i "/^MODULES/ s/)/ acpi-cpufreq cpufreq_ondemand cpufreq_powersave coretemp)/" /etc/rc.conf
    # following requires my acpi handler script
    echo "/etc/acpi/handler.sh boot" > /etc/rc.local
    # time
    pacman --noconfirm -S ntp
    sed -i "/^DAEMONS/ s/hwclock /!hwclock @ntpd /" /etc/rc.conf
    # wireless (wpa supplicant should already be installed)
    pacman --noconfirm -S iw wpa_supplicant rfkill
    pacman --noconfirm -S netcfg wpa_actiond ifplugd
    mv /etc/wpa_supplicant.conf /etc/wpa_supplicant.conf.orig
    echo -e "ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=network\nupdate_config=1" > /etc/wpa_supplicant.conf
    # make sure to copy /etc/network.d/examples/wireless-wpa-config to /etc/network.d/home and edit
    sed -i "/^DAEMONS/ s/)/ @net-auto-wireless @net-auto-wired)/" /etc/rc.conf
    sed -i "/^DAEMONS/ s/ network / /" /etc/rc.conf
    echo -e "\nWIRELESS_INTERFACE=wlan0" >> /etc/rc.conf
    echo -e "WIRED_INTERFACE=eth0" >> /etc/rc.conf
    echo "options iwlagn led_mode=2" > /etc/modprobe.d/iwlagn.conf
    # sound
    pacman --noconfirm -S alsa-utils alsa-plugins
    sed -i "/^DAEMONS/ s/)/ @alsa)/" /etc/rc.conf
    mv /etc/asound.conf /etc/asound.conf.orig || true
    #if alsamixer isn't working, try alsamixer -Dhw and speaker-test -Dhw -c 2
    # video
    pacman --noconfirm -S base-devel mesa mesa-demos
    # x
    #pacman --noconfirm -S xorg xorg-xinit xorg-utils xorg-server-utils xdotool xorg-xlsfonts
    #yaourt --noconfirm -S xf86-input-wacom-git # NOT NEEDED? input-wacom-git
    #TODO: cut down the install size
    #pacman --noconfirm -S xorg-server xorg-xinit xorg-utils xorg-server-utils
    # TODO: wacom
    # environment/wm/etc.
    #pacman --noconfirm -S xfce4 compiz ccsm
    #pacman --noconfirm -S xcompmgr
    #yaourt --noconfirm -S physlock unclutter
    #pacman --noconfirm -S rxvt-unicode urxvt-url-select hsetroot
    #pacman --noconfirm -S gtk2 #gtk3 # for taffybar?
    #pacman --noconfirm -S ghc
    # note: try installing alex and happy from cabal instead
    #pacman --noconfirm -S haskell-platform haskell-hscolour
    #yaourt --noconfirm -S xmonad-darcs xmonad-contrib-darcs xcompmgr
    #yaourt --noconfirm -S xmobar-git
    # TODO: edit xfce to use compiz
    # TODO: xmonad, but deal with video tearing
    # TODO: xmonad-darcs fails to install from AUR. haskell dependency hell.
    # switching to cabal
    # fonts
    pacman --noconfirm -S terminus-font
    yaourt --noconfirm -S webcore-fonts
    yaourt --noconfirm -S fontforge libspiro
    yaourt --noconfirm -S freetype2-git-infinality
    # TODO: sed infinality and change to OSX or OSX2 mode
    # and create the sym link from /etc/fonts/conf.avail to conf.d
    # misc apps
    #pacman --noconfirm -S htop openssh keychain bash-completion git vim
    #pacman --noconfirm -S chromium flashplugin
    #pacman --noconfirm -S scrot mypaint bc
    #yaourt --noconfirm -S task-git stellarium googlecl
    # TODO: argyll
    POST_EOF
    # Post install in chroot
    #echo "chroot and run /post_install"
    chroot /install /post_install
    rm /install/post_install
    # copy grub.efi file to the default HP EFI boot manager path
    mkdir -p ${INSTALL_TARGET}/boot/EFI/Microsoft/BOOT/
    mkdir -p ${INSTALL_TARGET}/boot/EFI/BOOT/
    cp ${INSTALL_TARGET}/boot/grub/grub.efi ${INSTALL_TARGET}/boot/EFI/Microsoft/BOOT/bootmgfw.efi
    cp ${INSTALL_TARGET}/boot/grub/grub.efi ${INSTALL_TARGET}/boot/EFI/BOOT/BOOTX64.EFI
    cp /root/root.gpg ${INSTALL_TARGET}/boot/
    # NOTES/TODO

  • Arch Linux doesn't detect RAID of SAS hard drives

    Hello everyone:
    I'm trying to install Arch Linux 2009.08 x86_64 on a server IBM xSeries 206m, which has hard drives connected to a SAS controller card Adaptec AIC-9405.
    I put the disks in RAID 0 and starting the server, I can see on the menu of the RAID controller card that is fine, but when I'm going to make the partitions, I do not see any hard drive.
    Checking with the command dmesg, I found some messages that seem to indicate the failure:
    aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded
    aic94xx 0000:03:04.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
    aic94xx: found Adaptec AIC-9405W SAS/SATA Host Adapter, device 0000:03:04.0
    scsi2 : aic94xx
    aic94xx 0000:03:04.0: firmware: requesting aic94xx-seq.fw
    usb 2-1: configuration #1 chosen from 1 choice
    aic94xx: Failed to load sequencer firmware file aic94xx-seq.fw, error -2
    aic94xx: couldn't init seqs for 0000:03:04.0
    aic94xx: couldn't init the chip
    aic94xx 0000:03:04.0: PCI INT A disabled
    aic94xx: probe of 0000:03:04.0 failed with error -2
    Someone else with the same problem ... anyone know how to fix it ?

    GerBra wrote:
    The error message of missing firmware file in dmesg/messages.log is gone away now?
    Could you place dmesg.log or messages.log somewhere to view them? (Copy these files over network to an
    other machine and load it up to some pastebin service, or attach it here).
    You don't see the raid array when doing a: fdisk -l ?
    Also a: cat /proc/scsi/scsi should also show the array if up and running.
    SCSI modul aic94xx should also have a dir entry in /proc/scsi. Example: my Adaptec 2940 has detailled infos about the controller and device status in:
    cat /proc/scsi/aic7xxx/2
    If you have such a file (the number could differ on your machine) please post it also.
    Maybe it's the best if you open a bugreport in http://bugs.archlinux.org/index/proj6 ....
    Hi GerBra:
    This is the dmesg.log:
    Linux version 2.6.30-ARCH (root@T-POWA-LX) (gcc version 4.4.1 (GCC) ) #1 SMP PREEMPT Fri Jul 31 07:30:28 CEST 2009
    Command line: lang=en locale=en_US.UTF-8 archisolabel=ARCHISO_KE1AECIE ramdisk_size=75%
    KERNEL supported cpus:
    Intel GenuineIntel
    AMD AuthenticAMD
    Centaur CentaurHauls
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009b800 (usable)
    BIOS-e820: 000000000009b800 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 00000000bfee0000 (usable)
    BIOS-e820: 00000000bfee0000 - 00000000bfee9000 (ACPI data)
    BIOS-e820: 00000000bfee9000 - 00000000bff00000 (ACPI NVS)
    BIOS-e820: 00000000bff00000 - 00000000c0000000 (reserved)
    BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
    BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
    BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
    BIOS-e820: 0000000100000000 - 0000000140000000 (usable)
    DMI present.
    last_pfn = 0x140000 max_arch_pfn = 0x100000000
    MTRR default type: uncachable
    MTRR fixed ranges enabled:
    00000-9FFFF write-back
    A0000-BFFFF uncachable
    C0000-C7FFF write-protect
    C8000-DFFFF uncachable
    E0000-FFFFF write-protect
    MTRR variable ranges enabled:
    0 base 0C0000000 mask FC0000000 uncachable
    1 base 000000000 mask F00000000 write-back
    2 base 100000000 mask FC0000000 write-back
    3 base 0BFF00000 mask FFFF00000 uncachable
    4 disabled
    5 disabled
    6 disabled
    7 disabled
    x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    e820 update range: 00000000bff00000 - 0000000100000000 (usable) ==> (reserved)
    last_pfn = 0xbfee0 max_arch_pfn = 0x100000000
    e820 update range: 0000000000001000 - 0000000000006000 (usable) ==> (reserved)
    Scanning 1 areas for low memory corruption
    modified physical RAM map:
    modified: 0000000000000000 - 0000000000001000 (usable)
    modified: 0000000000001000 - 0000000000006000 (reserved)
    modified: 0000000000006000 - 000000000009b800 (usable)
    modified: 000000000009b800 - 00000000000a0000 (reserved)
    modified: 00000000000e0000 - 0000000000100000 (reserved)
    modified: 0000000000100000 - 00000000bfee0000 (usable)
    modified: 00000000bfee0000 - 00000000bfee9000 (ACPI data)
    modified: 00000000bfee9000 - 00000000bff00000 (ACPI NVS)
    modified: 00000000bff00000 - 00000000c0000000 (reserved)
    modified: 00000000fec00000 - 00000000fec10000 (reserved)
    modified: 00000000fee00000 - 00000000fee01000 (reserved)
    modified: 00000000ff000000 - 0000000100000000 (reserved)
    modified: 0000000100000000 - 0000000140000000 (usable)
    init_memory_mapping: 0000000000000000-00000000bfee0000
    0000000000 - 00bfe00000 page 2M
    00bfe00000 - 00bfee0000 page 4k
    kernel direct mapping tables up to bfee0000 @ 8000-d000
    init_memory_mapping: 0000000100000000-0000000140000000
    0100000000 - 0140000000 page 2M
    kernel direct mapping tables up to 140000000 @ b000-11000
    RAMDISK: 378e2000 - 37fef5c0
    ACPI: RSDP 00000000000f64f0 00014 (v00 PTLTD )
    ACPI: RSDT 00000000bfee3615 0003C (v01 PTLTD RSDT 06040000 LTP 00000000)
    ACPI: FACP 00000000bfee8e70 00074 (v01 INTEL 06040000 PTL 00000003)
    ACPI: DSDT 00000000bfee384c 05624 (v01 INTEL GLENWOOD 06040000 MSFT 0100000E)
    ACPI: FACS 00000000bfee9fc0 00040
    ACPI: SPCR 00000000bfee8ee4 00050 (v01 PTLTD $UCRTBL$ 06040000 PTL 00000001)
    ACPI: MCFG 00000000bfee8f34 0003C (v01 PTLTD MCFG 06040000 LTP 00000000)
    ACPI: APIC 00000000bfee8f70 00068 (v01 PTLTD APIC 06040000 LTP 00000000)
    ACPI: BOOT 00000000bfee8fd8 00028 (v01 PTLTD $SBFTBL$ 06040000 LTP 00000001)
    ACPI: SSDT 00000000bfee3651 001FB (v01 PmRef CpuPm 00003000 INTL 20030224)
    ACPI: Local APIC address 0xfee00000
    (8 early reservations) ==> bootmem [0000000000 - 0140000000]
    #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
    #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
    #2 [0000200000 - 000082d0d0] TEXT DATA BSS ==> [0000200000 - 000082d0d0]
    #3 [00378e2000 - 0037fef5c0] RAMDISK ==> [00378e2000 - 0037fef5c0]
    #4 [000009b800 - 0000100000] BIOS reserved ==> [000009b800 - 0000100000]
    #5 [000082e000 - 000082e198] BRK ==> [000082e000 - 000082e198]
    #6 [0000008000 - 000000b000] PGTABLE ==> [0000008000 - 000000b000]
    #7 [000000b000 - 000000c000] PGTABLE ==> [000000b000 - 000000c000]
    found SMP MP-table at [ffff8800000f6520] f6520
    [ffffe20000000000-ffffe200045fffff] PMD -> [ffff880028200000-ffff88002c7fffff] on node 0
    Zone PFN ranges:
    DMA 0x00000000 -> 0x00001000
    DMA32 0x00001000 -> 0x00100000
    Normal 0x00100000 -> 0x00140000
    Movable zone start PFN for each node
    early_node_map[4] active PFN ranges
    0: 0x00000000 -> 0x00000001
    0: 0x00000006 -> 0x0000009b
    0: 0x00000100 -> 0x000bfee0
    0: 0x00100000 -> 0x00140000
    On node 0 totalpages: 1048182
    DMA zone: 56 pages used for memmap
    DMA zone: 1688 pages reserved
    DMA zone: 2246 pages, LIFO batch:0
    DMA32 zone: 14280 pages used for memmap
    DMA32 zone: 767768 pages, LIFO batch:31
    Normal zone: 3584 pages used for memmap
    Normal zone: 258560 pages, LIFO batch:31
    ACPI: PM-Timer IO Port: 0x1008
    ACPI: Local APIC address 0xfee00000
    ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
    ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
    ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
    IOAPIC[0]: apic_id 2, version 0, address 0xfec00000, GSI 0-23
    ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
    ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    ACPI: IRQ0 used by override.
    ACPI: IRQ2 used by override.
    ACPI: IRQ9 used by override.
    Using ACPI (MADT) for SMP configuration information
    SMP: Allowing 2 CPUs, 0 hotplug CPUs
    nr_irqs_gsi: 24
    PM: Registered nosave memory: 0000000000001000 - 0000000000006000
    PM: Registered nosave memory: 000000000009b000 - 000000000009c000
    PM: Registered nosave memory: 000000000009c000 - 00000000000a0000
    PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
    PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
    PM: Registered nosave memory: 00000000bfee0000 - 00000000bfee9000
    PM: Registered nosave memory: 00000000bfee9000 - 00000000bff00000
    PM: Registered nosave memory: 00000000bff00000 - 00000000c0000000
    PM: Registered nosave memory: 00000000c0000000 - 00000000fec00000
    PM: Registered nosave memory: 00000000fec00000 - 00000000fec10000
    PM: Registered nosave memory: 00000000fec10000 - 00000000fee00000
    PM: Registered nosave memory: 00000000fee00000 - 00000000fee01000
    PM: Registered nosave memory: 00000000fee01000 - 00000000ff000000
    PM: Registered nosave memory: 00000000ff000000 - 0000000100000000
    Allocating PCI resources starting at c4000000 (gap: c0000000:3ec00000)
    NR_CPUS:16 nr_cpumask_bits:16 nr_cpu_ids:2 nr_node_ids:1
    PERCPU: Embedded 25 pages at ffff880028022000, static data 72352 bytes
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1028574
    Kernel command line: lang=en locale=en_US.UTF-8 archisolabel=ARCHISO_KE1AECIE ramdisk_size=75%
    Initializing CPU#0
    NR_IRQS:768
    PID hash table entries: 4096 (order: 12, 32768 bytes)
    Fast TSC calibration using PIT
    Detected 2999.990 MHz processor.
    Console: colour VGA+ 80x25
    console [tty0] enabled
    Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
    Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
    Checking aperture...
    No AGP bridge found
    Calgary: detecting Calgary via BIOS EBDA area
    Calgary: Unable to locate Rio Grande table in EBDA - bailing!
    PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
    Placing 64MB software IO TLB between ffff880020000000 - ffff880024000000
    software IO TLB at phys 0x20000000 - 0x24000000
    Memory: 4034028k/5242880k available (3409k kernel code, 1050152k absent, 157764k reserved, 1239k data, 464k init)
    SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    Calibrating delay loop (skipped), value calculated using timer frequency.. 6002.97 BogoMIPS (lpj=9999966)
    Security Framework initialized
    Mount-cache hash table entries: 256
    CPU: Trace cache: 12K uops, L1 D cache: 16K
    CPU: L2 cache: 2048K
    CPU: Physical Processor ID: 0
    CPU: Processor Core ID: 0
    CPU0: Thermal monitoring handled by SMI
    using mwait in idle threads.
    ACPI: Core revision 20090320
    Setting APIC routing to flat
    ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    CPU0: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 03
    Booting processor 1 APIC 0x1 ip 0x6000
    Initializing CPU#1
    Calibrating delay using timer specific routine.. 6002.80 BogoMIPS (lpj=9999695)
    CPU: Trace cache: 12K uops, L1 D cache: 16K
    CPU: L2 cache: 2048K
    CPU: Physical Processor ID: 0
    CPU: Processor Core ID: 0
    CPU1: Thermal monitoring enabled (TM1)
    x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
    CPU1: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 03
    checking TSC synchronization [CPU#0 -> CPU#1]: passed.
    Brought up 2 CPUs
    Total of 2 processors activated (12004.78 BogoMIPS).
    CPU0 attaching sched-domain:
    domain 0: span 0-1 level SIBLING
    groups: 0 1
    CPU1 attaching sched-domain:
    domain 0: span 0-1 level SIBLING
    groups: 1 0
    net_namespace: 1888 bytes
    Booting paravirtualized kernel on bare hardware
    NET: Registered protocol family 16
    ACPI: bus type pci registered
    PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 9
    PCI: Not using MMCONFIG.
    PCI: Using configuration type 1 for base access
    bio: create slab <bio-0> at 0
    ACPI: EC: Look up EC in DSDT
    ACPI: Interpreter enabled
    ACPI: (supports S0 S1 S4 S5)
    ACPI: Using IOAPIC for interrupt routing
    PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 9
    PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
    PCI: Using MMCONFIG at e0000000 - e09fffff
    ACPI: No dock devices found.
    ACPI Warning (nspredef-0331): \_SB_.PCI0._OSC: Parameter count mismatch - ASL declared 5, ACPI requires 4 [20090320]
    ACPI: PCI Root Bridge [PCI0] (0000:00)
    pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
    pci 0000:00:01.0: PME# disabled
    pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
    pci 0000:00:1c.0: PME# disabled
    pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
    pci 0000:00:1c.4: PME# disabled
    pci 0000:00:1c.5: PME# supported from D0 D3hot D3cold
    pci 0000:00:1c.5: PME# disabled
    pci 0000:00:1d.0: reg 20 io port: [0x3000-0x301f]
    pci 0000:00:1d.1: reg 20 io port: [0x3020-0x303f]
    pci 0000:00:1d.2: reg 20 io port: [0x3040-0x305f]
    pci 0000:00:1d.7: reg 10 32bit mmio: [0xc0000000-0xc00003ff]
    pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
    pci 0000:00:1d.7: PME# disabled
    pci 0000:00:1f.0: Force enabled HPET at 0xfed00000
    pci 0000:00:1f.0: quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
    pci 0000:00:1f.0: quirk: region 1180-11bf claimed by ICH6 GPIO
    pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0500 (mask 007f)
    pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 0ca0 (mask 000f)
    pci 0000:00:1f.1: reg 10 io port: [0x00-0x07]
    pci 0000:00:1f.1: reg 14 io port: [0x00-0x03]
    pci 0000:00:1f.1: reg 18 io port: [0x00-0x07]
    pci 0000:00:1f.1: reg 1c io port: [0x00-0x03]
    pci 0000:00:1f.1: reg 20 io port: [0x3080-0x308f]
    pci 0000:00:1f.3: reg 20 io port: [0x3060-0x307f]
    pci 0000:00:01.0: bridge io port: [0x00-0xfff]
    pci 0000:00:01.0: bridge 32bit mmio: [0x000000-0x0fffff]
    pci 0000:00:01.0: bridge 64bit mmio pref: [0x000000-0x0fffff]
    pci 0000:02:00.0: PXH quirk detected; SHPC device MSI disabled
    pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
    pci 0000:02:00.0: PME# disabled
    pci 0000:02:00.1: reg 10 32bit mmio: [0xc0100000-0xc0100fff]
    pci 0000:00:1c.0: bridge io port: [0x4000-0x4fff]
    pci 0000:00:1c.0: bridge 32bit mmio: [0xc0100000-0xc02fffff]
    pci 0000:00:1c.0: bridge 64bit mmio pref: [0xc0500000-0xc05fffff]
    pci 0000:03:04.0: reg 10 64bit mmio: [0xc0280000-0xc02bffff]
    pci 0000:03:04.0: reg 18 64bit mmio: [0xc0500000-0xc051ffff]
    pci 0000:03:04.0: reg 20 io port: [0x4000-0x40ff]
    pci 0000:03:04.0: reg 30 32bit mmio: [0x000000-0x07ffff]
    pci 0000:02:00.0: bridge io port: [0x4000-0x4fff]
    pci 0000:02:00.0: bridge 32bit mmio: [0xc0200000-0xc02fffff]
    pci 0000:02:00.0: bridge 64bit mmio pref: [0xc0500000-0xc05fffff]
    pci 0000:04:00.0: reg 10 64bit mmio: [0xc0300000-0xc030ffff]
    pci 0000:04:00.0: PME# supported from D3hot D3cold
    pci 0000:04:00.0: PME# disabled
    pci 0000:00:1c.4: bridge 32bit mmio: [0xc0300000-0xc03fffff]
    pci 0000:00:1c.5: bridge io port: [0x00-0xfff]
    pci 0000:00:1c.5: bridge 32bit mmio: [0x000000-0x0fffff]
    pci 0000:00:1c.5: bridge 64bit mmio pref: [0x000000-0x0fffff]
    pci 0000:0a:04.0: reg 10 32bit mmio: [0xc8000000-0xcfffffff]
    pci 0000:0a:04.0: reg 14 io port: [0x5000-0x50ff]
    pci 0000:0a:04.0: reg 18 32bit mmio: [0xc0400000-0xc040ffff]
    pci 0000:0a:04.0: reg 30 32bit mmio: [0x000000-0x01ffff]
    pci 0000:0a:04.0: supports D1 D2
    pci 0000:00:1e.0: transparent bridge
    pci 0000:00:1e.0: bridge io port: [0x5000-0x5fff]
    pci 0000:00:1e.0: bridge 32bit mmio: [0xc0400000-0xc04fffff]
    pci 0000:00:1e.0: bridge 64bit mmio pref: [0xc8000000-0xcfffffff]
    pci_bus 0000:00: on NUMA node 0
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEG_._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP1.PXHV._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP5._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP6._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
    ACPI: PCI Interrupt Link [LNKA] (IRQs 3 *10 11 14 15)
    ACPI: PCI Interrupt Link [LNKB] (IRQs 3 10 *11 14 15)
    ACPI: PCI Interrupt Link [LNKC] (IRQs 3 10 *11 14 15)
    ACPI: PCI Interrupt Link [LNKD] (IRQs 3 *10 11 14 15)
    ACPI: PCI Interrupt Link [LNKE] (IRQs 3 10 11 14 15) *0, disabled.
    ACPI: PCI Interrupt Link [LNKF] (IRQs 3 10 11 14 15) *0, disabled.
    ACPI: PCI Interrupt Link [LNKG] (IRQs 3 10 11 14 15) *0, disabled.
    ACPI: PCI Interrupt Link [LNKH] (IRQs 3 10 11 14 15) *5
    PCI: Using ACPI for IRQ routing
    pci 0000:00:01.0: BAR 13: can't allocate resource
    pci 0000:00:01.0: BAR 14: can't allocate resource
    pci 0000:00:01.0: BAR 15: can't allocate resource
    pci 0000:00:1c.5: BAR 13: can't allocate resource
    pci 0000:00:1c.5: BAR 14: can't allocate resource
    pci 0000:00:1c.5: BAR 15: can't allocate resource
    NetLabel: Initializing
    NetLabel: domain hash size = 128
    NetLabel: protocols = UNLABELED CIPSOv4
    NetLabel: unlabeled traffic allowed by default
    hpet clockevent registered
    HPET: 3 timers in total, 0 timers will be used for per-cpu timer
    pnp: PnP ACPI init
    ACPI: bus type pnp registered
    pnp: PnP ACPI: found 12 devices
    ACPI: ACPI bus type pnp unregistered
    system 00:01: ioport range 0x800-0x83f has been reserved
    system 00:01: ioport range 0x1000-0x107f has been reserved
    system 00:01: ioport range 0x1180-0x11bf has been reserved
    system 00:01: ioport range 0x4d0-0x4d1 has been reserved
    system 00:01: ioport range 0x500-0x57f has been reserved
    system 00:01: ioport range 0xca8-0xca8 has been reserved
    system 00:01: ioport range 0xcac-0xcac has been reserved
    system 00:01: ioport range 0xfe00-0xfe00 has been reserved
    system 00:01: iomem range 0xfed14000-0xfed17fff has been reserved
    system 00:01: iomem range 0xfed13000-0xfed13fff has been reserved
    system 00:01: iomem range 0xe0000000-0xefffffff has been reserved
    system 00:01: iomem range 0xfed20000-0xfed8ffff has been reserved
    pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
    pci 0000:00:01.0: IO window: disabled
    pci 0000:00:01.0: MEM window: disabled
    pci 0000:00:01.0: PREFETCH window: disabled
    pci 0000:02:00.0: PCI bridge, secondary bus 0000:03
    pci 0000:02:00.0: IO window: 0x4000-0x4fff
    pci 0000:02:00.0: MEM window: 0xc0200000-0xc02fffff
    pci 0000:02:00.0: PREFETCH window: 0x000000c0500000-0x000000c05fffff
    pci 0000:00:1c.0: PCI bridge, secondary bus 0000:02
    pci 0000:00:1c.0: IO window: 0x4000-0x4fff
    pci 0000:00:1c.0: MEM window: 0xc0100000-0xc02fffff
    pci 0000:00:1c.0: PREFETCH window: 0x000000c0500000-0x000000c05fffff
    pci 0000:00:1c.4: PCI bridge, secondary bus 0000:04
    pci 0000:00:1c.4: IO window: disabled
    pci 0000:00:1c.4: MEM window: 0xc0300000-0xc03fffff
    pci 0000:00:1c.4: PREFETCH window: disabled
    pci 0000:00:1c.5: PCI bridge, secondary bus 0000:05
    pci 0000:00:1c.5: IO window: disabled
    pci 0000:00:1c.5: MEM window: disabled
    pci 0000:00:1c.5: PREFETCH window: disabled
    pci 0000:00:1e.0: PCI bridge, secondary bus 0000:0a
    pci 0000:00:1e.0: IO window: 0x5000-0x5fff
    pci 0000:00:1e.0: MEM window: 0xc0400000-0xc04fffff
    pci 0000:00:1e.0: PREFETCH window: 0x000000c8000000-0x000000cfffffff
    pci 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    pci 0000:00:01.0: setting latency timer to 64
    pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    pci 0000:00:1c.0: setting latency timer to 64
    pci 0000:02:00.0: setting latency timer to 64
    pci 0000:00:1c.4: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    pci 0000:00:1c.4: setting latency timer to 64
    pci 0000:00:1c.5: PCI INT B -> GSI 16 (level, low) -> IRQ 16
    pci 0000:00:1c.5: setting latency timer to 64
    pci 0000:00:1e.0: setting latency timer to 64
    pci_bus 0000:00: resource 0 io: [0x00-0xffff]
    pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffffffffffff]
    pci_bus 0000:01: resource 0 mem: [0x0-0xfff]
    pci_bus 0000:01: resource 1 mem: [0x0-0xfffff]
    pci_bus 0000:01: resource 2 mem: [0x0-0xfffff]
    pci_bus 0000:02: resource 0 io: [0x4000-0x4fff]
    pci_bus 0000:02: resource 1 mem: [0xc0100000-0xc02fffff]
    pci_bus 0000:02: resource 2 pref mem [0xc0500000-0xc05fffff]
    pci_bus 0000:03: resource 0 io: [0x4000-0x4fff]
    pci_bus 0000:03: resource 1 mem: [0xc0200000-0xc02fffff]
    pci_bus 0000:03: resource 2 pref mem [0xc0500000-0xc05fffff]
    pci_bus 0000:04: resource 1 mem: [0xc0300000-0xc03fffff]
    pci_bus 0000:05: resource 0 mem: [0x0-0xfff]
    pci_bus 0000:05: resource 1 mem: [0x0-0xfffff]
    pci_bus 0000:05: resource 2 mem: [0x0-0xfffff]
    pci_bus 0000:0a: resource 0 io: [0x5000-0x5fff]
    pci_bus 0000:0a: resource 1 mem: [0xc0400000-0xc04fffff]
    pci_bus 0000:0a: resource 2 pref mem [0xc8000000-0xcfffffff]
    pci_bus 0000:0a: resource 3 io: [0x00-0xffff]
    pci_bus 0000:0a: resource 4 mem: [0x000000-0xffffffffffffffff]
    NET: Registered protocol family 2
    IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
    TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
    TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
    TCP: Hash tables configured (established 262144 bind 65536)
    TCP reno registered
    NET: Registered protocol family 1
    Unpacking initramfs...
    Freeing initrd memory: 7221k freed
    Simple Boot Flag at 0x3c set to 0x1
    Scanning for low memory corruption every 60 seconds
    audit: initializing netlink socket (disabled)
    type=2000 audit(1250095030.473:1): initialized
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    msgmni has been set to 7894
    alg: No test for stdrng (krng)
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    PCI quirk: reroute interrupts for 0x8086:0x032c
    pci 0000:0a:04.0: Boot video device
    pcieport-driver 0000:00:01.0: irq 24 for MSI/MSI-X
    pcieport-driver 0000:00:01.0: setting latency timer to 64
    pcieport-driver 0000:00:1c.0: irq 25 for MSI/MSI-X
    pcieport-driver 0000:00:1c.0: setting latency timer to 64
    pcieport-driver 0000:00:1c.4: irq 26 for MSI/MSI-X
    pcieport-driver 0000:00:1c.4: setting latency timer to 64
    pcieport-driver 0000:00:1c.5: irq 27 for MSI/MSI-X
    pcieport-driver 0000:00:1c.5: setting latency timer to 64
    Linux agpgart interface v0.103
    Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    input: Macintosh mouse button emulation as /devices/virtual/input/input0
    PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
    serio: i8042 KBD port at 0x60,0x64 irq 1
    serio: i8042 AUX port at 0x60,0x64 irq 12
    mice: PS/2 mouse device common for all mice
    cpuidle: using governor ladder
    cpuidle: using governor menu
    TCP cubic registered
    NET: Registered protocol family 17
    registered taskstats version 1
    Initalizing network drop monitor service
    Freeing unused kernel memory: 464k freed
    input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
    Switched to high resolution mode on CPU 1
    Switched to high resolution mode on CPU 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
    ehci_hcd 0000:00:1d.7: setting latency timer to 64
    ehci_hcd 0000:00:1d.7: EHCI Host Controller
    ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
    ehci_hcd 0000:00:1d.7: debug port 1
    ehci_hcd 0000:00:1d.7: cache line size of 128 is not supported
    ehci_hcd 0000:00:1d.7: irq 23, io mem 0xc0000000
    ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 6 ports detected
    uhci_hcd: USB Universal Host Controller Interface driver
    uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
    uhci_hcd 0000:00:1d.0: setting latency timer to 64
    uhci_hcd 0000:00:1d.0: UHCI Host Controller
    uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
    uhci_hcd 0000:00:1d.0: irq 23, io base 0x00003000
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    uhci_hcd 0000:00:1d.1: setting latency timer to 64
    uhci_hcd 0000:00:1d.1: UHCI Host Controller
    uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
    uhci_hcd 0000:00:1d.1: irq 19, io base 0x00003020
    usb usb3: configuration #1 chosen from 1 choice
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    uhci_hcd 0000:00:1d.2: setting latency timer to 64
    uhci_hcd 0000:00:1d.2: UHCI Host Controller
    uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
    uhci_hcd 0000:00:1d.2: irq 18, io base 0x00003040
    usb usb4: configuration #1 chosen from 1 choice
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 2 ports detected
    libata version 3.00 loaded.
    ata_piix 0000:00:1f.1: version 2.13
    ata_piix 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    ata_piix 0000:00:1f.1: setting latency timer to 64
    scsi0 : ata_piix
    scsi1 : ata_piix
    aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded
    aic94xx 0000:03:04.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
    ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x3080 irq 14
    ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x3088 irq 15
    aic94xx: found Adaptec AIC-9405W SAS/SATA Host Adapter, device 0000:03:04.0
    scsi2 : aic94xx
    aic94xx 0000:03:04.0: firmware: requesting aic94xx-seq.fw
    aic94xx: Failed to load sequencer firmware file aic94xx-seq.fw, error -2
    aic94xx: couldn't init seqs for 0000:03:04.0
    aic94xx: couldn't init the chip
    aic94xx 0000:03:04.0: PCI INT A disabled
    aic94xx: probe of 0000:03:04.0 failed with error -2
    ata1.00: ATAPI: HL-DT-STDVD-RAM GSA-H55N, 1.03, max UDMA/66
    ata1.00: limited to UDMA/33 due to 40-wire cable
    ata1.00: configured for UDMA/33
    scsi 0:0:0:0: CD-ROM HL-DT-ST DVD-RAM GSA-H55N 1.03 PQ: 0 ANSI: 5
    ata2: port disabled. ignoring.
    Driver 'sr' needs updating - please use bus_type methods
    sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
    Uniform CD-ROM driver Revision: 3.20
    sr 0:0:0:0: Attached scsi CD-ROM sr0
    usb 2-1: new low speed USB device using uhci_hcd and address 2
    usb 2-1: configuration #1 chosen from 1 choice
    usbcore: registered new interface driver hiddev
    input: USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input2
    generic-usb 0003:04B3:310C.0001: input,hidraw0: USB HID v1.11 Mouse [USB Optical Mouse] on usb-0000:00:1d.0-1/input0
    usbcore: registered new interface driver usbhid
    usbhid: v2.6:USB HID core driver
    ISO 9660 Extensions: RRIP_1991A
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    aufs 2-standalone.tree-20090601
    loop: module loaded
    aufs test_add:240:mount[635]: uid/gid/perm /tmpfs/mnt/loop0 0/0/0755, 0/0/01777
    aufs test_add:240:mount[648]: uid/gid/perm /tmpfs/mnt/loop2 0/0/0755, 0/0/01777
    rtc_cmos 00:04: RTC can wake from S4
    rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
    rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
    udev: starting version 141
    input: PC Speaker as /devices/platform/pcspkr/input/input3
    intel_rng: FWH not detected
    pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
    ACPI: Power Button [PWRF]
    input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0A03:00/PNP0C0C:00/input/input5
    ACPI: Power Button [PWRB]
    EDAC MC: Ver: 2.1.0 Jul 31 2009
    iTCO_vendor_support: vendor-support=0
    i801_smbus 0000:00:1f.3: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    tg3.c:v3.98 (February 25, 2009)
    tg3 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    tg3 0000:04:00.0: setting latency timer to 64
    tg3 0000:04:00.0: PME# disabled
    eth0: Tigon3 [partno(BCM95721) rev 4101] (PCI Express) MAC address 00:11:25:a4:42:2f
    eth0: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1])
    eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
    eth0: dma_rwctrl[76180000] dma_mask[64-bit]
    sr 0:0:0:0: Attached scsi generic sg0 type 5
    iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
    iTCO_wdt: Found a ICH7 or ICH7R TCO device (Version=2, TCOBASE=0x1060)
    iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
    processor ACPI_CPU:00: registered as cooling_device0
    ACPI: Processor [CPU0] (supports 8 throttling states)
    processor ACPI_CPU:01: registered as cooling_device1
    ACPI: Processor [CPU1] (supports 8 throttling states)
    EDAC MC0: Giving out device to 'i3000_edac' 'i3000': DEV 0000:00:00.0
    EDAC PCI0: Giving out device to module 'i3000_edac' controller 'EDAC PCI controller': DEV '0000:00:00.0' (POLLED)
    lp: driver loaded but no devices found
    parport_pc 00:0b: reported by Plug and Play ACPI
    parport0: PC-style at 0x378 (0x778), irq 7, dma 1 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
    lp0: using parport0 (interrupt-driven).
    ppdev: user-space parallel port driver
    This is the messages.log:
    Aug 12 16:37:33 archiso kernel: Linux version 2.6.30-ARCH (root@T-POWA-LX) (gcc version 4.4.1 (GCC) ) #1 SMP PREEMPT Fri Jul 31 07:30:28 CEST 2009
    Aug 12 16:37:33 archiso kernel: Command line: lang=en locale=en_US.UTF-8 archisolabel=ARCHISO_KE1AECIE ramdisk_size=75%
    Aug 12 16:37:33 archiso kernel: KERNEL supported cpus:
    Aug 12 16:37:33 archiso kernel: Intel GenuineIntel
    Aug 12 16:37:33 archiso kernel: AMD AuthenticAMD
    Aug 12 16:37:33 archiso kernel: Centaur CentaurHauls
    Aug 12 16:37:33 archiso kernel: BIOS-provided physical RAM map:
    Aug 12 16:37:33 archiso kernel: BIOS-e820: 0000000000000000 - 000000000009b800 (usable)
    Aug 12 16:37:33 archiso kernel: BIOS-e820: 000000000009b800 - 00000000000a0000 (reserved)
    Aug 12 16:37:33 archiso kernel: BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
    Aug 12 16:37:33 archiso kernel: BIOS-e820: 0000000000100000 - 00000000bfee0000 (usable)
    Aug 12 16:37:33 archiso kernel: BIOS-e820: 00000000bfee0000 - 00000000bfee9000 (ACPI data)
    Aug 12 16:37:33 archiso kernel: BIOS-e820: 00000000bfee9000 - 00000000bff00000 (ACPI NVS)
    Aug 12 16:37:33 archiso kernel: BIOS-e820: 00000000bff00000 - 00000000c0000000 (reserved)
    Aug 12 16:37:33 archiso kernel: BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
    Aug 12 16:37:33 archiso kernel: BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
    Aug 12 16:37:33 archiso kernel: BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
    Aug 12 16:37:33 archiso kernel: BIOS-e820: 0000000100000000 - 0000000140000000 (usable)
    Aug 12 16:37:33 archiso kernel: DMI present.
    Aug 12 16:37:33 archiso kernel: last_pfn = 0x140000 max_arch_pfn = 0x100000000
    Aug 12 16:37:33 archiso kernel: x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    Aug 12 16:37:33 archiso kernel: last_pfn = 0xbfee0 max_arch_pfn = 0x100000000
    Aug 12 16:37:33 archiso kernel: Scanning 1 areas for low memory corruption
    Aug 12 16:37:33 archiso kernel: modified physical RAM map:
    Aug 12 16:37:33 archiso kernel: modified: 0000000000000000 - 0000000000001000 (usable)
    Aug 12 16:37:33 archiso kernel: modified: 0000000000001000 - 0000000000006000 (reserved)
    Aug 12 16:37:33 archiso kernel: modified: 0000000000006000 - 000000000009b800 (usable)
    Aug 12 16:37:33 archiso kernel: modified: 000000000009b800 - 00000000000a0000 (reserved)
    Aug 12 16:37:33 archiso kernel: modified: 00000000000e0000 - 0000000000100000 (reserved)
    Aug 12 16:37:33 archiso kernel: modified: 0000000000100000 - 00000000bfee0000 (usable)
    Aug 12 16:37:33 archiso kernel: modified: 00000000bfee0000 - 00000000bfee9000 (ACPI data)
    Aug 12 16:37:33 archiso kernel: modified: 00000000bfee9000 - 00000000bff00000 (ACPI NVS)
    Aug 12 16:37:33 archiso kernel: modified: 00000000bff00000 - 00000000c0000000 (reserved)
    Aug 12 16:37:33 archiso kernel: modified: 00000000fec00000 - 00000000fec10000 (reserved)
    Aug 12 16:37:33 archiso kernel: modified: 00000000fee00000 - 00000000fee01000 (reserved)
    Aug 12 16:37:33 archiso kernel: modified: 00000000ff000000 - 0000000100000000 (reserved)
    Aug 12 16:37:33 archiso kernel: modified: 0000000100000000 - 0000000140000000 (usable)
    Aug 12 16:37:33 archiso kernel: init_memory_mapping: 0000000000000000-00000000bfee0000
    Aug 12 16:37:33 archiso kernel: init_memory_mapping: 0000000100000000-0000000140000000
    Aug 12 16:37:33 archiso kernel: RAMDISK: 378e2000 - 37fef5c0
    Aug 12 16:37:33 archiso kernel: ACPI: RSDP 00000000000f64f0 00014 (v00 PTLTD )
    Aug 12 16:37:33 archiso kernel: ACPI: RSDT 00000000bfee3615 0003C (v01 PTLTD RSDT 06040000 LTP 00000000)
    Aug 12 16:37:33 archiso kernel: ACPI: FACP 00000000bfee8e70 00074 (v01 INTEL 06040000 PTL 00000003)
    Aug 12 16:37:33 archiso kernel: ACPI: DSDT 00000000bfee384c 05624 (v01 INTEL GLENWOOD 06040000 MSFT 0100000E)
    Aug 12 16:37:33 archiso kernel: ACPI: FACS 00000000bfee9fc0 00040
    Aug 12 16:37:33 archiso kernel: ACPI: SPCR 00000000bfee8ee4 00050 (v01 PTLTD $UCRTBL$ 06040000 PTL 00000001)
    Aug 12 16:37:33 archiso kernel: ACPI: MCFG 00000000bfee8f34 0003C (v01 PTLTD MCFG 06040000 LTP 00000000)
    Aug 12 16:37:33 archiso kernel: ACPI: APIC 00000000bfee8f70 00068 (v01 PTLTD APIC 06040000 LTP 00000000)
    Aug 12 16:37:33 archiso kernel: ACPI: BOOT 00000000bfee8fd8 00028 (v01 PTLTD $SBFTBL$ 06040000 LTP 00000001)
    Aug 12 16:37:33 archiso kernel: ACPI: SSDT 00000000bfee3651 001FB (v01 PmRef CpuPm 00003000 INTL 20030224)
    Aug 12 16:37:33 archiso kernel: (8 early reservations) ==> bootmem [0000000000 - 0140000000]
    Aug 12 16:37:33 archiso kernel: #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
    Aug 12 16:37:33 archiso kernel: #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
    Aug 12 16:37:33 archiso kernel: #2 [0000200000 - 000082d0d0] TEXT DATA BSS ==> [0000200000 - 000082d0d0]
    Aug 12 16:37:33 archiso kernel: #3 [00378e2000 - 0037fef5c0] RAMDISK ==> [00378e2000 - 0037fef5c0]
    Aug 12 16:37:33 archiso kernel: #4 [000009b800 - 0000100000] BIOS reserved ==> [000009b800 - 0000100000]
    Aug 12 16:37:33 archiso kernel: #5 [000082e000 - 000082e198] BRK ==> [000082e000 - 000082e198]
    Aug 12 16:37:33 archiso kernel: #6 [0000008000 - 000000b000] PGTABLE ==> [0000008000 - 000000b000]
    Aug 12 16:37:33 archiso kernel: #7 [000000b000 - 000000c000] PGTABLE ==> [000000b000 - 000000c000]
    Aug 12 16:37:33 archiso kernel: found SMP MP-table at [ffff8800000f6520] f6520
    Aug 12 16:37:33 archiso kernel: Zone PFN ranges:
    Aug 12 16:37:33 archiso kernel: DMA 0x00000000 -> 0x00001000
    Aug 12 16:37:33 archiso kernel: DMA32 0x00001000 -> 0x00100000
    Aug 12 16:37:33 archiso kernel: Normal 0x00100000 -> 0x00140000
    Aug 12 16:37:33 archiso kernel: Movable zone start PFN for each node
    Aug 12 16:37:33 archiso kernel: early_node_map[4] active PFN ranges
    Aug 12 16:37:33 archiso kernel: 0: 0x00000000 -> 0x00000001
    Aug 12 16:37:33 archiso kernel: 0: 0x00000006 -> 0x0000009b
    Aug 12 16:37:33 archiso kernel: 0: 0x00000100 -> 0x000bfee0
    Aug 12 16:37:33 archiso kernel: 0: 0x00100000 -> 0x00140000
    Aug 12 16:37:33 archiso kernel: ACPI: PM-Timer IO Port: 0x1008
    Aug 12 16:37:33 archiso kernel: ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    Aug 12 16:37:33 archiso kernel: ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
    Aug 12 16:37:33 archiso kernel: ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
    Aug 12 16:37:33 archiso kernel: ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    Aug 12 16:37:33 archiso kernel: ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
    Aug 12 16:37:33 archiso kernel: IOAPIC[0]: apic_id 2, version 0, address 0xfec00000, GSI 0-23
    Aug 12 16:37:33 archiso kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
    Aug 12 16:37:33 archiso kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    Aug 12 16:37:33 archiso kernel: Using ACPI (MADT) for SMP configuration information
    Aug 12 16:37:33 archiso kernel: SMP: Allowing 2 CPUs, 0 hotplug CPUs
    Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 0000000000001000 - 0000000000006000
    Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 000000000009b000 - 000000000009c000
    Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 000000000009c000 - 00000000000a0000
    Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
    Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
    Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000bfee0000 - 00000000bfee9000
    Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000bfee9000 - 00000000bff00000
    Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000bff00000 - 00000000c0000000
    Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000c0000000 - 00000000fec00000
    Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000fec00000 - 00000000fec10000
    Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000fec10000 - 00000000fee00000
    Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000fee00000 - 00000000fee01000
    Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000fee01000 - 00000000ff000000
    Aug 12 16:37:33 archiso kernel: PM: Registered nosave memory: 00000000ff000000 - 0000000100000000
    Aug 12 16:37:33 archiso kernel: Allocating PCI resources starting at c4000000 (gap: c0000000:3ec00000)
    Aug 12 16:37:33 archiso kernel: NR_CPUS:16 nr_cpumask_bits:16 nr_cpu_ids:2 nr_node_ids:1
    Aug 12 16:37:33 archiso kernel: PERCPU: Embedded 25 pages at ffff880028022000, static data 72352 bytes
    Aug 12 16:37:33 archiso kernel: Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1028574
    Aug 12 16:37:33 archiso kernel: Kernel command line: lang=en locale=en_US.UTF-8 archisolabel=ARCHISO_KE1AECIE ramdisk_size=75%
    Aug 12 16:37:33 archiso kernel: Initializing CPU#0
    Aug 12 16:37:33 archiso kernel: NR_IRQS:768
    Aug 12 16:37:33 archiso kernel: PID hash table entries: 4096 (order: 12, 32768 bytes)
    Aug 12 16:37:33 archiso kernel: Fast TSC calibration using PIT
    Aug 12 16:37:33 archiso kernel: Detected 2999.990 MHz processor.
    Aug 12 16:37:33 archiso kernel: Console: colour VGA+ 80x25
    Aug 12 16:37:33 archiso kernel: console [tty0] enabled
    Aug 12 16:37:33 archiso kernel: Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
    Aug 12 16:37:33 archiso kernel: Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
    Aug 12 16:37:33 archiso kernel: Checking aperture...
    Aug 12 16:37:33 archiso kernel: No AGP bridge found
    Aug 12 16:37:33 archiso kernel: PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
    Aug 12 16:37:33 archiso kernel: Placing 64MB software IO TLB between ffff880020000000 - ffff880024000000
    Aug 12 16:37:33 archiso kernel: software IO TLB at phys 0x20000000 - 0x24000000
    Aug 12 16:37:33 archiso kernel: Memory: 4034028k/5242880k available (3409k kernel code, 1050152k absent, 157764k reserved, 1239k data, 464k init)
    Aug 12 16:37:33 archiso kernel: SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    Aug 12 16:37:33 archiso kernel: Calibrating delay loop (skipped), value calculated using timer frequency.. 6002.97 BogoMIPS (lpj=9999966)
    Aug 12 16:37:33 archiso kernel: Security Framework initialized
    Aug 12 16:37:33 archiso kernel: Mount-cache hash table entries: 256
    Aug 12 16:37:33 archiso kernel: CPU: Trace cache: 12K uops, L1 D cache: 16K
    Aug 12 16:37:33 archiso kernel: CPU: L2 cache: 2048K
    Aug 12 16:37:33 archiso kernel: CPU: Physical Processor ID: 0
    Aug 12 16:37:33 archiso kernel: CPU: Processor Core ID: 0
    Aug 12 16:37:33 archiso kernel: using mwait in idle threads.
    Aug 12 16:37:33 archiso kernel: ACPI: Core revision 20090320
    Aug 12 16:37:33 archiso kernel: Setting APIC routing to flat
    Aug 12 16:37:33 archiso kernel: ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    Aug 12 16:37:33 archiso kernel: CPU0: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 03
    Aug 12 16:37:33 archiso kernel: Booting processor 1 APIC 0x1 ip 0x6000
    Aug 12 16:37:33 archiso kernel: Initializing CPU#1
    Aug 12 16:37:33 archiso kernel: Calibrating delay using timer specific routine.. 6002.80 BogoMIPS (lpj=9999695)
    Aug 12 16:37:33 archiso kernel: CPU: Trace cache: 12K uops, L1 D cache: 16K
    Aug 12 16:37:33 archiso kernel: CPU: L2 cache: 2048K
    Aug 12 16:37:33 archiso kernel: CPU: Physical Processor ID: 0
    Aug 12 16:37:33 archiso kernel: CPU: Processor Core ID: 0
    Aug 12 16:37:33 archiso kernel: CPU1: Thermal monitoring enabled (TM1)
    Aug 12 16:37:33 archiso kernel: x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
    Aug 12 16:37:33 archiso kernel: CPU1: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 03
    Aug 12 16:37:33 archiso kernel: checking TSC synchronization [CPU#0 -> CPU#1]: passed.
    Aug 12 16:37:33 archiso kernel: Brought up 2 CPUs
    Aug 12 16:37:33 archiso kernel: Total of 2 processors activated (12004.78 BogoMIPS).
    Aug 12 16:37:33 archiso kernel: net_namespace: 1888 bytes
    Aug 12 16:37:33 archiso kernel: Booting paravirtualized kernel on bare hardware
    Aug 12 16:37:33 archiso kernel: NET: Registered protocol family 16
    Aug 12 16:37:33 archiso kernel: ACPI: bus type pci registered
    Aug 12 16:37:33 archiso kernel: PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 9
    Aug 12 16:37:33 archiso kernel: PCI: Not using MMCONFIG.
    Aug 12 16:37:33 archiso kernel: PCI: Using configuration type 1 for base access
    Aug 12 16:37:33 archiso kernel: bio: create slab <bio-0> at 0
    Aug 12 16:37:33 archiso kernel: ACPI: Interpreter enabled
    Aug 12 16:37:33 archiso kernel: ACPI: (supports S0 S1 S4 S5)
    Aug 12 16:37:33 archiso kernel: ACPI: Using IOAPIC for interrupt routing
    Aug 12 16:37:33 archiso kernel: PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 9
    Aug 12 16:37:33 archiso kernel: PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
    Aug 12 16:37:33 archiso kernel: PCI: Using MMCONFIG at e0000000 - e09fffff
    Aug 12 16:37:33 archiso kernel: ACPI: No dock devices found.
    Aug 12 16:37:33 archiso kernel: ACPI Warning (nspredef-0331): \_SB_.PCI0._OSC: Parameter count mismatch - ASL declared 5, ACPI requires 4 [20090320]
    Aug 12 16:37:33 archiso kernel: ACPI: PCI Root Bridge [PCI0] (0000:00)
    Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
    Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: PME# disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.0: PME# disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.4: PME# disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: PME# supported from D0 D3hot D3cold
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: PME# disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1d.7: PME# disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1f.0: quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1f.0: quirk: region 1180-11bf claimed by ICH6 GPIO
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0500 (mask 007f)
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 0ca0 (mask 000f)
    Aug 12 16:37:33 archiso kernel: pci 0000:02:00.0: PXH quirk detected; SHPC device MSI disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
    Aug 12 16:37:33 archiso kernel: pci 0000:02:00.0: PME# disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:04:00.0: PME# supported from D3hot D3cold
    Aug 12 16:37:33 archiso kernel: pci 0000:04:00.0: PME# disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1e.0: transparent bridge
    Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 3 *10 11 14 15)
    Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 3 10 *11 14 15)
    Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 3 10 *11 14 15)
    Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 3 *10 11 14 15)
    Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKE] (IRQs 3 10 11 14 15) *0, disabled.
    Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKF] (IRQs 3 10 11 14 15) *0, disabled.
    Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKG] (IRQs 3 10 11 14 15) *0, disabled.
    Aug 12 16:37:33 archiso kernel: ACPI: PCI Interrupt Link [LNKH] (IRQs 3 10 11 14 15) *5
    Aug 12 16:37:33 archiso kernel: PCI: Using ACPI for IRQ routing
    Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: BAR 13: can't allocate resource
    Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: BAR 14: can't allocate resource
    Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: BAR 15: can't allocate resource
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: BAR 13: can't allocate resource
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: BAR 14: can't allocate resource
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: BAR 15: can't allocate resource
    Aug 12 16:37:33 archiso kernel: NetLabel: Initializing
    Aug 12 16:37:33 archiso kernel: NetLabel: domain hash size = 128
    Aug 12 16:37:33 archiso kernel: NetLabel: protocols = UNLABELED CIPSOv4
    Aug 12 16:37:33 archiso kernel: NetLabel: unlabeled traffic allowed by default
    Aug 12 16:37:33 archiso kernel: HPET: 3 timers in total, 0 timers will be used for per-cpu timer
    Aug 12 16:37:33 archiso kernel: pnp: PnP ACPI init
    Aug 12 16:37:33 archiso kernel: ACPI: bus type pnp registered
    Aug 12 16:37:33 archiso kernel: pnp: PnP ACPI: found 12 devices
    Aug 12 16:37:33 archiso kernel: ACPI: ACPI bus type pnp unregistered
    Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0x800-0x83f has been reserved
    Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0x1000-0x107f has been reserved
    Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0x1180-0x11bf has been reserved
    Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0x4d0-0x4d1 has been reserved
    Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0x500-0x57f has been reserved
    Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0xca8-0xca8 has been reserved
    Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0xcac-0xcac has been reserved
    Aug 12 16:37:33 archiso kernel: system 00:01: ioport range 0xfe00-0xfe00 has been reserved
    Aug 12 16:37:33 archiso kernel: system 00:01: iomem range 0xfed14000-0xfed17fff has been reserved
    Aug 12 16:37:33 archiso kernel: system 00:01: iomem range 0xfed13000-0xfed13fff has been reserved
    Aug 12 16:37:33 archiso kernel: system 00:01: iomem range 0xe0000000-0xefffffff has been reserved
    Aug 12 16:37:33 archiso kernel: system 00:01: iomem range 0xfed20000-0xfed8ffff has been reserved
    Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
    Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: IO window: disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: MEM window: disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: PREFETCH window: disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:02:00.0: PCI bridge, secondary bus 0000:03
    Aug 12 16:37:33 archiso kernel: pci 0000:02:00.0: IO window: 0x4000-0x4fff
    Aug 12 16:37:33 archiso kernel: pci 0000:02:00.0: MEM window: 0xc0200000-0xc02fffff
    Aug 12 16:37:33 archiso kernel: pci 0000:02:00.0: PREFETCH window: 0x000000c0500000-0x000000c05fffff
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.0: PCI bridge, secondary bus 0000:02
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.0: IO window: 0x4000-0x4fff
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.0: MEM window: 0xc0100000-0xc02fffff
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.0: PREFETCH window: 0x000000c0500000-0x000000c05fffff
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.4: PCI bridge, secondary bus 0000:04
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.4: IO window: disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.4: MEM window: 0xc0300000-0xc03fffff
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.4: PREFETCH window: disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: PCI bridge, secondary bus 0000:05
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: IO window: disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: MEM window: disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: PREFETCH window: disabled
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1e.0: PCI bridge, secondary bus 0000:0a
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1e.0: IO window: 0x5000-0x5fff
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1e.0: MEM window: 0xc0400000-0xc04fffff
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1e.0: PREFETCH window: 0x000000c8000000-0x000000cfffffff
    Aug 12 16:37:33 archiso kernel: pci 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.4: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    Aug 12 16:37:33 archiso kernel: pci 0000:00:1c.5: PCI INT B -> GSI 16 (level, low) -> IRQ 16
    Aug 12 16:37:33 archiso kernel: NET: Registered protocol family 2
    Aug 12 16:37:33 archiso kernel: IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
    Aug 12 16:37:33 archiso kernel: TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
    Aug 12 16:37:33 archiso kernel: TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
    Aug 12 16:37:33 archiso kernel: TCP: Hash tables configured (established 262144 bind 65536)
    Aug 12 16:37:33 archiso kernel: TCP reno registered
    Aug 12 16:37:33 archiso kernel: NET: Registered protocol family 1
    Aug 12 16:37:33 archiso kernel: Unpacking initramfs...
    Aug 12 16:37:33 archiso kernel: Freeing initrd memory: 7221k freed
    Aug 12 16:37:33 archiso kernel: Simple Boot Flag at 0x3c set to 0x1
    Aug 12 16:37:33 archiso kernel: Scanning for low memory corruption every 60 seconds
    Aug 12 16:37:33 archiso kernel: audit: initializing netlink socket (disabled)
    Aug 12 16:37:33 archiso kernel: type=2000 audit(1250095030.473:1): initialized
    Aug 12 16:37:33 archiso kernel: VFS: Disk quotas dquot_6.5.2
    Aug 12 16:37:33 archiso kernel: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    Aug 12 16:37:33 archiso kernel: msgmni has been set to 7894
    Aug 12 16:37:33 archiso kernel: alg: No test for stdrng (krng)
    Aug 12 16:37:33 archiso kernel: Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
    Aug 12 16:37:33 archiso kernel: io scheduler noop registered
    Aug 12 16:37:33 archiso kernel: io scheduler anticipatory registered
    Aug 12 16:37:33 archiso kernel: io scheduler deadline registered
    Aug 12 16:37:33 archiso kernel: io scheduler cfq registered (default)
    Aug 12 16:37:33 archiso kernel: PCI quirk: reroute interrupts for 0x8086:0x032c
    Aug 12 16:37:33 archiso kernel: Linux agpgart interface v0.103
    Aug 12 16:37:33 archiso kernel: Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    Aug 12 16:37:33 archiso kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    Aug 12 16:37:33 archiso kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    Aug 12 16:37:33 archiso kernel: 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    Aug 12 16:37:33 archiso kernel: 00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    Aug 12 16:37:33 archiso kernel: input: Macintosh mouse button emulation as /devices/virtual/input/input0
    Aug 12 16:37:33 archiso kernel: PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
    Aug 12 16:37:33 archiso kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
    Aug 12 16:37:33 archiso kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
    Aug 12 16:37:33 archiso kernel: mice: PS/2 mouse device common for all mice
    Aug 12 16:37:33 archiso kernel: cpuidle: using governor ladder
    Aug 12 16:37:33 archiso kernel: cpuidle: using governor menu
    Aug 12 16:37:33 archiso kernel: TCP cubic registered
    Aug 12 16:37:33 archiso kernel: NET: Registered protocol family 17
    Aug 12 16:37:33 archiso kernel: registered taskstats version 1
    Aug 12 16:37:33 archiso kernel: Initalizing network drop monitor service
    Aug 12 16:37:33 archiso kernel: Freeing unused kernel memory: 464k freed
    Aug 12 16:37:33 archiso kernel: input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
    Aug 12 16:37:33 archiso kernel: SCSI subsystem initialized
    Aug 12 16:37:33 archiso kernel: usbcore: registered new interface driver usbfs
    Aug 12 16:37:33 archiso kernel: usbcore: registered new interface driver hub
    Aug 12 16:37:33 archiso kernel: usbcore: registered new device driver usb
    Aug 12 16:37:33 archiso kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    Aug 12 16:37:33 archiso kernel: ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
    Aug 12 16:37:33 archiso kernel: ehci_hcd 0000:00:1d.7: EHCI Host Controller
    Aug 12 16:37:33 archiso kernel: ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
    Aug 12 16:37:33 archiso kernel: ehci_hcd 0000:00:1d.7: debug port 1
    Aug 12 16:37:33 archiso kernel: ehci_hcd 0000:00:1d.7: irq 23, io mem 0xc0000000
    Aug 12 16:37:33 archiso kernel: ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
    Aug 12 16:37:33 archiso kernel: usb usb1: configuration #1 chosen from 1 choice
    Aug 12 16:37:33 archiso kernel: hub 1-0:1.0: USB hub found
    Aug 12 16:37:33 archiso kernel: hub 1-0:1.0: 6 ports detected
    Aug 12 16:37:33 archiso kernel: uhci_hcd: USB Universal Host Controller Interface driver
    Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
    Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.0: UHCI Host Controller
    Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
    Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.0: irq 23, io base 0x00003000
    Aug 12 16:37:33 archiso kernel: usb usb2: configuration #1 chosen from 1 choice
    Aug 12 16:37:33 archiso kernel: hub 2-0:1.0: USB hub found
    Aug 12 16:37:33 archiso kernel: hub 2-0:1.0: 2 ports detected
    Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.1: UHCI Host Controller
    Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
    Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.1: irq 19, io base 0x00003020
    Aug 12 16:37:33 archiso kernel: usb usb3: configuration #1 chosen from 1 choice
    Aug 12 16:37:33 archiso kernel: hub 3-0:1.0: USB hub found
    Aug 12 16:37:33 archiso kernel: hub 3-0:1.0: 2 ports detected
    Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.2: UHCI Host Controller
    Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
    Aug 12 16:37:33 archiso kernel: uhci_hcd 0000:00:1d.2: irq 18, io base 0x00003040
    Aug 12 16:37:33 archiso kernel: usb usb4: configuration #1 chosen from 1 choice
    Aug 12 16:37:33 archiso kernel: hub 4-0:1.0: USB hub found
    Aug 12 16:37:33 archiso kernel: hub 4-0:1.0: 2 ports detected
    Aug 12 16:37:33 archiso kernel: ata_piix 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
    Aug 12 16:37:33 archiso kernel: scsi0 : ata_piix
    Aug 12 16:37:33 archiso kernel: scsi1 : ata_piix
    Aug 12 16:37:33 archiso kernel: aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded
    Aug 12 16:37:33 archiso kernel: aic94xx 0000:03:04.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
    Aug 12 16:37:33 archiso kernel: ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x3080 irq 14
    Aug 12 16:37:33 archiso kernel: ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x3088 irq 15
    Aug 12 16:37:33 archiso kernel: aic94xx: found Adaptec AIC-9405W SAS/SATA Host Adapter, device 0000:03:04.0
    Aug 12 16:37:33 archiso kernel: scsi2 : aic94xx
    Aug 12 16:37:33 archiso kernel: aic94xx 0000:03:04.0: firmware: requesting aic94xx-seq.fw
    Aug 12 16:37:33 archiso kernel: aic94xx: Failed to load sequencer firmware file aic94xx-seq.fw, error -2
    Aug 12 16:37:33 archiso kernel: aic94xx: couldn't init seqs for 0000:03:04.0
    Aug 12 16:37:33 archiso kernel: aic94xx: couldn't init the chip
    Aug 12 16:37:33 archiso kernel: aic94xx 0000:03:04.0: PCI INT A disabled
    Aug 12 16:37:33 archiso kernel: aic94xx: probe of 0000:03:04.0 failed with error -2
    Aug 12 16:37:33 archiso kernel: ata1.00: ATAPI: HL-DT-STDVD-RAM GSA-H55N, 1.03, max UDMA/66
    Aug 12 16:37:33 archiso kernel: ata1.00: limited to UDMA/33 due to 40-wire cable
    Aug 12 16:37:33 archiso kernel: ata1.00: configured for UDMA/33
    Aug 12 16:37:33 archiso kernel: scsi 0:0:0:0: CD-ROM HL-DT-ST DVD-RAM GSA-H55N 1.03 PQ: 0 ANSI: 5
    Aug 12 16:37:33 archiso kernel: Driver 'sr' needs updating - please use bus_type methods
    Aug 12 16:37:33 archiso kernel: sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
    Aug 12 16:37:33 archiso kernel: Uniform CD-ROM driver Revision: 3.20
    Aug 12 16:37:33 archiso kernel: usb 2-1: new low speed USB device using uhci_hcd and address 2
    Aug 12 16:37:33 archiso kernel: usb 2-1: configuration #1 chosen from 1 choice
    Aug 12 16:37:33 archiso kernel: usbcore: registered new interface driver hiddev
    Aug 12 16:37:33 archiso kernel: input: USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input2
    Aug 12 16:37:33 archiso kernel: generic-usb 0003:04B3:310C.0001: input,hidraw0: USB HID v1.11 Mouse [USB Optical Mouse] on usb-0000:00:1d.0-1/input0
    Aug 12 16:37:33 archiso kernel: usbcore: registered new interface driver usbhid
    Aug 12 16:37:33 archiso kernel: usbhid: v2.6:USB HID core driver
    Aug 12 16:37:33 archiso kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
    Aug 12 16:37:33 archiso kernel: aufs 2-standalone.tree-20090601
    Aug 12 16:37:33 archiso kernel: loop: module loaded
    Aug 12 16:37:33 archiso kernel: aufs test_add:240:mount[635]: uid/gid/perm /tmpfs/mnt/loop0 0/0/0755, 0/0/01777
    Aug 12 16:37:33 archiso kernel: aufs test_add:240:mount[648]: uid/gid/perm /tmpfs/mnt/loop2 0/0/0755, 0/0/01777
    Aug 12 16:37:33 archiso kernel: rtc_cmos 00:04: RTC can wake from S4
    Aug 12 16:37:33 archiso kernel: rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
    Aug 12 16:37:33 archiso kernel: rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
    Aug 12 16:37:33 archiso kernel: udev: starting version 141
    Aug 12 16:37:33 archiso kernel: input: PC Speaker as /devices/platform/pcspkr/input/input3
    Aug 12 16:37:33 archiso kernel: intel_rng: FWH not detected
    Aug 12 16:37:33 archiso kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    Aug 12 16:37:33 archiso kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    Aug 12 16:37:33 archiso kernel: input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
    Aug 12 16:37:33 archiso kernel: ACPI: Power Button [PWRF]
    Aug 12 16:37:33 archiso kernel: input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0A03:00/PNP0C0C:00/input/input5
    Aug 12 16:37:33 archiso kernel: ACPI: Power Button [PWRB]
    Aug 12 16:37:33 archiso kernel: EDAC MC: Ver: 2.1.0 Jul 31 2009
    Aug 12 16:37:33 archiso kernel: iTCO_vendor_support: vendor-support=0
    Aug 12 16:37:33 archiso kernel: i801_smbus 0000:00:1f.3: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    Aug 12 16:37:33 archiso kernel: tg3.c:v3.98 (February 25, 2009)
    Aug 12 16:37:33 archiso kernel: tg3 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    Aug 12 16:37:33 archiso kernel: tg3 0000:04:00.0: PME# disabled
    Aug 12 16:37:33 archiso kernel: eth0: Tigon3 [partno(BCM95721) rev 4101] (PCI Express) MAC address 00:11:25:a4:42:2f
    Aug 12 16:37:33 archiso kernel: eth0: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1])
    Aug 12 16:37:33 archiso kernel: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
    Aug 12 16:37:33 archiso kernel: eth0: dma_rwctrl[76180000] dma_mask[64-bit]
    Aug 12 16:37:33 archiso kernel: sr 0:0:0:0: Attached scsi generic sg0 type 5
    Aug 12 16:37:33 archiso kernel: iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
    Aug 12 16:37:33 archiso kernel: iTCO_wdt: Found a ICH7 or ICH7R TCO device (Version=2, TCOBASE=0x1060)
    Aug 12 16:37:33 archiso kernel: iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
    Aug 12 16:37:33 archiso kernel: processor ACPI_CPU:00: registered as cooling_device0
    Aug 12 16:37:33 archiso kernel: ACPI: Processor [CPU0] (supports 8 throttling states)
    Aug 12 16:37:33 archiso kernel: processor ACPI_CPU:01: registered as cooling_device1
    Aug 12 16:37:33 archiso kernel: ACPI: Processor [CPU1] (supports 8 throttling states)
    Aug 12 16:37:33 archiso kernel: EDAC MC0: Giving out device to 'i3000_edac' 'i3000': DEV 0000:00:00.0
    Aug 12 16:37:33 archiso kernel: EDAC PCI0: Giving out device to module 'i3000_edac' controller 'EDAC PCI controller': DEV '0000:00:00.0' (POLLED)
    Aug 12 16:37:33 archiso kernel: lp: driver loaded but no devices found
    Aug 12 16:37:33 archiso kernel: parport_pc 00:0b: reported by Plug and Play ACPI
    Aug 12 16:37:33 archiso kernel: parport0: PC-style at 0x378 (0x778), irq 7, dma 1 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
    Aug 12 16:37:33 archiso kernel: lp0: using parport0 (interrupt-driven).
    Aug 12 16:37:33 archiso kernel: ppdev: user-space parallel port driver
    Aug 12 16:37:31 archiso init: Entering runlevel: 3
    Aug 12 16:38:08 archiso kernel: tg3 0000:04:00.0: PME# disabled
    Aug 12 16:38:09 archiso kernel: tg3: eth0: Link is up at 100 Mbps, full duplex.
    Aug 12 16:38:09 archiso kernel: tg3: eth0: Flow control is on for TX and on for RX.
    Aug 12 16:42:52 archiso kernel: device-mapper: uevent: version 1.0.3
    Aug 12 16:42:52 archiso kernel: device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: [email protected]
    Aug 12 16:43:49 archiso kernel: usb 1-4: new high speed USB device using ehci_hcd and address 3
    Aug 12 16:43:50 archiso kernel: usb 1-4: configuration #1 chosen from 1 choice
    Aug 12 16:43:50 archiso kernel: Initializing USB Mass Storage driver...
    Aug 12 16:43:50 archiso kernel: scsi3 : SCSI emulation for USB Mass Storage devices
    Aug 12 16:43:50 archiso kernel: usbcore: registered new interface driver usb-storage
    Aug 12 16:43:50 archiso kernel: USB Mass Storage support registered.
    Aug 12 16:43:55 archiso kernel: scsi 3:0:0:0: Direct-Access Kingston DT 101 II 1.00 PQ: 0 ANSI: 2
    Aug 12 16:43:55 archiso kernel: scsi 3:0:0:0: Attached scsi generic sg1 type 0
    Aug 12 16:43:55 archiso kernel: Driver 'sd' needs updating - please use bus_type methods
    Aug 12 16:43:55 archiso kernel: sd 3:0:0:0: [sda] 7876608 512-byte hardware sectors: (4.03 GB/3.75 GiB)
    Aug 12 16:43:55 archiso kernel: sd 3:0:0:0: [sda] Write Protect is off
    Aug 12 16:43:55 archiso kernel: sda: sda1
    Aug 12 16:43:55 archiso kernel: sd 3:0:0:0: [sda] Attached SCSI removable disk
    I'm following your last instructions  ... no results.

  • Installing Multiple Operating Systems with grub and Arch Linux

    NOTE: Please keep in mind that there are many different ways to achieve this same result using various loop and ramdisk methods, read this with a separate window to jot down your comments and suggestions... this is ongoing for me so any help would be appreciated!
    Read the full article at Install Multiple Os without cds
    This is my first post and I plan on making this topic an official HOWTO with www.tldp.org.
    I have been into the computer security scene since 1990, but I realized that I had very little experience with the various LInux, Unix, and alternative Operating systems out there.
    I have a CD-RW drive but being a struggling computer security researcher I had no money for blank cd-recordables.  What follows is how I managed to install various operating systems on my computer (1 hard drive) without having to burn to a CD the ISO and then boot from that.
    I first partitioned my 120GB harddrive into 10 partitions, the 2nd partition is a small swap and the last partition is extra large because it holds all the ISO images..
    I then wrote a small shell script to automatically download (I love wget!)  the following.
    OpenBSD
    IpCOP
    Libranet
    Arch-Linux
    Fire
    Local Area Security
    Packet Master
    Devil-Linux
    FreeBSD
    Knoppix
    Helix
    Gentoo
    Yoper-Linux
    NetBSD
    RedHat
    Slackware
    The script also downloaded Installation manuals and md5 checksums.. (let me know if I should post... its pretty unsophisticated
    I installed Slackware (personal favorite) on hda1 using my last blank CD-R, note that I do not have a separate boot partitino.  (Should I?).  I also installed grub on the MBR.  I love grub, if you read through the man pages and all info you can find about grub, you can learn a whole lot.  Grub has much more features and capability than lilo, even though lilo comes installed by default with slack.
    I organize my kernel situation as follows...  In my /boot directory, I mkdir KERNEL, CONFIG, MAP, INITRD and that is a good way for me to keep my kernels and everything organized..  Another good way is a separate dir for each new kernel. 
    Since Arch-Linux is a solid distro, I'll use that as a first example.
    Here is the Arch-Linux section of my shell script
    goge Arch-Linux
    $w http://puzzle.dl.sourceforge.net/sourceforge/archlinux/arch-0.6.iso
    $w http://unc.dl.sourceforge.net/sourceforge/archlinux/arch-0.6.md5sum
    $w http://www.archlinux.org/docs/en/guide/install/arch-install-guide.html
    md55
    cat arch-0.6.md5sum
    md5sum arch-0.6.iso
    md55
    The first thing to do is to mount the downloaded ISO image so we can use it as if it were an actual CD.
    mount -t iso9660 -o ro,loop=/dev/loop0 cdimage /mnt/cdrom
    Where cdimage= the ISO image.   EX. /usr/local/src/ISO/Linux/Arch-Linux/arch-0.6.iso
    This mounts the iso as /mnt/cdrom.
    Next you need to copy /mnt/cdrom to a separate partition for the booting process.  So mkfs.ext2 /dev/hda9.  ( I prefer reiserfs or even XFS to ext but if you use something other than ext2 you could run into some problems because some of the installation kernels and initrds don't include support for reiserfs and so can't recognize the files.  Although you could use mkinitrd to create a new initrd with reiserfs support, that might be pushin it IMO...   I use the 9th partition consistently for this.  I know there is a "right" way to copy the /mnt/cdrom files so everything stays the way it is supposed too, using tar or cpio, but I'm lazy so I just do cp -rp.   
    (What is the tar or cpio commands to copy with correct permissions etc??)
    So you mount the 9th partition as whatever, say /mnt/hd and then copy the files.  Now what?
    Now edit your /boot/grub/menu.lst file to include the specific options to boot arch-linux installation. 
    A good idea is to find the isolinux.cfg file somewhere on the distro cd, this will tell you what to include in the menu.lst.
    Here is the section in my menu.lst
    title Arch Install
    root (hd0,8)
    kernel /isolinux/vmlinuz load_ramdisk=1 prompt_ramdisk=0 root=/dev/rd/0
    initrd=/isolinux/initrd.img
    This should be self-explanatory.  The root (hd0,8) is pointing to partition 9.  So the rest of the commands start from partition 9. 
    When you experience problems, remember you can always edit the grub boot options by typing 'e' and then edit the section.  Also, a good idea is to include several variations in your menu.lst so you can easily try other ways to boot efficiently.  And, remember to read up on all the installation guides that come with your distro, specifically, hard-disk installs. 
    There are special cases, Gentoo, has a semi-new compressed filesystem called squashfs.  BTW, this is AWESOME, so check it out.  It has to be compiled into the kernel, so some work is in order, but use this recompile to optimize your kernel.  You can get the squashfs patch for almost any kernel.  I use the latest stable 2.6 kernel.  Squashfs is incredible and although I don't think you need it to install from ISO, you do need it to expand the livecd.squashfs filesystem that comes with the cd.
    Heres a sample Gentoo section from my menu.lst
    title Gentoo Install
    root (hd0,8)
    kernel /isolinux/gentoo root=/dev/ram0
    initrd=/isolinux/gentoo.igz init=/linuxrc acpi=off looptype=squashfs loop=/livecd.squashfs cdroot vga=791 splash=silent
    A nother' tip is the shell that is provided if you experience problems, typically busybox or ash.  The key tools to get you going from here is mount and chroot.  Sometimes you will need to manually create a simulated file system and then chroot into it.  For instance, you might have to create boot, etc, bin, directories on the target partition. 
    I generally install each OS onto the next partition (careful of the logical partition) and add it to my menu.lst after install.  A good idea is after installation, copy the kernel and initrd(if there is one) to the slackware(or whatever) boot partition on hda1.  I copy kernels to /boot/KERNEL/ and initrd's to /boot/INITRD, then menu.lst is more organized...
    You then need to add an updated section to your menu.lst (just comment out the install section for later)
    Here is the finished arch-linux section from menu.lst
    title Arch Linux 6
    root (hd0,2)
    kernel /boot/vmlinuz26 ro root=/dev/hdc3
    This doesn't use my convenient boot/KERNEL/vmlinuz26 as you can tell by setting the root to partition 3.
    ***NOTE: Make a backup of MBR using dd and save to floppy, also backup the partition table to floppy, using cfdisk or parted.  And boot disks (I use 1 with grub, and 1 with slack, and tomsbootdisk) will invariably come in handy.  Tomsbootdisk is recommended, and make the grub boot disk when you install grub.  install to floppy.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    The final result after some fun experimenting, is when I boot, I have a cool grub boot screen come up with the option to boot into whatever OS I want, this is handy for multiple reasons.  One good thing to do after this is to port scan and vuln scan each OS, after you update of course.  Write this stuff down and you will know the weaknesses/strengths of the various OS's. 
    I can boot a custom Firewall, snort, or multiple honeypots using this procedure, as well as a graphical kde environment with a kernel optimized for graphics and my processor/architecture, or an environment devoted to forensics or even an environment suitable for programming.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    P.S. Some of the cooler alternative operating systems are BeOS 5, EOS, ER_OS, V2_OS, and my personal favorite Menuet.  Menuet is 100% assembly graphical operating system that fits on a floppy.  Its f'in money!
    This should be a good enough example to get you started, this kind of thing should be learned and not just copied... Knowing how to do this stuff could prove to be exceptionally useful...

    Start by reading all the articles built-in on your Mac - Help > Mac Help, search "printer sharing."
    http://desk.stinkpot.org:8080/tricks/index.php/2008/04/how-to-print-to-a-cups-se rver-from-mac-os-x/
    http://www.macosxhints.com/article.php?story=20080324224027152&query=share%2Bpri nter
    http://members.cox.net/18james/osxprintersharing.html
    http://ubuntuforums.org/archive/index.php/t-56940.html

  • [SOLVED]Multiple Problems after a new install on Arch Linux

    Hello all,
    I just finished installing Arch Linux from the core ISO which I downloaded from the site. The install went smoothly and booted up fine. Also I was able to install gnome and its extras fine as well. On the first boot after installing gnome I managed to get my resolution correct also. However later on after I installed compiz fusion everything with the resolution seems to be going wrong . My computer specs are shown below :
    AMD 64 3200
    Asus M2N MX-SE
    2 GB Ram
    Geforce 8600 GT
    Viewsonic VA1918wm (Native resolution is 1440x900)
    At the moment I can only manage to get upto 1024x768 and it looks quite bad at that resolution. I have attached the xorg.conf I have at the moment.
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "dbe"
    Load "record"
    Load "extmod"
    Load "glx"
    Load "dri2"
    Load "dri"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    EndSection
    Section "Device"
    Identifier "Card0"
    Driver "nvidia"
    VendorName "nVidia Corporation"
    BoardName "G84 [GeForce 8600 GT]"
    BusID "PCI:2:0:0"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    While I was trying to fix this I noticed I was encountering other problems also. For one I found that sometimes dhcpcd times out on booting up and I cant seemt o connect to the Internet on booting. Although I just thought of trying a static IP and I'll post if that helped later on.
    Another problem is I found that I seem to get the following error randomly. Pressing ctrl + D after this just restarts the machine.
    The superblock could not be read or does not describe a correct ext2
    filesystem. If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
    Finally, while I boot up I noticed that it says "Mounting root partition as read only   [DONE]"  Is the root partition supposed ot be mounted as read only ? Attached my fstab just in case it is needed.
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    #/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
    #/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    #/dev/fd0 /media/fl auto user,noauto 0 0
    /dev/sda3 /boot ext3 defaults 0 1
    /dev/sdb1 / ext3 defaults 0 1
    /dev/sdb2 swap swap defaults 0 0
    /dev/sdb3 /home ext3 defaults 0 1
    As you can see I'm quite new to Arch Linux so any help would be deeply appreciated.
    Last edited by FilledVoid (2009-09-11 16:28:28)

    Thank you for all your suggestions . I tried replacing the ID to Card0 but it didnt seem to fix it . However on the bright side I checked more threads on the forum and found some that helped out . :)
    http://bbs.archlinux.org/viewtopic.php?id=75070&p=2
    http://bbs.archlinux.org/viewtopic.php?id=72788
    http://bbs.archlinux.org/viewtopic.php?id=76938
    I copied the xorg.conf file from the third link and just made minor changes to it like removing all the resolutions I didn't need and now its working fine :).
    Now Im just stuck with two problems. One is the following message which appears randomly.
    The superblock could not be read or does not describe a correct ext2
    filesystem. If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
    ******************* FILESYSTEM CHECK FAILED *************
    * Please repair manually and reboot. Note that the root *
    * filesystem is currently mounted read-only. To remount *
    * it read-write type: mount -n -o remount,rw / *
    * When you exit the mantenance shel the system will *
    * reboot automatically. *
    A thread about the same can be found http://bbs.archlinux.org/viewtopic.php?pid=295384 but there isn't a solution on it. 
    The second is the intermittent problems with the Network being setup. Sometimes when I boot up it just says dhcpcd timedout and I won't be able to connect . However I can connect on another machine at the same time.
    Took a look at the drive in question with gparted and it shows the below information:
    /dev/sdb1 ext3   /   32.59 GB    4.92 GB   27.68 GB  boot
    By any chance is any of the above information relevant :x ?

  • Progress on Unity under Arch Linux!

    See here for information about the new GNOME 3.12-compatible packages: https://bbs.archlinux.org/viewtopic.php … 3#p1404683
    I'm now on IRC! Come join us at #unityforarch on Freenode
    To install Unity from my repos:
    See the wiki: https://wiki.archlinux.org/index.php/un … mmended.29
    To install Unity from source:
    See the wiki: https://wiki.archlinux.org/index.php/unity#From_source
    -- You probably don't want to read anything below --
    The story
    So...rather than wasting internet bandwith to download a new Ubuntu ISO to test out the new Unity features, I decided to try to make it work under Arch Linux. It took a whole lot longer than I expected to get it even partially working. So, here's my story:
    Knowing that Unity isn't in the main repositories, I went the AUR's website and looked for a user created Unity package. That didn't go too well. The Unity package hasn't been updated for 6 months. D'oh! I decided to download the existing PKGBUILD and modify it to work with the Unity 4.xx series. After changing the version number, I tried to "makepkg" it, and was greeted with a message about installing Compiz 0.9.x. I thought it would be an easy install. It was quite the opposite. Compiz's install prefix was set to /opt/unity, but FindCompiz cmake build file expected Compiz to be in /usr, so none of the Compiz packages, except for compiz-core would compile. Then, I tried reinstalling compiz-core, but this time, changing the prefix to /usr. The compiled package ended up being only a few kilobytes big. I guess the mouse wheel was invented for a reason. I looked at the PKGBUILD again, only to find that there was a line at the very bottom that ran "rm -rf ${pkgdir}/usr". That explains a lot! I ended up adopting all the compiz*-git packages and fixing them so they would compile and install.
    So, now that Compiz is working (restarted and tested just to make sure I didn't waste my time with something that didn't work), I went on to install the rest of the dependencies listed in the Unity PKGBUILD file. That went relatively well. I was so happy after seeing the progress counter go up after running "makepkg", but at about 8%, gcc spat out an error about an undeclared function (sorry, I forgot what the function was). Natually, I went to Google and searched the name of the function. 0 results! Exactly was I was looking for! I ended up downloading the Ubuntu 11.10 Alpha 3 ISO and running "find -type f /usr/lib | xargs objdump -T | grep the_function". The problem lied in the libindicator package. There was a newer version available which contained that function. I have no idea why a package that's only 0.02 versions ahead of the AUR package would contain new functions...
    Next! Utouch...ugh...great memories! Not! I was so glad that I had fixed the utouch packages earlier (for touchegg to work). I was too frustrated from compiz and libindicator to try to compile more stuff.
    Cmake. Whoever created the CMakeLists.txt file didn't list all the dependencies required. So after running "makepkg" 10 billion times, waiting for "somebodydidntputthisincmake.h not found" errors to appear, I finally got all the dependencies I needed installed...or so I thought. After installing and compiling all these dependencies, the cmake only continues 3% further before encountering another cryptic gcc error. This time, there no error about a file not being found. So not knowing what dependency was missing, I headed over to http://packages.ubuntu.com and downloaded the Unity DEB source to find the dependencies in then debian/control file. After install those few dependencies that I missed, I ran "makepkg" again, hoping that it would finally compile successfully. CMake went a little further--5% further to be exact--before running into another error. It complained about DndSourceDragBegin() having two return types. Sure, enough "./plugins/unityshell/src/ResultViewGrid.h" had the return type as boolean and "/usr/include/Nux-1.0/Nux/InputArea.h" had the return type as void. WTF? How the heck does this even compile under 11.10???
    After changing void to bool in "/usr/include/Nux-1.0/Nux/InputArea.h", I ran "makepkg" once again anxiously waiting to the see the line "Finished making: unity 4.10.2". CMake compiled about 35% before running into error about an undeclared gtk function. Nooooooooooooo!!! I wasn't brave enough to install the git version of gtk3, so I created a chroot, installed the base packages, and installed all of those dependencies fairly quickly (it gets a lot easier after doing it so many times).
    Moving on to gtk3. After cloning the ~200MB git repository, autotools spits out an error about cairo-gl missing. So, I proceeded to install the cairo-gl-git package, which failed to compile (it compiled successfully outside of the chroot...). GREAT. So, Unity fails to compile because GTK version is too old, and GTK failed to compile because cairo-gl is missing, and cairo-gl fails to compile because I'm in a chroot. GAHHH!!! While thinking about throwing the computer out of the window, I searched the AUR for other GTK3 packages. I just happened to find a package named "GTK3-UBUNTU"! That package was still at version 3.0, but it was pretty easy to get the patches and source code for 3.1 from the Ubuntu GTK source package.
    So, FINALLY, Unity compiles. I was so darn happy, I didn't even care if it ran or not. I logged out and logged back into the GNOME 3 fallback mode, and entered the chroot. After running "xhost +SI:localuser:chenxiaolong" to run X11 apps in the chroot, I crossed my fingers and ran "DISPLAY=:0.0 unity --replace". It failed with python 3 complaining about missing modules. That's okay, since the Unity launch script is written in python 2. I changed the shebang line in "/usr/bin/unity" to point to python 2 and ran "DISPLAY=:0.0 unity --replace". It didn't necessarily fail, but it didn't succeed either. It didn't print out any error messages. Weird... I thought I'd try enabling Unity from the compiz settings manager then. I ran "DISPLAY=:0.0 compiz --replace" and "DISPLAY=:0.0 ccsm" and enabled the Unity plugin. Unity runs! Although nothing shows on the screen, it runs! It shows up in the process list! Woohoo!
    And that's about how far I got. There were quite a few Vala errors during the compiling process (I forgot which package it was), which is probably why Unity won't appear. I'll try again later with the vala-devel or vala-git package and hopefully Unity will work then. Here are screenshots of what I've gotten working so far:
    http://i.imgur.com/7F1fm.jpg
    http://i.imgur.com/zGNJc.jpg
    http://i.imgur.com/3mCgd.jpg
    By then way, I love the simplicity of pacman and the AUR. I can't imagine how long this would have taken with other package managers.
    Moderator edit:  Do not place large images in line.  If you want, you may embed links to thumbnails inside url tags.
    Last edited by chenxiaolong (2014-04-15 17:11:04)

    City-busz: I'm getting a ton of Vala errors when I compile libunity (AUR version) with vala or vala-devel. libunity fails to compile with vala-git. I'll try your packages in a virtual machine and see how they work on 64 bit.
    In the meantime, Unity still fails to show up: http://i.imgur.com/btPwo.png I'll try out your PKGBUILDS and see how that works. I'm glad there are people who want to port Unity to Arch Linux
    EDIT: City-busz: Just to let you know, Unity will fail to compile at around 45% with GTK 3.0. Here's my source packaage for Ubuntu's GTK 3.1: http://ubuntuone.com/p/1EzX/ It contains all of the patches in the Ubuntu source package. I'm not sure if all the patches are needed, but GTK compiles fine with all of them.
    EDIT2: Right now, I'm trying to compile Vala 0.10.4, then version used in Ubuntu 11.10. Hopefully that will eliminate some of the Vala errors.
    EDIT3: Vala 0.10 is too old. 0.12 and 0.14 are also in the Ubuntu repository. Trying those...
    EDIT4: 0.14 is actually 0.13.1. Gah... Vala takes longer to compile under VirtualBox than GTK3...
    EDIT5: Okay...so VirtualBox "helpfully" became slow enough that I could read the error messages. The Vala error messages aren't actually error messages, but rather warnings about unused methods. I wonder what prevents Unity from running then...
    Last edited by chenxiaolong (2011-08-30 02:30:29)

  • HOWTO: Repairing a headless Arch Linux system that fails to boot

    The scenario...
    I have a "headless" (no monitor or input peripherals) Arch Linux computer that is connected to a local network via a wireless adapter, and accessed from other computers via SSH.
    Earlier today I accidentally broke its kernel so it did not boot anymore.
    Idea: Temporarily connect a monitor to the computer, boot from a live CD (like the Arch Linux install CD), then chroot into the system and fix it.
    Problem: I didn't have a compatible monitor at hand.
    Idea: Log in to the live CD session from another computer via SSH.
    Problem: The live CD can't auto-configure the headless computer's wireless connection, and setting it up manually while working "blind" would be a major hassle. A direct LAN connection to the router wasn't available either.
    Idea: Connect directly with a laptop via an Ethernet cable, and then use SSH from the laptop => This solution worked for me!
    If you find yourself in a similar situation, you can follow this tutorial which describes the solution that worked for me in detail...
    You need:
    a copy of the Arch Linux install CD (I used the 2013-05-01 version)
    an Ethernet cable
    a keyboard (might be dispensable, with additional preparation)
    a functional Arch Linux laptop (or other computer within physical range)
    Step 1) Prepare the live CD...
    I used the plain Arch Linux install iso, burnt to CD.
    By creating a carefully customized version of the live CD using Archiso, you might be able to eliminate the need for steps 2 and 4 - however that's not covered in this tutorial.
    Step 2) Prepare the laptop...
    The laptop needs to be configured in such a way, that the live CD's attempt to automatically establish an Ethernet connection with it will succeed:
    a) IP address
    In my case, the Laptop's wireless adapter had an IP address in the range 192.168.1.*, connecting it to the local network and Internet via the central router 192.168.1.1.
    The Ethernet connection between the laptop and the headless computer becomes a separate mini-network, for which I decided to use IP addresses in the range 192.168.0.* (note the different third number). Specifically, I set the IP address of my laptop's Ethernet card to 192.168.0.1. You can do this by running the following as root (replace "eth0" with the name of your Ethernet interface):
    ip link set eth0 up
    ip addr add 192.168.0.1/24 dev eth0
    b) IP forwarding (optional)
    While we're at it, we might as well enable IP forwarding, so that the live CD session on the headless computer will be able to directly use the laptop's outgoing Internet connection (which will make it much more convenient to install/upgrade packages during the repair session). To enable this, run the following as root (replace "eth0" and "wlan0" with the names of your laptop's Ethernet and wireless interfaces, respectively):
    iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE
    iptables --append FORWARD --in-interface eth0 -j ACCEPT
    sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
    c) DHCP
    The live CD will assume there's a router on the other side of the Ethernet link, and ask for an IP address via DHCP. So all we need to do, is run a dhcp server on the Laptop that will answer this request. It's surprisingly easy: Just install the package dnsmasq, and put the following in the file /etc/dnsmasq.conf (again replacing "eth0" as appropriate):
    interface=eth0
    dhcp-range=192.168.0.2,192.168.0.2
    By setting the start & end values of dhcp-range to the same IP address, we enforce that this specific IP address will be used by the live CD on the headless computer.
    Then start the daemon by running the following as root:
    systemctl start dnsmasq.service
    Step 3) Connect everything and boot up the live CD...
    Connect the laptop and the headless computer via the Ethernet cable.
    Connect the external keyboard to the headless computer.
    Then put the Arch Linux install CD into the headless computer's drive, and boot. Wait a minute or so to give the CD time to load its boot menu (you should hear the CD drive spin up and settle down again). Then hit ENTER on the connected keyboard, to activate the default menu choice (which will boot straight to a live Arch Linux session with root privileges).
    You can check whether it booted up and successfully initialized the Ethernet connection, by ping'ing the IP address that was specified in step 2c) from the laptop:
    ping -c3 192.168.0.2
    Step 4) Start the SSH server...
    Unfortunately, the Arch Linux install CD doesn't automatically start its SSH server, and also it uses a randomized root password. To make SSH connections possible, you will have to use the connected keyboard to type in some stuff "blindly" (but it's simple enough):
    type "passwd" (without the quotes)
    type in a new password of your choice
    press ENTER
    type in the same password again
    press ENTER
    type "systemctl start sshd" (without the quotes)
    press ENTER
    Step 5) Connect from the laptop via SSH...
    Now you can open an SSH connection, by executing the following on the laptop (when it asks for the password, enter the one you chose in step 4):
    ssh [email protected]
    Step 6) Profit!
    Within this SSH shell on the laptop, you can now do whatever you would usually do to fix an Arch Linux system from a live CD.
    You'll probably want to chroot into your Arch root partition, which is very easy thanks to the arch-chroot tool that is included on the live CD (replace "/dev/sda3" with the name of the headless computer's root partition):
    mount /dev/sda3 /mnt
    arch-chroot /mnt
    If you set up IP forwarding as described in step 2b), then Internet access should magically work in this shell without any further configuration, so you can freely use pacman etc. inside the chroot.
    Enjoy!
    Last edited by sas (2013-07-26 22:17:03)

    It is definitely able to recognize the USB and DVDs as separate drives; it gives the option of booting from USB, and it gives the memory capacity of the USB drive I used as a live USB, and the memory used for the live CD.  But when it comes time to actually boot, something is going wrong.
    I would suspect it is a problem with the BIOS, if not for the fact that I had a similar issue on my previous system, which used a completely different motherboard.  If it is the same issue, it would either have to be a problem with the DVD drive (although I don't know why it would be against loading some live CDs but not others) or perhaps the way I created the live CDs.  Although, again, I don't understand why the Linux Mint 32-bit DVD would work fine, while both 64-bit DVDs would not.
    I will try using a different DVD drive to boot the DVDs, and if that does not work, I'll try creating a new Arch live CD to see if I can resolve the issue.  But if anyone has any ideas, it would still be greatly appreciated.

Maybe you are looking for

  • Using XML clob in loop

    Hi, I need to extract data from a given piece of XML. If I pass the xml to the procedure as clob and query it in a loop, it returns no rows. However if I include the actuall xml in the loop query it returns the data I'm looking for. Why doesn't it re

  • SAP CRM 2007 installation in cluster

    Dear Experts, We are about to start the installation of CRM 2007 (ABAP+JAVA) with Oracle 10g on Windows x64 in cluster environment. In the SAPINST dialog box under High availability option, I could see installation options like ASCS Instance, SCS Ins

  • Selection field for vendor categorisation

    Hi, I have request to find a proper field for letter code and description in vendor master for vendor categorisation. (Like for example Order currency field in Vendor Master) The field must be minimum three caracter long. Further this vendor categori

  • Random auto copying and pasting after 10.6.6 update

    Since I upgraded to 10.6.6, I've been seeing random copy and paste behavior. If I leave my mouse in a text box and wait a little bit, the Mac pastes my clipboard. If I select some text, the Mac copies it without me telling it to. Any clue what's goin

  • Hi Time series comparsion error

    Hi i am practising Obiee labs i got these problem, Time series error I created Time Series measure in my Fact and saved with out error it thou,In answer when i selected those columns to compare with Dollar iam getting these Error Error Codes: OPR4ONW