Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using a Red Hat system (4.4.7-3) to generate a CentOS live USB/CD.

I have figured out how to create an overlay as well as a home overlay; however, I cannot seem to grasp how to change the overlay directories so that I can have a minimal overlay that only has logs from, say logins.

$ sudo /usr/bin/livecd-iso-to-disk --overlay-size-mb 256 --home-size-mb 128 --resetmbr --ISO_FILE=centos-*-live.iso USB_DEV=/dev/sdb

This question really just comes down to: Is there a way to specify the directory?

e.g.

$ sudo /usr/bin/livecd-iso-to-disk --overlay-size-mb 32 --home-size-mb 16 --resetmbr --ISO_FILE=centos-*-live.iso USB_DEV=/dev/sdb --home-location /path/to/hidden/logs

Anyone else ever had this issue?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.