Hi guys, I have got a boot image working, thanks to this mailing list. Now, my question is, how can I reduce the size of the boot image? Basically, I created the boot image by copying files from an iso image, which must contains lots of files that I don't need. Is there a neat way so that I can only copy the files that are needed? Thanks a bunch! -Simon
CHEN Xu wrote:> Hi guys, > > I have got a boot image working, thanks to this mailing list. Now, my > question is, how can I reduce the size of the boot image? > > Basically, I created the boot image by copying files from an iso > image, which must contains lots of files that I don't need. Is there a > neat way so that I can only copy the files that are needed? > > Thanks a bunch! > > -SimonStill talking about BSD? Check out mfsbsd, it's a stripped down image that weighs in around 30mb IIRC. It has a simple build system so you can modify it for your purposes. It makes a great recovery tool, and I believe it is capable of doing ftp/net installs. you can gzip your image to help with the transfer speed. memdisk supports gzip natively, just pass it a .gz file and it knows what to do. Anything else, and I am guessing you would be better served by looking to the relevant OS support, as it will be specific to each. HTH -Andrew
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 CHEN Xu wrote:> I have got a boot image working, thanks to this mailing list. Now, my > question is, how can I reduce the size of the boot image?There will generally be two approaches. The first is to recut whatever image you are using to remove files from it etc. The second approach is to get the files as needed after boot such as by using an NFS mounted root. As an example of the latter, I have a PXE boot setup for the Ubuntu DVD. Although some of my machines have more than 4GB of memory it isn't a very practical way of doing things. Instead I do this: https://wiki.ubuntu.com/LiveCDNetboot Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIeoU5mOOfHg372QQRAlgTAJ4v0LBqOHyV0rz4KaK3qFPiBI2PuACgs/Y6 qLcw42aSZkINZFaoaDIIAhk=bk0S -----END PGP SIGNATURE-----