oxnas-install.sh from running arch-pogo

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

oxnas-install.sh from running arch-pogo

Postby litewait » Thu Mar 21, 2013 1:28 pm

I have the Pink Pogo and I am struggling to upgrade all my packages (glibc is giving me fits). I thought a simpler way would be to grab another flash drive and just provision it with a new install and boot from that.

I tried getting blparam and such and modifying oxnas-install.sh, but there are too many dependencies on the original Pogo OS to make that feasible.

Is there instructions on how to provision a bootable Arch Pogo from an existing Arch Pogo system?

Thanks!
litewait
 
Posts: 18
Joined: Wed Sep 19, 2012 8:56 pm

Re: oxnas-install.sh from running arch-pogo

Postby WarheadsSE » Thu Mar 21, 2013 1:48 pm

Extract the rootfs. Done.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: oxnas-install.sh from running arch-pogo

Postby litewait » Thu Mar 21, 2013 2:03 pm

Sorry, just to be clear:

cd /tmp/usb
tar xzf ArchLinuxARM-oxnas-latest.tar.gz

???
litewait
 
Posts: 18
Joined: Wed Sep 19, 2012 8:56 pm

Re: oxnas-install.sh from running arch-pogo

Postby litewait » Thu Mar 21, 2013 3:19 pm

If that is what is required. As I try to unbundle the tar file, about a minute into it I get:

$this->bbcode_second_pass_code('', './usr/lib/systemd/system/quotaon.service
tar: ./usr/lib/systemd: Cannot mkdir: Read-only file system
tar: ./usr/lib/systemd/system/quotaon.service: Cannot open: No such file or directory
./usr/lib/systemd/system/graphical.target
tar: ./usr/lib/systemd: Cannot mkdir: Read-only file system')

and the flash drive unmounts itself and I have to unplug/plug it to remount it.

Ideas?
litewait
 
Posts: 18
Joined: Wed Sep 19, 2012 8:56 pm

Re: oxnas-install.sh from running arch-pogo

Postby WarheadsSE » Thu Mar 21, 2013 3:38 pm

You need to make sure the file system is writable. Duh.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: oxnas-install.sh from running arch-pogo

Postby litewait » Thu Mar 21, 2013 3:58 pm

Seeing as tar created 1245 files in /usr/ before I get that error I don't think the file system was read-only.
litewait
 
Posts: 18
Joined: Wed Sep 19, 2012 8:56 pm

Re: oxnas-install.sh from running arch-pogo

Postby WarheadsSE » Thu Mar 21, 2013 5:15 pm

Well find out what changed then. Filesystems don't just switch without evidence.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: oxnas-install.sh from running arch-pogo

Postby litewait » Thu Mar 21, 2013 6:29 pm

Well I just moved the game over to an Ubuntu laptop.

1. Cleaned and created a partition on the 8GB flash drive and made it bootable.
2. mk2efs on the partition and labeled rootfs
3. Brought down the latest oxnas tar.gz
4. untar'ed into the drive
5. sync
6. Unmount

Put it in the PinkPogo and I just get a flashing green light.

Am I missing a step here?
litewait
 
Posts: 18
Joined: Wed Sep 19, 2012 8:56 pm

Re: oxnas-install.sh from running arch-pogo

Postby litewait » Thu Mar 21, 2013 6:49 pm

Strange. Repeated those steps and now it boots!

Thanks for the help.
litewait
 
Posts: 18
Joined: Wed Sep 19, 2012 8:56 pm

Re: oxnas-install.sh from running arch-pogo

Postby pepedog » Thu Mar 21, 2013 6:52 pm

You did this as root?
Has to be root when you extract.
Next thing to try mkfs.ext3
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 6 guests