You are not logged in.
well, I think a page in the wiki about quickinst can be very helpful to other pepole who have trouble with your (?) script like I had. Is it possible?
Offline
You had trouble with my script? Please explain - maybe I can improve it!
As to the wiki: anyone can add stuff to it, that's the point. Please feel free to do so.
larch: http://larch.berlios.de
Offline
In fact, maybe the best thing to do would be to extend the existing page:
http://wiki.archlinux.org/index.php/Usi … Arch_Linux
larch: http://larch.berlios.de
Offline
a few things:
First, about your script, I'v coied it from the first page of this topic and tried to run if from arch and got this error:
[root@arch ~]# ./archbootstrap oran/ ftp://ftp.archlinux.org
archbootstrap 0.4
No pkg cache found, fetching all pkg files...
Fetching ftp://ftp.archlinux.org/current/os/i686/setup/pacman.pkg.tar.gz.
Fetching ftp://ftp.archlinux.org/current/os/i686/setup/packages.txt.
Error: Could not untar /root/oran/tmp/bootstrappacman.pkg.tar.gz.
[root@arch ~]#
When I tried to run it from knoppix (i think) i got another error, i will check later.
About the wiki, i think my english isn't good enough for this kind of writing. what do you think?
that's it.
Offline
Oh ... it sounds like a bit of confusion might have crept into this long thread.
I am not responsible for archbootstrap, but for newarch, which I published when I saw that people were having trouble getting archbootstrap to work. So maybe you should rather try newarch.
About the wiki, i think my english isn't good enough for this kind of writing. what do you think?
I think that's not so important - someone can always tidy it up a bit, if necessary.
larch: http://larch.berlios.de
Offline
ok, I'l what i can do.
Offline
:?
I use archbootstrap and got some problems
[root@sgu ~]# ./archbootstrap /mnt/tmp/ http://download.ourlinux.net:81/Linux/ArchLinux
archbootstrap 0.4
Using existing pkg cache...
Fetching http://download.ourlinux.net:81/Linux/ArchLinux/current/os/i686/setup/pacman.pkg.tar.gz.
Fetching http://download.ourlinux.net:81/Linux/ArchLinux/current/os/i686/setup/packages.txt.
Fetching http://download.ourlinux.net:81/Linux/ArchLinux/current/os/i686/glibc-2.5-3.pkg.tar.gz.
warning: cannot find chroot binary - unable to run scriptlets
loading package data... done.
error: unsatisfied dependencies:
glibc: requires kernel-headers>=2.6.19.1
Error: Could not add a package.
I have chroot in /usr/sbin/chroot, and my kernel-headers' version is :
[root@sgu ~]# pacman -Qi kernel-headers
Name : kernel-headers
Version : 2.6.19.1-1
I've no idea why these errors occured.
I mount my rootfs to /mnt/tmp, and copy /bin/bash to /mnt/bin/bash (and with some necessary lib files). Try to chroot:
[root@sgu ~]# chroot /mnt/tmp/
chroot: cannot run command `/bin/bash': No such file or directory
[root@sgu ~]# ls /mnt/tmp/bin/
bash
[root@sgu ~]# ls /mnt/tmp/lib/
libc.so.6 libdl.so.2 libhistory.so.5 libncurses.so.5 libreadline.so.5
Is there someone who knows why?
Offline
a few things:
First, about your script, I'v coied it from the first page of this topic and tried to run if from arch and got this error:[root@arch ~]# ./archbootstrap oran/ ftp://ftp.archlinux.org archbootstrap 0.4 No pkg cache found, fetching all pkg files... Fetching ftp://ftp.archlinux.org/current/os/i686/setup/pacman.pkg.tar.gz. Fetching ftp://ftp.archlinux.org/current/os/i686/setup/packages.txt. Error: Could not untar /root/oran/tmp/bootstrappacman.pkg.tar.gz. [root@arch ~]#
When I tried to run it from knoppix (i think) i got another error, i will check later.
About the wiki, i think my english isn't good enough for this kind of writing. what do you think?
that's it.
see this in the script:
tar xzf ${PKG_PACMAN##*/}|| error "Could not untar ${BOOTSTRAP}${PKG_PACMAN##*/}."
Maybe your "tar" command return 0 if it untar the tarball successful, so I think you should change this to:
if [ tar xzf ${PKG_PACMAN##*/} == 0] then
error "Could not untar ${BOOTSTRAP}${PKG_PACMAN##*/}."
fi
Offline
Just to alert prospective Archers that this seems to be outdated.
The Script looks for /setup/packages.txt, which does not exist in the repositories.
I'm wondering about how I should modify it to adapt to the new db.pkg.tar.gz file. If anybody has any pointers, they're more than welcome!
no, not those kind of pointers: http://xkcd.com/138/
Offline
int *ptr;
Seriously, I really liked that script. Now I just copy my / partition around :-D
Last edited by lucke (2008-10-25 21:42:46)
Offline