I got a Encrypted (XOR) Loopback EXT2 Filesystem image, as part of Monta Vista Previewkit 3.1
I was tring to install MVL3.1 Preview Kit on Fedora Core 4 (2.6.11-1.1369_FC4), as part of it, "install_previewkit" script needs to mount above Filesystem.
Suggested change was to alter encryption=XOR to encryption=1.
But no success, and I always gets error like this...
===================================
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
dmesg shows:
VFS: Can't find an ext2 filesystem on dev loop1
===================================
From Script I found, mount was returning err code 32.
I also found that irrespect of PASSPHRASE, error is same.
Whereas using same PASSPHRASE on redhat90, i get it easily mounted.
Manually verbose mount shows:
=======================
mount: going to use the loop device /dev/loop1
Password:
set_loop(/dev/loop1,install-components/previewkit/RPMS.image,0): success
mount: setup loop device successfully
del_loop(/dev/loop1): success
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Strace Showed:
============
mount("/dev/loop1", "RPMS", "ext2", MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0x925a000) = -1 EINVAL (Invalid argument)
I doubt in FC4, passphrase is "\n" sensitive. If yes how to avoid it.
I wonder, if this is true, then how come set_loop is success.
regards,
- nalin
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.