![]() ![]() |
Dec 29 2008, 05:10 PM
Post
#1
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
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 |
|
|
|
Dec 30 2008, 03:11 AM
Post
#2
|
|
![]() Group: Members Posts: 376 Joined: 18-March 04 From: The Netherlands Member No.: 2,380 |
What I did was:
|
|
|
|
Dec 30 2008, 07:25 AM
Post
#3
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
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 |
|
|
|
Jan 1 2009, 03:03 PM
Post
#4
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
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" |
|
|
|
Jan 1 2009, 04:30 PM
Post
#5
|
|
|
Group: Members Posts: 28 Joined: 14-December 07 From: Charlotte, NC, USA Member No.: 21,078 |
|
|
|
|
Jan 1 2009, 04:43 PM
Post
#6
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
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 |
|
|
|
Jan 1 2009, 05:54 PM
Post
#7
|
|
|
Group: Members Posts: 438 Joined: 24-June 03 Member No.: 202 |
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 |
|
|
|
Jan 1 2009, 06:08 PM
Post
#8
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
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 umount /hdd1
umount: /hdd1: Operation not permitted This post has been edited by Jon_J: Jan 1 2009, 06:27 PM |
|
|
|
Jan 3 2009, 09:50 PM
Post
#9
|
|
|
Group: Members Posts: 28 Joined: 14-December 07 From: Charlotte, NC, USA Member No.: 21,078 |
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. |
|
|
|
Jan 3 2009, 09:51 PM
Post
#10
|
|
|
Group: Members Posts: 28 Joined: 14-December 07 From: Charlotte, NC, USA Member No.: 21,078 |
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. |
|
|
|
Jan 4 2009, 07:49 AM
Post
#11
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
off the top of my head, you can use (split to help readability) the exclude option to stop tar getting upset
CODE tar czf \ --exclude=/media/card --exclude=proc --exclude=/sys --exclude=/tmp --exclude=/dev \ / \ /media/card/mybackups.tgz |
|
|
|
Jan 4 2009, 04:23 PM
Post
#12
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
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" |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 03:45 PM |