Making a custom FreeBSD iso

Wojciech Puchar wojtek at tensor.3miasto.net
Sat Jun 18 19:12:52 GMT 2005


>
> Im ripping the iso image from the cd with dd
>
> dd if=/dev/acd0 of=file.iso bs=2048
>
> Then, Im mounting the iso image
>
> mdconfig -a -t vnode -f /usr/iso-orig/file.iso -u 0
>
> mount -t cd9660 /dev/md0 /iso
>
> ..and copying its contents to disk with cp -R

tar cf - .|(cd /newdir;tar xpf -) would be better and copy all dev's etc 
properly.

>
>
> Now, all of the sudden, the /rescue dir grows from 3.5M to 455M so after i 
> copy my scripts to the extracted iso filesystem on my hard disk and try to 
> make an iso I cannot burn the ISO because its way too big. Can anyone help me 
> with this?

iso9660 doesn't have links marked as links. just relink them all 
same-sized files to one


More information about the freebsd-questions mailing list