Install Issues

This forum is for all other ARMv5 devices

Install Issues

Postby Fieryphoenix » Sun May 29, 2011 4:50 pm

I got a new hard drive for my Pro, so before I installed it, I ran the oxnas-revert script. All went as expected.

Now with the new HD in place, when I run oxnas-install.sh it has errors.

First error:

Code: Select all
# Checking board revision...
./oxnas-install.sh: line 55: syntax error: unexpected "fi" (expecting "then")


This appears related to the two code sections starting on line 53

Code: Select all
if [ "$BOARDVER" = "PPRO1" ]
        PCI=1
fi
if [ "$BOARDVER" = "PPROHD1" ]
        PCI=1
fi


Not a huge obstacle, I know I have a Pro and the script reported PPRO1 when it ran, so I just delete that section and change line 52 to read

Code: Select all
PCI=1


Then I run into another snag. After extracting, the script just dumps to the command line. Well, that makes sense, because the code there is:

Code: Select all
 echo "# Extracting"
        tar xzf oxnas-rootfs.tar.gz
exit


Now, I do not regularly work with scripts, but I tried anyway to see if I could get past this by first deleting

Code: Select all
exit


It then complained about missing or expecting a fi, so I then reasoned that perhaps fi had been meant where there was exit, so I put one in.

After that, the script passed along to the output

Code: Select all
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
Extraction FAILED or WRONG rootfs"
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"


no matter what further I did, so I tried to manually go through the steps, copying out of the script. When I tried

Code: Select all
tar xzf oxnas-rootfs.tar.gz


It said no such file, blah blah blah, so I ran

Code: Select all
tar xzf /tmp/usb/oxnas-rootfs.tar.gz


At that point extraction failed partway through reporting there was no free disk space left.

And now I am here. :D
Fieryphoenix
 
Posts: 27
Joined: Sun May 22, 2011 8:41 pm

Re: Install Issues

Postby WarheadsSE » Sun May 29, 2011 4:53 pm

Well I'm working on updating it. be patient.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6741
Joined: Mon Oct 18, 2010 2:12 pm

Re: Install Issues

Postby WarheadsSE » Sun May 29, 2011 5:01 pm

Forgot to mention, verify that the rootfs is not full.... you dont want to see that happen on a reboot.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6741
Joined: Mon Oct 18, 2010 2:12 pm

Re: Install Issues

Postby Fieryphoenix » Sun May 29, 2011 5:09 pm

I think what was filling it was all in /tmp, with basically a fully copy of the extracted files from the script, and then I was extracting into the wrong directory when I did it myself. I did fail one reboot (from running reboot after I gave up), but then I powered everything off and rebooted fine. Right this instant df reports

Code: Select all
Filesystem           1K-blocks      Used Available Use% Mounted on
ubi0:rootfs             104524     12596     91928  12% /
none                     62880        16     62864   0% /tmp
/tmp/.cemnt/sda1      19228276    518588  17732940   3% /tmp/.cemnt/mnt_sda1
Fieryphoenix
 
Posts: 27
Joined: Sun May 22, 2011 8:41 pm

Re: Install Issues

Postby WarheadsSE » Sun May 29, 2011 5:15 pm

Good, nice and stable :)

And this is exactly why I had it run from /tmp.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6741
Joined: Mon Oct 18, 2010 2:12 pm

Re: Install Issues

Postby Socaltom » Wed Jun 01, 2011 1:39 am

Is it necessary to run the revert script prior to moving to a new boot drive, or is there an alternative method?
Tom
Owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
Adminstrator for
Goflex net, Black V3, Black V2
Socaltom
 
Posts: 567
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: Install Issues

Postby WarheadsSE » Wed Jun 01, 2011 3:04 am

The revert script has to be run from an operational install of Arch Linux ARM/ Arch Linux ARM. Sorry, but you have to have a working system to access the uboot variables.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6741
Joined: Mon Oct 18, 2010 2:12 pm

Re: Install Issues

Postby WarheadsSE » Wed Jun 01, 2011 9:06 pm

I was busy earlier and don't think I read that right, but you started a new thread here where it was properly addressed anyways.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6741
Joined: Mon Oct 18, 2010 2:12 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 1 guest