Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2010 17:17:23 -0800
From:      Jason <jhelfman@e-e.com>
To:        Knight Tiger <caugar@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ISO image size -regarding
Message-ID:  <20100109011723.GE52892@eggman.experts-exchange.com>
In-Reply-To: <69fec4521001081641q4aec5788n25f0bf2ecbe49d16@mail.gmail.com>
References:  <69fec4521001081641q4aec5788n25f0bf2ecbe49d16@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I am uncertain as to why the difference with the changes you had made,
and the size it returned, however I would suggest following the release 
engineering process for creating a custom release.

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/index.html

In doing this process, I am sure you find it is a much cleaner process,
and more close in size to what you may expect.

-jgh

On Fri, Jan 08, 2010 at 04:41:24PM -0800, Knight Tiger thus spake:
>Hi,
>
>I am trying to create a custom ISO image of FreeBSD 6.4. The only
>difference between the release ISO and this custom image is a modified
>driver (amdsmb.ko). I did not create the new driver. I believe it was
>backported from a later release.
>
>I understand that this is not a backport of the driver  but a hack but
>the ISO size surprises me.
>
>The steps I had followed (listed below) resulted in an ISO image of
>around 1 GB while the original ISO image is around 600 MB. The new
>image work boots fine but I am not sure why it is huge
>
>Steps:
>
>// mount the release ISO
># mdconfig -a -t vnode -f 6.4-RELEASE-i386-disc1.iso -u 0
># mount_cd9660 /dev/acd0 /mnt
>
># pwd
>/usr/home/scott
>
># mkdir custom
># cd custom
>
>// copy iso files to custom
># rsync  -a /mnt .
>
># scp scott@remote:/boot/kernel/amdsmb.ko boot/kernel/.
>
>// wrap up in a ISO
># cd ..
>#mkisofs -R -b boot/cdboot -no-emul-boot -o custom.iso custom
>
>The ISO file is created successfully but is huge. I mounted it in
>VirtualBox and boots just fine. I was able to install the OS (although
>I have not checked the functionality of amdsmb changes yet)
>
>I looked up information on creating custom ISO images but they had all
>involved rebuilding the kernel while I am not sure if I need to do the
>same Any leads is appreciated.
>
>Thanks
>Scott
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100109011723.GE52892>