Author Topic: Archlinuxarm On C3x00  (Read 51568 times)

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #285 on: October 26, 2015, 03:47:58 pm »
I have been mainly copying files over via SD card but thats mainly because I'm currently stuck with USB ethernet + powered hub and the mass of cables that involves if I want any networking. If I had wifi working I would be using scp or sftp to copy files from my laptop but otherwise yes, you might be better off using wget to download files directly.

One thing to note if you're copying files to SD or CF cards from a Linux machine is after unmounting a drive its best to run the sync command to make sure all files have fully transferred.
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1809
    • View Profile
Archlinuxarm On C3x00
« Reply #286 on: October 26, 2015, 03:58:10 pm »
Quote from: danboid
I have been mainly copying files over via SD card but thats mainly because I'm currently stuck with USB ethernet + powered hub and the mass of cables that involves if I want any networking. If I had wifi working I would be using scp or sftp to copy files from my laptop but otherwise yes, you might be better off using wget to download files directly.

One thing to note if you're copying files to SD or CF cards from a Linux machine is after unmounting a drive its best to run the sync command to make sure all files have fully transferred.


Thanks for the input and reminder about 'sync'.......

Have tried various ways of doing wget, including username and password info, but get error message, about syntax error near unexpected token ';&'...
and another message when I try adding username and password info another way.....

Also, get weird situation where wget starts going to other zaurus related sites/repos to try to get file......

So, think best at least for now is to copy files over......
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1809
    • View Profile
Archlinuxarm On C3x00
« Reply #287 on: October 26, 2015, 05:30:48 pm »
OK, recopied files over to SD card from laptop. Did 'sync' after I copied.....

Now when I do 'pacman -U /root/pccardctl.tar.gz' I still get error message:

error: missing package metadata in /root/pccardctl.tar.gz
error: '/root/pccardctl.tar.gz' :  invalid or corrupted package


 


????

UPDATE

Tried downloading files on laptop, but saving them directly to SD card....

But I get exact same error message as above when trying to install using pacman.....

 
« Last Edit: October 26, 2015, 06:44:59 pm by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #288 on: October 27, 2015, 01:17:00 am »
Quote from: ArchiMark
OK, recopied files over to SD card from laptop. Did 'sync' after I copied.....

Now when I do 'pacman -U /root/pccardctl.tar.gz' I still get error message:

error: missing package metadata in /root/pccardctl.tar.gz
error: '/root/pccardctl.tar.gz' :  invalid or corrupted package


 


????

UPDATE

Tried downloading files on laptop, but saving them directly to SD card....

But I get exact same error message as above when trying to install using pacman.....

 

PCCARDCTL :

extract the file with tar, and run it
Code: [Select]
cd /root
tar xf pccardctl.tar.gz
./pccardctl info

this means the binary will be at /root, you can copy the binary to  /usr/local/bin, a better place if you intend to use the tool more often and from everywhere.

SYSTEMD :

extract the files with tar, and run pacman -U
Code: [Select]
cd /root
tar xf systemd226.tar.gz
pacman -U systemd-226-3-arm.tar.xz systemd-sysvcompat-226-3-arm.tar.xz

and see danboids' post about masking these packages and prevent them from getting updated when you do a pacman -Syu
Gemini-PDA (Stock Android) / LG Nexus 5 (Sailfish OS) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1809
    • View Profile
Archlinuxarm On C3x00
« Reply #289 on: October 27, 2015, 01:20:57 am »
Quote from: daalnroti
Quote from: ArchiMark
OK, recopied files over to SD card from laptop. Did 'sync' after I copied.....

Now when I do 'pacman -U /root/pccardctl.tar.gz' I still get error message:

error: missing package metadata in /root/pccardctl.tar.gz
error: '/root/pccardctl.tar.gz' :  invalid or corrupted package


 


????

UPDATE

Tried downloading files on laptop, but saving them directly to SD card....

But I get exact same error message as above when trying to install using pacman.....

 

PCCARDCTL :

extract the file with tar, and run it
Code: [Select]
cd /root
tar xf pccardctl.tar.gz
./pccardctl info

this means the binary will be at /root, you can copy the binary to  /usr/local/bin, a better place if you intend to use the tool more often and from everywhere.

SYSTEMD :

extract the files with tar, and run pacman -U
Code: [Select]
cd /root
tar xf systemd226.tar.gz
pacman -U systemd-226-3-arm.tar.xz systemd-sysvcompat-226-3-arm.tar.xz

and see danboids' post about masking these packages and prevent them from getting updated when you do a pacman -Syu

Thank you, daalnroti....really appreciate your help.....

Will do as you suggest.....and danboid....

Still seems very odd that this is happening though.....
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #290 on: October 27, 2015, 08:40:03 am »
This thread and the installl guide both refer to installing on the C3x00 but I'd expect the same kernel should also work for the C1000, right daal?

I suppose we shoud wait until a C1000 user has verified that before I update the installl guide etc.
« Last Edit: October 27, 2015, 08:41:59 am by danboid »
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

TheWalt

  • Full Member
  • ***
  • Posts: 176
    • View Profile
Archlinuxarm On C3x00
« Reply #291 on: October 27, 2015, 10:58:19 am »
Started working on this today and of course show stopper before I even got started.

For some reason recovery flash can't see my SD card, but it mounts in BSD just fine on the Z (and also on the linux machine I copied files from), so I can't get kexecboot going *sigh*

Been long enough I don't remember but was there some size limit with the Z?  It's only 2gb sandisk ... its a micro in a SD adapter, maybe that is the problem?
- Gemini PDA | WiFi - Android 7.1.1
- GPD Pocket | Ubuntu Mate 18.10
- Zaurus SL-C3100 | ArchLinuxARM

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #292 on: October 27, 2015, 11:11:37 am »
The card should be formatted as FAT or ext2. I've only ever tried FAT though so I'd stick with that.

I've heard some people say you have to use FAT12 but I'm certain I've installed off fat32 fine.

2GB should be fine. I think I've installed kexecboot off a 4GB CF card before.
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1809
    • View Profile
Archlinuxarm On C3x00
« Reply #293 on: October 27, 2015, 11:43:12 am »
 
Quote from: daalnroti
PCCARDCTL :

extract the file with tar, and run it
Code: [Select]
cd /root
tar xf pccardctl.tar.gz
./pccardctl info

this means the binary will be at /root, you can copy the binary to  /usr/local/bin, a better place if you intend to use the tool more often and from everywhere.

Done and works!

Quote
SYSTEMD :

extract the files with tar, and run pacman -U
Code: [Select]
cd /root
tar xf systemd226.tar.gz
pacman -U systemd-226-3-arm.tar.xz systemd-sysvcompat-226-3-arm.tar.xz

and see danboids' post about masking these packages and prevent them from getting updated when you do a pacman -Syu

Done and system now works the way it did before.......Whew!!


Thanks for all the help, daalnroti and danboid!!

OK, back to having fun with Arch.............

 
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1809
    • View Profile
Archlinuxarm On C3x00
« Reply #294 on: October 27, 2015, 01:23:38 pm »
Quote from: danboid
The card should be formatted as FAT or ext2. I've only ever tried FAT though so I'd stick with that.

I've heard some people say you have to use FAT12 but I'm certain I've installed off fat32 fine.

2GB should be fine. I think I've installed kexecboot off a 4GB CF card before.


+1 for FAT.....



And Walt, I used 2GB SanDisk card too (although not the microSD...)....but think you should be good....
« Last Edit: October 27, 2015, 01:25:08 pm by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1809
    • View Profile
Archlinuxarm On C3x00
« Reply #295 on: October 27, 2015, 03:51:48 pm »
Now that I've got Arch running OK.....on my SD card....I'd like to have it running from the internal drive.....

Think I'll put my 32GB CF card in Zaurus to replace 6GB microdrive.....

I had thought of copying the current install over to the internal drive rather than extracting the rootfs tarball on it.

What do you guys think is best?

Trying to avoid more headaches if possible....

 


If it's safe to copy over install from SD card, then would I use DD command or ?

Thanks for your input...

UPDATE

Decided to go all the way and use my 32GB CF card. Therefore, doing a fresh install.....figure that's best for the long run....

Going to try the experimental rootfs too....what the heck.....




UPDATE 2

Ready to swap out my microdrive with the 32GB Card, but now I realize the little screwdriver I have with me is not small enough.....  

Will try to pickup a super tiny one soon.....
« Last Edit: October 28, 2015, 01:03:44 pm by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

TheWalt

  • Full Member
  • ***
  • Posts: 176
    • View Profile
Archlinuxarm On C3x00
« Reply #296 on: October 28, 2015, 02:04:25 pm »
Best Day Ever!

Ok, maybe not that crazy but I am for sure super excited to have ArchLinux|ARM running on my Z.  BIG THANKS to all that put work into making this possible, and esp danboid for the guide.

I have ran Archlinux|ARM on pogoplugs since Feb 2012 (give or take), so pretty familiar with how things work as far as that goes.  I now have a full install running off microdrive at the moment, but of course want to swap it out for a CompactFlash as well.  I can't remember, is it an easy unplug/plug and that's it?

BTW: Never got the SD to read for some reason.  I found an old 1GB compact flash that I installed from, zero issues.  I also have my TRENDnet TE-CF100 network card working just fine.

So at this point I have installed htop and sudo just to test pacman, but haven't done any system upgrades not knowing what will break.  I think i saw some posts about having to IgnorePkg some files, will read through all that.  Also need to check out if any newer kernel is worth upgrading to vs what was in the tarball.

Hope I can test and contribute to this project from now on.  
- Gemini PDA | WiFi - Android 7.1.1
- GPD Pocket | Ubuntu Mate 18.10
- Zaurus SL-C3100 | ArchLinuxARM

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1809
    • View Profile
Archlinuxarm On C3x00
« Reply #297 on: October 28, 2015, 08:07:12 pm »
Quote from: TheWalt
Best Day Ever!

Ok, maybe not that crazy but I am for sure super excited to have ArchLinux|ARM running on my Z.  BIG THANKS to all that put work into making this possible, and esp danboid for the guide.

I have ran Archlinux|ARM on pogoplugs since Feb 2012 (give or take), so pretty familiar with how things work as far as that goes.  I now have a full install running off microdrive at the moment, but of course want to swap it out for a CompactFlash as well.  I can't remember, is it an easy unplug/plug and that's it?

BTW: Never got the SD to read for some reason.  I found an old 1GB compact flash that I installed from, zero issues.  I also have my TRENDnet TE-CF100 network card working just fine.

So at this point I have installed htop and sudo just to test pacman, but haven't done any system upgrades not knowing what will break.  I think i saw some posts about having to IgnorePkg some files, will read through all that.  Also need to check out if any newer kernel is worth upgrading to vs what was in the tarball.

Hope I can test and contribute to this project from now on.  

EXCELLENT, Walt!

This is great news....glad you came aboard the ArchLinuxARM Train......

Now if ol' Sean hops on, we'll be close to our goal of Five Eyes.....

Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #298 on: October 28, 2015, 08:14:44 pm »
Good to hear you got ALARMZ installed Walt!

As for upgrading your MD, I found it a bit scary pulliing my Z to bits but you can do it in an hour or so. See post #61 (at the top of page 5)  of this thread for my notes on the process.

Are we closer to five eyes? We need ZALARM users from Canada and Australia to complete the five. Where do you live Walt?
« Last Edit: October 28, 2015, 08:15:27 pm by danboid »
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1809
    • View Profile
Archlinuxarm On C3x00
« Reply #299 on: October 28, 2015, 09:23:42 pm »
Quote from: danboid
Good to hear you got ALARMZ installed Walt!

As for upgrading your MD, I found it a bit scary pulliing my Z to bits but you can do it in an hour or so. See post #61 (at the top of page 5)  of this thread for my notes on the process.

Are we closer to five eyes? We need ZALARM users from Canada and Australia to complete the five. Where do you live Walt?

I finished swapping out the MD for the CF an hour ago.....as you say, a bit scary, especially with those itsy bitsy little tiny screws....plus the battery compartment plastic piece falling out, etc....but somehow managed to get it done and my Z now has 30+ GB's available.....nice!!...

You need to get a super tiny philips head (#000) and standard screwdriver (3/64")- to take out the screws....

Dan's link to the Japanese website with all the photos of Z disassembled was extremely helpful. However, the Japanese translation to English is awkward at best. I misunderstood the text and took out the aluminum sheild under the battery compartment, not necessary, and saves dealing with 3 less super tiny screws...

Be careful when trying to remove the black plastic piece that contains the microdrive from the circuit board. the two tiny tabs that hold it to the circuit board are very fragile, just use very tiny amount of pressure with fingernail or screwdriver to barely push it to get plastic piece free from circuit board. I almost tore off one of the tabs...fortunately didn't break off....

Worth the trouble though in the end....very nice having a 32GB drive....  

Walt's in US, so, guess we're only at 3 Eyes....maybe 3.5?..............
« Last Edit: October 28, 2015, 09:24:40 pm by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/