Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jun 2005 21:12:25 +0200 (CEST)
From:      Wojciech Puchar <wojtek@tensor.3miasto.net>
To:        Chris Huff <chuff@digifonica.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Making a custom FreeBSD iso
Message-ID:  <Pine.NEB.4.62.0506182111230.3917@chylonia.3miasto.net>
In-Reply-To: <42B3108B.9070801@digifonica.com>
References:  <42B3108B.9070801@digifonica.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> 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



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