Problem Mounting Encrypted (XOR) Loopback EXT2 Filesystem (2.6.11-1.1369_FC4)



Hello All,

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.--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • Problem Mounting Encrypted (XOR) Loopback EXT2 Filesystem (2.6.11-1.1369_FC4)
    ... I got a Encrypted Loopback EXT2 Filesystem image, as part of Monta Vista Previewkit 3.1 ... Whereas using same PASSPHRASE on redhat90, ... Manually verbose mount shows: ... I wonder, if this is true, then how come set_loop is success. ...
    (Fedora)
  • Cron Runs Script Twice - Once With Error and Once Without?
    ... I have a script that runs from cron. ... on another machine, copies some files from it, and then unmounts the ... The success email is just as I'd expect but I don't ... Unable to mount /blacklamb. ...
    (freebsd-questions)
  • Re: Problems with SanDisk USB stick
    ... recognizes it fine, and after formatting it with ext2, I can mount it ... fine as an ext2 filesystem. ... I now unmount it, and a while later I mount it again. ... You might cleaning usb connectors the connector on the computer ...
    (comp.os.linux.misc)
  • Re: Error mounting Linux ext2fs drive
    ... >>Now here's the frustrating bit. ... After that initial success, I have ... How can I retrieve my former happiness? ... actually an ext3 filesystem) I could mount the drive again. ...
    (freebsd-questions)
  • Re: Re-use disk Space?
    ... > would it be possible to reclaim some disk space under the /music ... # mount /dev/md0 /usr/home ... Passphrase: ...
    (freebsd-questions)