On Fri, 2008-11-07 at 11:37 +0100, Willi Burmeister wrote: > Hi, > > the official way to unpack the sparc.miniroot seems to be: > > # root_archive unpackmedia /<path_to>/<Solaris_cd_image> <path_to>/<unpack_dir> > > You need to install Solaris 10 U6 on SPARC first to get a copy of > '/boot/solaris/bin/root_archive'. > > But even after unpacking the image none of the files are readable > (all done on a SPARC system) > > # cd /var/tmp/unpack_dir/sbin > # ls -l install-* > -r-xr-xr-x 1 root sys 537 Oct 20 22:08 install-X-test-legibility > -r-xr-xr-x 1 root sys 626 Oct 20 22:08 install-X-watchdog > -r-xr-xr-x 1 root sys 1690 Oct 20 22:08 install-additional-prods > ... > > # file install-* > install-X-test-legibility: data > install-X-watchdog: data > install-additional-prods: data > ... > > Booting the installation image from my jumpstart server shows: > > # ls -l install-* > -r-xr-xr-x 1 root sys 699 Oct 27 19:53 install-X-test-legibility > -r-xr-xr-x 1 root sys 951 Oct 27 19:53 install-X-watchdog > -r-xr-xr-x 1 root sys 4447 Oct 27 19:53 install-additional-prods > ... > > # file install-* > install-X-test-legibility: executable shell script > install-X-watchdog: executable shell script > install-additional-prods: executable shell script > ... > > > So the question is: how can I unpack and repack the miniroot for SPARC and make > some changes in this filesystem image? > > Any help is appreciated. > > Thanks > > Willi > > > _______________________________________________ > install-discuss mailing list > install-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/install-discuss
You can try lofiadm to unpack. For example: lofiadm -a /boot/sparc.miniroot mount /dev/lofi/1 /mnt/miniroot For packing use root_archive - Best regards, Alexander R. Eremin -- MilaX minimal Live Distribution developer Software engineer and system admin http://www.milax.org