Editing the x86 mini root
The x86 mini-root is a gzip compressed UFS file system so if you find you need to edit it, to replace a file or edit /etc/system or any other thing here is how.
First make sure you are on an x86 system. UFS is not endian neutral.
# gunzip /tmp/mr.$$ # mount $(lofiadm -a /tmp/mr.$$) /mnt
Now edit your files under /mnt.
# umount /mnt # lofiadm -d /tmp/mr.$$ # gzip boot/x86.miniroot
Korn shell assumed in the above.
Tags: topic:[solaris]
Advertisements
There’s an easier way of doing it with /boot/solaris/bin/root_archive pack|unpack