[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem with rootstrap



Hi!

I've got a problem with rootstrap.
I've configured it and when I run I get this messages:


Using rootstrap module network from:
        /usr/lib/rootstrap/modules/network
* insmod tun
insmod: a module named tun already exists
Using /lib/modules/2.4.20-ck6/kernel/drivers/net/tun.o
* ifconfig tap0 192.168.10.198 netmask 255.255.255.255 up
* bash -c echo 1 > /proc/sys/net/ipv4/ip_forward
* route add -host 192.168.10.199 dev tap0
* bash -c echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp
Using rootstrap module mkfs from:
        /usr/lib/rootstrap/modules/mkfs
mke2fs 1.33-WIP (30-Mar-2003)
Using rootstrap module mount from:
        /usr/lib/rootstrap/modules/mount
Using rootstrap module debian from:
        /usr/lib/rootstrap/modules/debian
I: Retrieving ftp://ftp.debian.org/debian/dists/woody/Release
E: Failed getting release file ftp://ftp.debian.org/debian/dists/woody/Release
/usr/lib/rootstrap/modules/debian: line 22: /tmp/target/etc/apt/sources.list: 
No such file or directory
dpkg --root=/tmp/target --purge base-config console-common console-tools 
console-data console-tools-libs
dpkg: unable to access dpkg status area: No such file or directory
/usr/lib/rootstrap/modules/debian: line 41: 
/tmp/target/etc/network/interfaces: No such file or directory
cp: cannot create regular file `/tmp/target/etc/resolv.conf': No such file or 
directory
Traceback (most recent call last):
  File "/usr/lib/rootstrap/builder", line 58, in ?
    dispatch(module, modulevars)
  File "/usr/lib/rootstrap/builder", line 38, in dispatch
    raise "rootstrap: Module '%s' failed, status: %d" % (module,status)
rootstrap: Module 'debian' failed, status: 1
Kernel panic: Attempted to kill init!
 <6>Stopping all CPUs...done

Resizing filesystem...
resize2fs 1.33-WIP (30-Mar-2003)
The filesystem on prova.uml is now 16720 blocks long.


It seems it cannot retrieve the Release file, but ifconfig shows some activity 
on the tap0 interface, so it seems to retrieve something.
Here is the content of /etc/rootstrap/rootstrap.conf:


[global]
fstype=ext2
initialsize=100
freespace=10
PATH=/bin:/sbin:/usr/bin:/usr/sbin

[network]
interface=eth0
transport=tuntap
host=192.168.10.198
uml=192.168.10.199
netmask=255.255.255.0
gateway=192.168.10.198
nameserver=212.216.112.112

[debian]
dist=woody
mirror=ftp://ftp.debian.org/debian
exclude=pcmcia-cs setserial dhcp-client
purge=base-config console-common console-tools console-data console-tools-libs

[uml]
install_modules=yes




Reply to: