before I began, I downloaded the arch linux ARM files:
wget http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz
-->
sudo -s
parted /dev/sdj (or whatever the device address is)
mklabel gpt
mkpart primary 1 4GB
mkpart primary 4GB -1 (-1 means fill the
rest)
mke2fs -j /dev/sdj1 (gives partition ext3
format)
mke2fs -j /dev/sdj2 (if large partition,
takes awhile)
mount /dev/sdj1 /media/alarm (you have to
run mkdir /media/alarm if you don't have that folder
cp ArchLinuxARM-armv5te-latest.tar.gz
/media/alarm/
tar -xvzf
ArchLinuxARM-armv5te-latest.tar.gz
rm ArchLinuxARM-armv5te-latest.tar.gz
sync
gdisk /dev/sdj
r
h
(follow
guide below except for the type 0700 and 8300, i ignored that and still worked,
don't even know what that is)
once
followed, run pacman -Syu (upgrade system, answered yes to everything)
Problem step was adding
UUID="theuuidforsda2" /media/NASdata ext3 defaults 0 0 to the fstab
On
the next boot, I got a green light but no IP address to SSH to.
Post from Online - THE KEY STEP IS USING THE HEX CODE 83 FOR BOTH PARTITIONS
I installed gdisk then ran
it. both partitions where type 0700 but the usb was 8300 so i used option 't'
to change both partitions type code to 8300.
Then used option r for recovery and h for hybrid.
I put both partitions in the sequence, at 'Place EFI GPT partition first question I answered no. I used hex code 83 for both partitions giving the first the bootable flag and then answered no to the protect more patitions question. Then m for main menu and w to write.
Removed the usb and did reboot and the light flashed then went solid. ssh into the drive ok.
Then used option r for recovery and h for hybrid.
I put both partitions in the sequence, at 'Place EFI GPT partition first question I answered no. I used hex code 83 for both partitions giving the first the bootable flag and then answered no to the protect more patitions question. Then m for main menu and w to write.
Removed the usb and did reboot and the light flashed then went solid. ssh into the drive ok.
Check ensure system running
do a reboot (warm start):
shutdown -r now
and then later shutdown:
shutdown -h now
then power up (cold start)
shutdown -r now
and then later shutdown:
shutdown -h now
then power up (cold start)