hey adam,

One thing you can do is use the mkblankimage.sh script in linux-dist/scripts/  (linux-dist is available at m5.eecs.umich.edu/dist/linux-dist.tgz) to make a blank disk image of any size you want.  then mount that image to one mount point, mount your current image to another mount point.  tar up everything in your current image, copy to the blank one, untar, and voila, you've got all the files of your old image on the new one, only the new one is as big as you want it to be.  there might be a better way, but this is pretty simple already.  and don't forget to unmount - i do that all the time!  running on a mounted image can mess things up.

lisa


On 4/4/06, Adam Kaplan <[EMAIL PROTECTED]> wrote:
I created some AlphaLinux benchmarks, and wished to run them in FS mode.
As per the instructions on the web, I mounted the distributed linux.img
and tried to add files to it, but alas I ran out of space on that image's
partition.

Is there a simple fix to this? Intuitively it seems I can copy
all the files out of linux.img onto some new partition, add the binaries I
desire, and make a new disk image? Is there anything I haven't
accounted for? (In other words, do I have to do anything special to
ensure that the new image is bootable, etc?)

Thanks for your help!

-Adam Kaplan
Computer Science Dept
UCLA


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users


Reply via email to