[caiman-discuss] Inclusion of usbdump on LiveCD

Brian Nitz brian.nitz at sun.com
Tue Feb 12 09:41:30 PST 2008


Anil, 

Is there a way to make /usr (mounted lofi/1) of the USB distribution writable so I can install new packages after booting the live distribution?

Right now I can boot from the USB, but when I try to install anything, this happens:
# pkg install SFEdcraw
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    2/2       36/36     1.58/1.58 

Action install failed for 'usr/bin' (pkg://opensolaris.org/SFElcms):
  OSError: [Errno 30] Read-only file system: '//usr/bin'
Traceback (most recent call last):
  File "/usr/bin/pkg", line 851, in ?
    ret = main_func()
  File "/usr/bin/pkg", line 819, in main_func
    return install(img, pargs)
  File "/usr/bin/pkg", line 365, in install
    verbose = verbose, noexecute = noexecute)
  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 916, in list_install
    ip.execute()
  File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 370, in execute
    p.execute_install(src, dest)
  File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 271, in execute_install
    dest.install(self, src)
  File "/usr/lib/python2.4/vendor-packages/pkg/actions/directory.py", line 71, in install
    self.makedirs(path, mode = mode)
  File "/usr/lib/python2.4/vendor-packages/pkg/actions/generic.py", line 336, in makedirs
    os.chmod(path, mode)
OSError: [Errno 30] Read-only file system: '//usr/bin'
--
This message posted from opensolaris.org


More information about the caiman-discuss mailing list