An error occurred while creating the squashfs. imgfile mounting.

Source: Internet
Author: User

Scenario Description: The size of squashfs. imgfile needs to be customized, which is actually the size of sparse files, which is different from the actual file size. The actual operation is as follows:

1) dd If =/dev/Zero of = rootfs BS = 65536 COUNT = 24000
2) mke2fs-F rootfs

3) mkdir mnt
4) Mount rootfs MNT-o loop

5) CP-RP yourrootdir mnt
6) umount mnt

7) mkdir squashfs-Dir
8) mV rootfs squshfs-Dir
9) mksquashfs squashfs-Dir squashrootfs

Mounting exception:

Mount: Wrong FS type, bad option, bad superblock on/dev/mapper/live-RW

Missing codePage or Helper Program, other error

In some cases useful info is found in syslog-Try dmesg | tail or so

An error occurred while creating the squashfs. imgfile mounting.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.