Find the answer to your Linux question:
Results 1 to 4 of 4
im trying to unsquashfs the file system of a distro that i made in suse studio. when I run the unsquashfs comman it give my that error "Can't find a ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    13

    Thumbs down Trying to unsquashfs :(

    im trying to unsquashfs the file system of a distro that i made in suse studio.

    when I run the unsquashfs comman it give my that error "Can't find a SQUASHFS superblock on mylinux-read-only.i686"

    seems that this is not a sqhuashfs FS

    what kind of file system could be?

    how I can descompress it?

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    how did you create squashfs filesystem?

    try using unsquashfs -s option to list superblock information

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    13
    ok I did't create the squashfs FS. suse studio did. but I think is a clic filesystem no a a squashfs.

    and I can't find anything about this fs.

  4. #4
    Just Joined!
    Join Date
    Jul 2010
    Posts
    13
    I got it!!!!!

    the clicfs is used by opensuse so if someone have to modify a opensuse livecd or a distro builded in suse stuio:

    create some temporary folders
    mkdir /mnt/iso
    mkdir /mnt/clicfs
    mkdir /mnt/data
    mkdir /tmp/newiso

    first mount the iso
    mount -o loop opensuse.iso /mnt/iso

    mount the clicfs
    clicfs -m 128 /mnt/iso/openSUSE-LiveCD-read-only.i686 /mnt/clicfs

    copy the filesystem to somewhere
    cp /mnt/clicfs/fsdata.ext3 /tmp/newiso/

    copy the other files :
    cp -rf /mnt/iso/boot /tmp/newiso/

    now lets give some space to the filesystem
    e2fsck -f /tmp/newiso/fsdata.ext3
    resize2fs /tmp/newiso/fsdata.ext3 3800M

    ok now lets mount it :
    mount -o loop /tmp/fsdata.ext3 /mnt/data

    Now edit it ...

    Done??? well lets build the clicfs again
    umount /mnt/data
    mkclicfs -c 9 /tmp/newiso/fsdata.ext3 new-openSUSE-livecd-read-only.i686

    move the new clicfs to the build folder
    mv new-openSUSE-livecd-read-only.i686 /tmp/newiso/

    create the iso
    cd /tmp/newiso/
    mkisofs -r -l -o /tmp/New-custom-opensuse.iso -b boot/i386/loader/isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .


    DONE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...