problem with mkinitrd
hi
suddenly out of the blue i am facing this problme whilre making intrd images i have done this a lot of time and now i am facing this problem root@darkstar:/usr/src/linux-2.6.11.8# mkinitrd -k 2.6.11gm142 -o /boot/initrd-2.6.11gm142.img cp: cannot create regular file `/tmp/tmp.1DbU0G/rootdev': No space left on device cp: cannot create regular file `/tmp/tmp.1DbU0G/rootfs': No space left on device i got he same error for compiling 2.4 kernel as well it was going fine some time back any suggestions regards |
"no space left on device" is telling you your filesystem is full.
Do df -k /tmp/tmp.1DbU0G to see what it is mounted as and how full it is: Example output: Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda9 472984 10739 437824 3% /tmp If you see Use% at 100% then you need to clean up. It is possible that it is not at 100% when you start but is getting there during the process. If this is the case you can monitor it by opening a separate window and running: while true do df -k tmp.1DbU0G sleep 5 done This will repeat the output every 5 seconds. (Hit ctrl-C when done to break out of it.) If you see it hit 100% you need to clean up your filesystem. |
well i thought of this and i have around 1 Gb of space left
df -k /tmp/ Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda4 5020152 3928768 1091384 79% / |
You're assuming the subdirectory is part of /tmp. That's why I suggested you specify it in your df -k.
Also noted a type in the for loop. Should have said /tmp/... |
tried that
it is never going high in space thanks for suggestion let me try the same kernel config on differetn Distro regards |
All times are GMT -5. The time now is 06:19 AM. |