From: <ver...@ya...> - 2003-10-06 22:42:20
|
Thanks for the response to the last question - got it all nicely working :D. Been playing a bit more, and come across another issue (proabably just my lack of *nix skills). I've un tar'ed the initrd.tgz, moved a file or two (just for fun), and now can't seem to re-image. What i've been trying to do is: dd if=/dev/zero of=/tmp/trinux/initrd.gz bs=1k count=3000 (this is where I think I'm going wrong?) losetup /dev/loop1 /tmp/trinux/initrd.gz mkfs -t ext2 /dev/loop1 mount /dev/loop1 /tmp/loop/trinux cp -dpR /tmp/trinux/extracted/* (the route of the extracted orginal initrid.tgz) /tmp/loop/trinux umount /tmp/loop/trinux losetup -d /dev/loop1 which gives me just over a 3mg initrd.gz whereas the orginal initrd.gz is only 512k (yet if i step down on the dd count to 2880, then I don't have enough space to copy everything over) Thanks for any help Vert __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |