Actually I need to mount and browse the Slax modules on Windows. I don't need to create them on Windows, just mounting is needed.
As far as I understand without reading all of the thread, he compiled mksquashfs for Windows. It's not what I'm looking for. Thanks though, I'll ask Rajiv Narayan...
if you use squashfs tools windows patch you can extract slax cd to windows directory using unsquashfs.
And there is a way to "mount" squashfs on windows.
Install vmware, install linux on a virtual machine, mount the directory and share it with samba. then you can mount it as a network drive. I've built live cd that can mount any squashfs image - including 3.0, 3.1 and also supports LZMA compression. it uses CentOS installation and a SLAX kernel. I'll post a link later (I have to install samba on it). mail me if I forget - nicksoft at g mail
How to use the CD:
1. name all filesystems you want to mount .sqfs.img
2. inject squashfs filesystem(s) using ultraiso or other iso tool.
3. boot the live cd.
4. if you don't have DHCP server or it doesn't work - login as root (no password) and configure your network
5. you should be able to mount squashfs images as \\ip\backuplivecd (no password needed)
This looks cool. I will put those two mksquashfs.exe and unsquashfs.exe files on Slax FTP. Would you please tell me your name or something, so I could put it to the README file so you'll get credit for your work? Thank you.
I put it on ftp.
Nevertheless, I had to add a warning to the readme file... your tools do not support LZMA compression at all so it is completely unusable for Slax modules.
There is a easy way to use your program from Win: unzip your pack wherever you want, go to a module, right click, "open with", browse to unsquashfs.exe and you're done. Now you have got the decompressed module in a new folder called squashfs-root. More, it works with the old format modules for Slax 5, as well.
You can distribute it. I'll be glad if you put my name (Nikolay Pelov) and my homepage (http://www.nicksoft.info).
However I had some problems with it. I had exception while I tried to compress some files:
1 [main] mksquashfs 2076 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
155 [main] mksquashfs 2076 open_stackdumpfile: Dumping stack trace to mksquashfs.exe.stackdump
18313 [main] mksquashfs 2076 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
18710 [main] mksquashfs 2076 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
That's why I tried different linking - with static and dynamic cygz.dll linking. Also there are problems with filenames which contain non-ascii characters.
Here is stackdump:
Exception: STATUS_ACCESS_VIOLATION at eip=610DEDF8
eax=00686710 ebx=00000000 ecx=00686710 edx=00000000 esi=00686710 edi=00686710
ebp=002236F8 esp=002236EC program=D:\Install\Programs\squashfs-tools\static\mksquashfs.exe, pid 2076, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
002236F8 610DEDF8 (00686710, 00000000, 009BA930, 0042F870)
00223718 00408FF3 (0022CCC6, 0042F870, 00000001, 7E410000)
00223758 004096AA (00225780, 00223780, 009BA930, 00260024)
002277F8 0040BB60 (0042F870, 00000000, 00409550, 7FEC0008)
00227888 0040C0D4 (00227A70, 0042F870, 00409550, 00000001)
0022CC88 0040D48D (00000005, 009A0188, 009A0090, 0022CE64)
0022CD98 610060D8 (00000000, 0022CDD0, 61005450, 0022CDD0)
61005450 61004416 (0000009C, A02404C7, E8611021, FFFFFF48)
18313 [main] mksquashfs 2076 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
18710 [main] mksquashfs 2076 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
Thanks - will include your name and website in my distro.
Will also look out for the exceptions. I've had no issues so far with these windows tools.
npelov wrote:
You can distribute it. I'll be glad if you put my name (Nikolay Pelov) and my homepage (http://www.nicksoft.info).
However I had some problems with it. I had exception while I tried to compress some files:
1 [main] mksquashfs 2076 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
155 [main] mksquashfs 2076 open_stackdumpfile: Dumping stack trace to mksquashfs.exe.stackdump
18313 [main] mksquashfs 2076 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
18710 [main] mksquashfs 2076 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
That's why I tried different linking - with static and dynamic cygz.dll linking. Also there are problems with filenames which contain non-ascii characters.
Here is stackdump:
Exception: STATUS_ACCESS_VIOLATION at eip=610DEDF8
eax=00686710 ebx=00000000 ecx=00686710 edx=00000000 esi=00686710 edi=00686710
ebp=002236F8 esp=002236EC program=D:InstallProgramssquashfs-toolsstaticmksquashfs.exe, pid 2076, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
002236F8 610DEDF8 (00686710, 00000000, 009BA930, 0042F870)
00223718 00408FF3 (0022CCC6, 0042F870, 00000001, 7E410000)
00223758 004096AA (00225780, 00223780, 009BA930, 00260024)
002277F8 0040BB60 (0042F870, 00000000, 00409550, 7FEC0008)
00227888 0040C0D4 (00227A70, 0042F870, 00409550, 00000001)
0022CC88 0040D48D (00000005, 009A0188, 009A0090, 0022CE64)
0022CD98 610060D8 (00000000, 0022CDD0, 61005450, 0022CDD0)
61005450 61004416 (0000009C, A02404C7, E8611021, FFFFFF48)
18313 [main] mksquashfs 2076 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
18710 [main] mksquashfs 2076 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
markds wrote:
Thanks - will include your name and website in my distro.
Will also look out for the exceptions. I've had no issues so far with these windows tools.
npelov wrote:
You can distribute it. I'll be glad if you put my name (Nikolay Pelov) and my homepage (http://www.nicksoft.info).
However I had some problems with it. I had exception while I tried to compress some files:
1 [main] mksquashfs 2076 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
155 [main] mksquashfs 2076 open_stackdumpfile: Dumping stack trace to mksquashfs.exe.stackdump
18313 [main] mksquashfs 2076 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
18710 [main] mksquashfs 2076 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
That's why I tried different linking - with static and dynamic cygz.dll linking. Also there are problems with filenames which contain non-ascii characters.
Here is stackdump:
Exception: STATUS_ACCESS_VIOLATION at eip=610DEDF8
eax=00686710 ebx=00000000 ecx=00686710 edx=00000000 esi=00686710 edi=00686710
ebp=002236F8 esp=002236EC program=D:InstallProgramssquashfs-toolsstaticmksquashfs.exe, pid 2076, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
002236F8 610DEDF8 (00686710, 00000000, 009BA930, 0042F870)
00223718 00408FF3 (0022CCC6, 0042F870, 00000001, 7E410000)
00223758 004096AA (00225780, 00223780, 009BA930, 00260024)
002277F8 0040BB60 (0042F870, 00000000, 00409550, 7FEC0008)
00227888 0040C0D4 (00227A70, 0042F870, 00409550, 00000001)
0022CC88 0040D48D (00000005, 009A0188, 009A0090, 0022CE64)
0022CD98 610060D8 (00000000, 0022CDD0, 61005450, 0022CDD0)
61005450 61004416 (0000009C, A02404C7, E8611021, FFFFFF48)
18313 [main] mksquashfs 2076 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
18710 [main] mksquashfs 2076 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
I solve this problem without installation Cygwin : you must create environment variable PWD with any value.
Hi,
I have unpacked a squash file and deleted files I don't want ( in windows ).
When I try to make the squash file I get the below errors. Any ideas please.
C:\Home\Apps\squashfs-tools>mksquashfs.exe Ubuntu c:\apps\filesystem.squashfs -b
e
Parallel mksquashfs: Using 2 processors
Creating big endian 3.1 filesystem on c:\apps\filesystem.squashfs, block size 13
1072.
lzmadic 131072
[err -22=======- ] 29528/113710 25%
==============\ ] 29530/113710 25%sq
lzma_un: LZMA Unknown error 4294967274
FATAL ERROR:get_fragment:1465: res -22
C:\Home\Apps\squashfs-tools>mksquashfs.exe Ubuntu c:\apps\filesystem.squashfs -b
e -check_data
Parallel mksquashfs: Using 2 processors
Creating big endian 3.1 filesystem on c:\apps\filesystem.squashfs, block size 13
1072.
lzmadic 131072
[====sqlzma_un: ZLIB data error ] 24779/113710 21%
========\ ] 24804/113710 21%
FATAL ERROR:get_fragment:1465: res -3
C:\Home\Apps\squashfs-tools>mksquashfs.exe Ubuntu c:\apps\filesystem.squashfs -b
e -nolzma
Parallel mksquashfs: Using 2 processors
Creating big endian 3.1 filesystem on c:\apps\filesystem.squashfs, block size 13
1072.
[============- ] 24804/113710 21%s
qlzma_un: ZLIB data error
[============| ] 24804/113710 21%
FATAL ERROR:get_fragment:1465: res -3