Code: Select all
tar_command="$find_command | $tar $zip $tarOptions --no-recursion -T - | split $split_options - "$stage4Name.$stage4postfix"_"Code: Select all
PROXYGENTOO ~ # ./mkstage4.sh
: No such file or directory
PROXYGENTOO ~ # sh mkstage4.sh
: command not found:
: command not found0:
: command not found3:
: command not found6:
'kstage4.sh: line 18: syntax error near unexpected token `do
'kstage4.sh: line 18: `for command in ${command_list[@]}; do
PROXYGENTOO ~ # find /bin/tar
/bin/tar
looks like your script is broken.profy wrote:Helllo,
with version=v3.4
Any suggestion to help me ?Code: Select all
PROXYGENTOO ~ # ./mkstage4.sh : No such file or directory PROXYGENTOO ~ # sh mkstage4.sh : command not found: : command not found0: : command not found3: : command not found6: 'kstage4.sh: line 18: syntax error near unexpected token `do 'kstage4.sh: line 18: `for command in ${command_list[@]}; do PROXYGENTOO ~ # find /bin/tar /bin/tar
Sorry if it's an easy error i'm a beginner.
Code: Select all
No directory /home/username!
Code: Select all
cat /etc/passwdCode: Select all
cat /etc/groupCode: Select all
tar (child): gzip: Cannot exec: No Such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errorsHi
Impressive script, however when I tried to execute
I got error:Code: Select all
./mkstage4.sh
/var/log/portage not found! Check your $default_include_files
it's obvious that the problem is the tar version or the tar capabilities of the mac boot disk. either you gunzip/bunzip your stage4 (if you can handle the size of hte uncompressed tar file) or you try out a ppc livecd (i assume a 64bit version): ftp://mirror.switch.ch/mirror/gentoo/re ... /installcd. i don't own a mac.Jedidiah wrote: does anyone have any ideas?
the only other idea i had was to boot from a gentoo live cd for the sake of untarring the archive, but i wasn't sure if there was a livecd that supported writing to a macosx formated partition that is journaled. any suggestions for which live cd i should use? i am on the new imac G5s http://store.apple.com/1-800-MY-APPLE/W ... .1.0?44,20, and becuase this is for the college i am working for, installing gentoo is not an option. so unless someone has a better idea, i really just need to know which live cd (that has tar on it) supports the imac G5s that we have
thanks a ton
jedidiah
Code: Select all
tar xzvpf /mnt/cdrom/host-stage4-18.04.2005-custom.tar.gz -C /mnt/gentoo/ --exclude=.reiserfs_priv
Code: Select all
Total bytes written: 4423526400 (4,2GiB, 2,4MiB/s)Code: Select all
evanescence stage4 # ls -ll -h
total 2,0G
-rw-r--r-- 1 root root 2,0G jul 2 01:38 evanescence-stage4-2005.07.02-custom.tar.gz
Maybe that's how much was backed up?ktech wrote:I have a problem:
Then I look at the generated file:Code: Select all
Total bytes written: 4423526400 (4,2GiB, 2,4MiB/s)
so, what's the deal? The filesystem where the backup is, is reiser3.Code: Select all
evanescence stage4 # ls -ll -h total 2,0G -rw-r--r-- 1 root root 2,0G jul 2 01:38 evanescence-stage4-2005.07.02-custom.tar.gz
4.2G raw data; 2.0 G after compressionktech wrote:I have a problem:
Then I look at the generated file:Code: Select all
Total bytes written: 4423526400 (4,2GiB, 2,4MiB/s)
so, what's the deal? The filesystem where the backup is, is reiser3.Code: Select all
evanescence stage4 # ls -ll -h total 2,0G -rw-r--r-- 1 root root 2,0G jul 2 01:38 evanescence-stage4-2005.07.02-custom.tar.gz
Code: Select all
du -sch filenameCode: Select all
ls -l filename