General discussion

  • Creator
    Topic
  • #4216717

    I cannot find the filesystem.squashfs file _asking for help

    Locked

    by Lei Zhang ·

    Hello Everyone, I am encountering this problem, and I need your help.

    I am trying to convert an iso file to a docker image.

    I am doing this on centos8 system and below are the steps that I followed.

    1. yum install squashfs-tools -y

    2. mkdir rootfs unquashfs

    3. sudo mount -o loop HikOS-B_V2.1.0-standard-centos7.8_x86_64-20230322 rootfs

    4. cd rootfs & find . -type f | grep filesystem.squashfs
    but at the step, I failed to get the filesystem.squashfs, the command displayed nothing, which means I cannot get the filesystem.squashfs file, I cannot go forward.

    I watched this video and here is the link on youtube.

    I hope there are some friends can help me, thanks very much.

    Best,
    Lei

All Comments

  • Author
    Replies
    • #4216845
      Avatar photo

      Frankly, it’s too old.

      by rproffitt ·

      In reply to I cannot find the filesystem.squashfs file _asking for help

      That version appears to be well over a decade old. Nice way to get hacked.

      Even so, get something ready to dock. Try https://hub.docker.com/_/centos/

      • #4217085

        too old?

        by Lei Zhang ·

        In reply to Frankly, it’s too old.

        what do mean “it’s tool old” ? do you mean the centos version I was using too old ?
        Please indicate clearly, I am new for this matter.

        Thanks very much for your help.
        Lei

        • #4217297
          Avatar photo

          It’s an old distro over 4 years old.

          by rproffitt ·

          In reply to too old?

          That is why you may not find much support.

          Anyhow, try the image ready to dock at the link given.

        • #4217349

          can I use the current ISO file at hand to convert a docker image?

          by Lei Zhang ·

          In reply to too old?

          Hi Rproffitt,

          Thanks very much for your help, I really appreciate it.

          Now I am wondering,can I use the current ISO file at hand to convert to a docker image? in the ISO file at hand, there are some binaries integrated, could you please get me some lead that I can follow, or give me some ideas or clues that I can try?

          It will be a great help for me.

          Many thanks,
          Lei

        • #4217470
          Avatar photo

          To the question no.

          by rproffitt ·

          In reply to can I use the current ISO file at hand to convert a docker image?

          Long ago I learned my lesson about outdated OS versions. Also, no. You already tried so the answer to that part of the question is no as well.

          My suggestion is to move to a docker ready image. I can’t guess why you are trying some old version.

          Try Reddit too.

        • #4217634

          what lesson?

          by Lei Zhang ·

          In reply to To the question no.

          Please let me get some more details here.
          1. The reason why I chose this HikOS-B_V2.1.0-standard-centos7.8_x86_64-20230322.iso file was because this file contained the integrated *.so files that we need.
          2. I got this iso file, and then I tried to convert this file to a docker image.

          I tried so many times, and now it is really a headache for me to continue, and it is crucial.

          I am asking for help to get this problem solved.

          Many thanks,
          Lei

        • #4217639
          Avatar photo

          There’s still time to get CentOS support.

          by rproffitt ·

          In reply to what lesson?

          https://www.redhat.com/en/topics/linux/centos-linux-eol notes the end is nigh.

          Notice that your version of Linux is not listed at https://access.redhat.com/?cicd=32h281b&extIdCarryOver=true&sc_cid=701f2000001OH7EAAW

          Contact them to see if they can support you.

          Again, I don’t go near any old versions of any OS. My choice, learned over the years.

    • #4226978
      Avatar photo

      Reply To: I cannot find the filesystem.squashfs file _asking for help

      by mrdigitalmeta.com ·

      In reply to I cannot find the filesystem.squashfs file _asking for help

      Hello everyone,

      I’m having trouble converting an ISO file to a Docker image on CentOS 8. I followed these steps:

      1. Installed squashfs-tools.
      2. Created directories “rootfs” and “unquashfs”.
      3. Mounted the ISO file.
      4. Tried to find filesystem.squashfs, but couldn’t.

      Any ideas?

Viewing 1 reply thread