Created
November 13, 2018 08:09
-
-
Save praveenkumar/17e481780ba3506d949346d124214827 to your computer and use it in GitHub Desktop.
Mount the RHCOS image and copy content.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[prkumar@local image]$ pwd | |
/home/prkumar/.cache/openshift-install/libvirt/image | |
[prkumar@local image]$ ll | |
total 8429340 | |
-r--r--r--. 1 prkumar prkumar 1762721792 Nov 12 12:02 5d9e7ad6af87c256f0729ba0b8fcab21 | |
-r--r--r--. 1 prkumar prkumar 1760821248 Nov 1 12:01 7722a0531a376a927e7dbd7fac58b2c9 | |
-r--r--r--. 1 prkumar prkumar 1673003264 Oct 22 11:49 b94474a2755fe45df7bd856789d830c9 | |
-r--r--r--. 1 prkumar prkumar 1762000896 Nov 9 10:25 c9fc84b57c827093733a9c77baabf94b | |
-r--r--r--. 1 prkumar prkumar 1673068800 Oct 18 13:53 de7ed838459359368283c7926c81dd73 | |
[prkumar@local image]$ guestfish --ro -a 5d9e7ad6af87c256f0729ba0b8fcab21 | |
Welcome to guestfish, the guest filesystem shell for | |
editing virtual machine filesystems and disk images. | |
Type: ‘help’ for help on commands | |
‘man’ to read the manual | |
‘quit’ to quit the shell | |
><fs> run | |
><fs> list-filesystems | |
/dev/sda1: xfs | |
/dev/sda2: xfs | |
><fs> mount /dev/sda1 / | |
><fs> ls / | |
coreos-firstboot | |
grub2 | |
loader | |
loader.0 | |
ostree | |
><fs> ls /ostree/redhat-coreos-maipo-5586d69a8bedecf41ba9c80fbf97b2c1663d1ee0a7ef9f4aed1e6ccf8ec0440a/ | |
initramfs-3.10.0-862.14.4.el7.x86_64.img | |
vmlinuz-3.10.0-862.14.4.el7.x86_64 | |
><fs> copy-out /ostree/redhat-coreos-maipo-5586d69a8bedecf41ba9c80fbf97b2c1663d1ee0a7ef9f4aed1e6ccf8ec0440a/vmlinuz-3.10.0-862.14.4.el7.x86_64 /home/prkumar/Public | |
><fs> copy-out /ostree/redhat-coreos-maipo-5586d69a8bedecf41ba9c80fbf97b2c1663d1ee0a7ef9f4aed1e6ccf8ec0440a/initramfs-3.10.0-862.14.4.el7.x86_64.img /home/prkumar/Public | |
><fs> exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment