Solved: Installing Arch Linunx on Flash drive for ppv4

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

Solved: Installing Arch Linunx on Flash drive for ppv4

Postby jhaveri » Thu Jan 03, 2013 10:34 pm

Is there some special requirement for installing arch linux ARM on a flash drive for Pogoplug Sereies 4?

When I install it on a USB 2.0 hard drive with 3 partitions (rootfs, swap, and data), it works well, i.e. I can use poweroff command to shut it down, and start it again by plugging the device back in the outlet.

When I install the linux instead on a USB flash drive with only 1 partition (rootfs), it work ok. But when I shut down with poweroff command, it can not be restarted by plugging the device back in the outlet. The device keeps on blinking green lihgt. When I observe the boot process, I see the flash drive lights up briefly, indicating some communication, but it never boots. I have to unplug the flash drive and put it it desktop linux system. Running "e2fsck -y /dev/sda1" shows device is clean. But I run "fsck -fy /dev/sda1" to check it anyway. After that it boots again, but only once. After every poweroff, I have to run "e2fsck -y /dev/sda1" on in desktop linux, and then boot it in ppv4 (not worth it, so i use usb 2.0 hard drive)

There must be something that needs to be done to run the arch linux from a flash drive. Any ideas or suggestions?
Last edited by jhaveri on Wed Jan 16, 2013 4:32 am, edited 1 time in total.
jhaveri
 
Posts: 16
Joined: Sun Dec 30, 2012 10:24 am

Re: Installing Arch Linunx on Flash drive for ppv4

Postby WarheadsSE » Fri Jan 04, 2013 6:36 pm

1) which kernel are you running?
2) SWAP ON FLASH BAD
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Installing Arch Linunx on Flash drive for ppv4

Postby jhaveri » Fri Jan 04, 2013 8:33 pm

$this->bbcode_second_pass_quote('WarheadsSE', '1')) which kernel are you running?
2) SWAP ON FLASH BAD


I do not have swap on flash, only 1 partition. I installed arch linux only last week using the instruction on wiki, here is step 9

9.Download and install Arch Linux ARM:
cd alarm
wget http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz
tar -xzvf ArchLinuxARM-armv5te-latest.tar.gz # This will take a long time
rm ArchLinuxARM-armv5te-latest.tar.gz
sync # Takes a while if you are using a flash drive

So it is the latest kernel as of Dec 31, 2012. I did update the system using pacman -Suy after that.

I will check the kernal version tonight at home. In office now.
jhaveri
 
Posts: 16
Joined: Sun Dec 30, 2012 10:24 am

Re: Installing Arch Linunx on Flash drive for ppv4

Postby jhaveri » Sat Jan 05, 2013 7:58 pm

$this->bbcode_second_pass_quote('WarheadsSE', '1')) which kernel are you running?
2) SWAP ON FLASH BAD


The kernel version is 3.1.10-15-ARCH
jhaveri
 
Posts: 16
Joined: Sun Dec 30, 2012 10:24 am

Re: Installing Arch Linunx on Flash drive for ppv4

Postby jhaveri » Tue Jan 15, 2013 5:28 am

http://archlinuxarm.org/forum/viewtopic.php?f=18&t=4754&start=10#p26865

I was able to boot with a new flash drive. Please see the link.
jhaveri
 
Posts: 16
Joined: Sun Dec 30, 2012 10:24 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 49 guests

cron