本帖最后由 GeekNapster 于 2012-12-31 15:04 编辑

由于是用英文写的。大家凑合着看了。道理简单。
本人半个小时原创,呵呵~
Archlinux纯净版安装。原标题
Install Archlinux on Raspberry Pi as you wish!

The easiest way to install archlinux on raspberry PI.


now you need to input these command promotes.


[plain] view plaincopy




then

you need to plug the SD card into raspberry Pi

Then boot

By default, the user name and password are both "root"

After logging in, you need to check out all your devices with command promotes :


[plain] view plaincopy




then you will find there are two partitions down there by default for archlinux installation.

The first one is /dev/mmcblk0p1 which is the "/boot" folder whose format is fat32.

The second partition is /dev/mmcblk0p2 which is the "/" folder whose format is ext4.

Now we need to use the rest free space of the SD card disk.

So, we input those commands :


[plain] view plaincopy



Using cfdisk to mange the partition label of the SD card.

Also we could use fdisk. But fdisk needs us to give the specific bytes to make the partition room, which is too precise.

Anyway both cfdisk and fdisk make sense.

now we make a 1GB room for swap, and the rest for folder "/home"

TIPS:

        Now if we use


[plain] view plaincopy



      we will only see two partitions those which are /dev/mmcblk0p1 and /dev/mmcblk0p2.

      We can't see the other two partitions /dev/mmcblk0p3, /dev/mmcblk0p4 those which we have divided from the rest free space of the SD card.

       All we need is to reboot the raspberry pi.


[plain] view plaincopy




then


[plain] view plaincopy



[plain] view plaincopy




now we can get all those partitions.

Now we need to have swap and format the partition /dev/mmcblk0p4

[plain] view plaincopy




now we need to edit the /etc/fstab

make it like this:


[plain] view plaincopy




Alright.

Now we make it.

We need to upgrade the archlinux syntactically.

So we need to edit the file


[plain] view plaincopy





then, uncomment the links below if the place is supposed near your location.

  then


[plain] view plaincopy





Now we need to set our localtime and locale.

so we need to uncomment /etc/locale.gen if there is a locale you want to have.

And


[plain] view plaincopy




                       (because i am in China, so it's Shanghai. It depends on where you are.)

Also, you could change /etc/hostname, or never mind.


Now you need to add a new user

you could use :


[plain] view plaincopy




and you could install sudo


[plain] view plaincopy




Then edit the file sudoers by commands


[plain] view plaincopy




then,

add the line "USER ALL = (ALL) ALL" below the line root ALL = (ALL) ALL

Now reboot your computer. It is a clean and fast one.


Or you want to install video driver or get into serial console.

https://wiki.archlinux.org/index.php/Raspberry#Installation

At the bottom of the page, those reference maybe help.


Cheers!

Raspberry Pi