G'day, I am trying to use busybox in an initrd for system install/reinstall. The O/S is CentOS 5. My initrd is trying to mount a backup server using NFS, but fails with "No such device".
O/S: CentOS 5.0 with updates, 2.6.18-8.1.1.el5 kernel Busybox: 1.2.0-3.el5 Same O/S for server and client. This works on a booted system: mkdir /mnt/tmp /sbin/busybox mount 10.1.2.3:/data -t nfs -o ro,hard,intr /mnt/tmp In the initrd this fails: mkdir -p /mnt/tmp mount 10.1.2.3:/data -t nfs -o ro,hard,intr /mnt/tmp Both have the exact same kernel and exact same busybox. I verified that the IP addresses are not an issue. I have tried adding rsize=1024,wsize=1024 and other mount options but still get the same error. Note, I tried making busybox 1.6.1 static but it fails with "static linking against glibc...". Should I make a static busybox 1.6.1 using uLibc and test that? If so, is there a simple way of doing this (the last time I did this was busybox 0.6 and lots have changed). Such instructions would be nice for the FAQ. Thanks, -- Wade Hampton _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
