Joey Hess wrote:
> When I try to make an initrd, it always fails like this:
> 
> Writing inode tables: done                            
> Writing superblocks and filesystem accounting information: done
> mount -t ext2 -o loop ./tmp/debian-installer ./mnt/debian-installer
> cp -a debian-installer/* ./mnt/debian-installer/
> cp: writing `./mnt/debian-installer/usr/lib/libdebconf.so.0.1.0': No space left on 
>device
> cp: cannot create directory `./mnt/debian-installer/usr/lib/cdebconf': No space left 
>on device
> cp: cannot create directory `./mnt/debian-installer/usr/lib/debian-installer': No 
>space left on device
> cp: cannot create directory `./mnt/debian-installer/var': No space left on device
> make: *** [initrd] Error 1
> 
> I wonder why it's working for you.. If I add a fuzz factor of 122 to
> your initrd size calculation, it seems to work:
> 
>         dd if=/dev/zero of=$(TMP_FILE) bs=1k count=`expr $$(du -s $(DEST) | cut -f 
>1) + 122`

On reflection, I suspect this is ext2fs overhead. The fuzz factor at
home is 127, not 122, probably because I added some more udebs in..

-- 
see shy jo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to