Author Topic: Tarball Of Cacko 1.23 Full Anywhere?  (Read 10266 times)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Tarball Of Cacko 1.23 Full Anywhere?
« on: December 29, 2008, 08:10:07 pm »
I'm looking for a tarball of cacko 1.23 full, so I can unpack it to an SD card and boot it with multiboot.

If none is available, then what is the best way to tar up a fresh cacko installation for unpacking to an SD card and booting as above?

Thank you,
Jon
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

cortez

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • http://www.omegamoon.com
Tarball Of Cacko 1.23 Full Anywhere?
« Reply #1 on: December 30, 2008, 06:11:32 am »
What I did was:
  • Flash Cacko
  • Flash bootkernel
  • Run Zubuntu
  • Mount cacko partition (mount /dev/mtdblock3 /media/hdd)
  • Create cacko archive (cd /media/hdd; tar -czpf /cacko.tar.gz .)
[div align=\"center\"]== == == == == == == == == == == == == ==
www.omegamoon.com
Zaurus SL-C750 - Died in a dreadful coffee experiment, has a second life somewhere in the Czech Republic
Zaurus SL-C1000 - Multiboot Zubuntu, Debian, Fedora, Poky, Android and others
Zaurus SL-C3100 - Development device, currently Zubuntu 2.0
Zaurus SL-6000L - The fridge is running Zubuntu 1.0
Zaurus SL-C860 - Cacko, untouched since kindly donated, waiting for Zubuntu
== == == == == == == == == == == == == ==[/div]

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Tarball Of Cacko 1.23 Full Anywhere?
« Reply #2 on: December 30, 2008, 10:25:44 am »
Thanks for the reply. That only tarred up /home (4.3 MB)
Doesn't cacko also need the / filesystem? which is on mtdblock2
Cacko has a bunch of symlinks between / and /home
« Last Edit: December 30, 2008, 10:27:02 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Tarball Of Cacko 1.23 Full Anywhere?
« Reply #3 on: January 01, 2009, 06:03:07 pm »
might be easier to install cacko and then copy it over to another machine using tar with a pipe and ssh thus:

cd /
tar czf - | ssh mydesktopmachine "cat > cackobackup.tgz"
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

ppyo

  • Newbie
  • *
  • Posts: 29
    • View Profile
Tarball Of Cacko 1.23 Full Anywhere?
« Reply #4 on: January 01, 2009, 07:30:45 pm »
Quote from: speculatrix
might be easier to install cacko and then copy it over to another machine using tar with a pipe and ssh thus:

cd /
tar czf - | ssh mydesktopmachine "cat > cackobackup.tgz"

Hmmm... How about getting it from a NAND backup? Would that be possible?
Ppyo - Proudly a Linux user since 96
Eee PC 1000HA - Ubuntu 9.04
Zaurus C1000 - Zubuntu/Cacko 1.23
Palm Zire 72

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Tarball Of Cacko 1.23 Full Anywhere?
« Reply #5 on: January 01, 2009, 07:43:21 pm »
I guess if you can work out the offsets into a nand backup, you can do that.

http://www.semicomplete.com/blog/geekery/m...e-in-linux.html
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

jfv

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
Tarball Of Cacko 1.23 Full Anywhere?
« Reply #6 on: January 01, 2009, 08:54:08 pm »
Quote from: speculatrix
might be easier to install cacko and then copy it over to another machine using tar with a pipe and ssh thus:

cd /
tar czf - | ssh mydesktopmachine "cat > cackobackup.tgz"

Is there something missing from this command? I get an error:
tar: Cowardly refusing to create an empty archive

Edit: apparently changing to "tar czf - . |" seems to be doing something. After a while the Zaurus froze with an error
tar:  ./proc/sys/pm/suspend input/output error  -- Invalid argument
and a 260MB file was on the desktop machine. Did it finish correctly? Do I dare flash it?

While I'm here, I have another question. If I want to reconstruct my Sharp ROM (not Cacko) after flashing zubuntu, I'll need (in addition to the tgz backup generated by the above command, once corrected) a zImage kernel. Which one should I use? Is the Tetsu kernel OK? I am not sure where to find Sharp's original one.

Thanks
« Last Edit: January 01, 2009, 09:25:17 pm by jfv »
SL 5000 D  and C860 Sharp ROM
Too many accessories...

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Tarball Of Cacko 1.23 Full Anywhere?
« Reply #7 on: January 01, 2009, 09:08:21 pm »
I'm trying to tar up / and save it to cackobackup.tgz on my CF card
I'm using this command and it is processing now, I'm not sure of the results, as I mistakenly used -p in the command.
I thought "-p" was for preserve permissions, I'll try again later without the "-p"
tar cpf - / | gzip - > /mnt/cf/cackobackup.tgz

Edit:
I think it was tarring up my cards, SD and CF
I need to remove them both, then use an empty CF card next time.
I stopped it before it was finished and the resulting file was 67MB

Edit2: I'll unmount my microdrive. I think tar would try to tar up the drive also.
I cannot umount the microdrive, so I'm stumped now.
Code: [Select]
umount /hdd1
umount: /hdd1: Operation not permitted
« Last Edit: January 01, 2009, 09:27:52 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

ppyo

  • Newbie
  • *
  • Posts: 29
    • View Profile
Tarball Of Cacko 1.23 Full Anywhere?
« Reply #8 on: January 04, 2009, 12:50:39 am »
Quote from: jfv
Quote from: speculatrix
might be easier to install cacko and then copy it over to another machine using tar with a pipe and ssh thus:

cd /
tar czf - | ssh mydesktopmachine "cat > cackobackup.tgz"

Is there something missing from this command? I get an error:
tar: Cowardly refusing to create an empty archive

Edit: apparently changing to "tar czf - . |" seems to be doing something. After a while the Zaurus froze with an error
tar:  ./proc/sys/pm/suspend input/output error  -- Invalid argument
and a 260MB file was on the desktop machine. Did it finish correctly? Do I dare flash it?

While I'm here, I have another question. If I want to reconstruct my Sharp ROM (not Cacko) after flashing zubuntu, I'll need (in addition to the tgz backup generated by the above command, once corrected) a zImage kernel. Which one should I use? Is the Tetsu kernel OK? I am not sure where to find Sharp's original one.

Thanks

Before flashing anything, you should create a NAND backup so you can get back to the original setting with no harm done.
Ppyo - Proudly a Linux user since 96
Eee PC 1000HA - Ubuntu 9.04
Zaurus C1000 - Zubuntu/Cacko 1.23
Palm Zire 72

ppyo

  • Newbie
  • *
  • Posts: 29
    • View Profile
Tarball Of Cacko 1.23 Full Anywhere?
« Reply #9 on: January 04, 2009, 12:51:45 am »
Quote from: speculatrix
I guess if you can work out the offsets into a nand backup, you can do that.

http://www.semicomplete.com/blog/geekery/m...e-in-linux.html

Thanks! I'll look into that. I'll post my findings.
Ppyo - Proudly a Linux user since 96
Eee PC 1000HA - Ubuntu 9.04
Zaurus C1000 - Zubuntu/Cacko 1.23
Palm Zire 72

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Tarball Of Cacko 1.23 Full Anywhere?
« Reply #10 on: January 04, 2009, 10:49:51 am »
off the top of my head, you can use (split to help readability) the exclude option to stop tar getting upset
Code: [Select]
tar czf                                \
 --exclude=/media/card  --exclude=proc --exclude=/sys  --exclude=/tmp --exclude=/dev \
 /                                              \
 /media/card/mybackups.tgz
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Tarball Of Cacko 1.23 Full Anywhere?
« Reply #11 on: January 04, 2009, 07:23:20 pm »
Quote from: jfv
Quote from: speculatrix
might be easier to install cacko and then copy it over to another machine using tar with a pipe and ssh thus:

cd /
tar czf - | ssh mydesktopmachine "cat > cackobackup.tgz"

Is there something missing from this command? I get an error:

sorry, that should have been

cd /
tar czf - . | ssh mycomputer "cat > cackbackup.tgz"
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.