mkinitrd: Can't create temp dir, exiting...??
Ok so I'm trying to compile a new kernel I have read several tutorials on them and I followed them and it always fails at the same point. when I try to do
/sbin/mkinitrd /boot/initrd-2.4.20-4 2.4.20-4
I get the message
mkinitrd: Can't create temp dir, exiting
I've tried to use all the options for specifying root device temp directory and anything else I could think of. The directory is there it's writable but for some reason it just won't go.
anybody have any ideas?
Oh yeah the part where it fails in the script is here.
# should be nothing to change below...
tmp_dir=`mktemp -qd $root_dir/$tmp_dir/mkinitrd.XXXXXX`
if [ $? -ne 0 ]; then
echo "$0: Can't create temp dir, exiting..."