pogoplug v4 linux,Install ArchLinux on pogoplug HD

With the device on and online, register and enable SSH through my.pogoplug.com.

Power down the original, unmodified Pogoplug.

Unplug all disk drives.

With only the drive you intend to install Arch Linux ARM to plugged in (all data will be erased), switch on the power.

Log in to Pogoplug over SSH using the IP address of the Pogoplug (from your router's DHCP table), with "root" as the username and the password you set up on my.pogoplug.com.

Stop the Pogoplug software, so it doesn't interfere with the install process:killall hbwd

Start fdisk to partition the USB or SATA drive:

/sbin/fdisk /dev/sda

At the fdisk prompt, delete old partitions and create a new one:

Type o

. This will clear out any partitions on the drive.

Type p

to list partitions. There should be no partitions left.

Now type n

, then p

for primary, 1

for the first partition on the drive, and then press ENTER, accepting default values.

Exit by typing w

.

Create the ext3 filesystem:

sync cd /tmp wget http://archlinuxarm.org/os/pogoplug/mke2fs chmod 755 mke2fs ./mke2fs -j /dev/sda1

Download the install script and execute

cd /tmp wget http://archlinuxarm.org/os/oxnas/oxnas-install.sh chmod 755 oxnas-install.sh ./oxnas-install.sh

The installer will ensure that the Pogoplug services are not running and that it has sda1 mounted where it wants it. Then, it will collect some information from the system, download the rootfs tarball, verify it, extract it, and finally use spare space in the NAND for the updated kernel before making modifications to the u-boot environment. If something goes wrong, it will be darn sure to tell you.

In the end, this is what the last lines of blparam output should look like:

bootargs_stock=root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes load_custom_nand=nboot 60500000 0 500000 load_custom_nand2=nboot 60500000 0 B00000 boot_custom=run load_custom_nand boot || run load_custom_nand2 boot bootargs=root=/dev/sda1 ubi.mtd=2,512 rootfstype=ext3 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes rootdelay=15 bootcmd=run boot_custom

Note that there are no " (double quote) characters here.

The install script will automatically unmount /dev/sda1. If everything went OK, reboot:

/sbin/reboot

Login to Arch Linux ARM (note: The IP address may have changed. Check your router's DHCP assignments if you can't log in.)

Username: root

Password: root

If you want to have your plug automount drives when they're plugged in. Install the udev rules:

pacman -Sy udev-automount

If the LED on the front is still blinking after booting, rebuild the module dependencies.

depmod -a

Then, reboot again:

/sbin/reboot

Login again with root/root. Now would be a good time to change your root password.

passwd

Most likely there are several packages that are now out of date. Update them with pacman:

pacman -Syu

You may have to run pacman a few more times. Accept any default answers (hit enter) and follow any instructions it gives you.

Welcome to Arch Linux ARM. Any questions, stop by the forums or on IRC.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值