LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2013, 09:32 PM   #1
Goforthestars
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Rep: Reputation: Disabled
Cannot attach Loop3 dev


Hello got same problem. Knoppix encrypted persistent volume got corrupted and can no longer be oppened on boot up.

It appear folder is decrypted with losetup

knoppix@Microknoppix:/mnt$ losetup -a
/dev/loop3: [0821]:820 (/media/sdc1/KNOPPIX/KNOPPIX), encryption aes (type 18)

But when I try to mount the device I get this

knoppix@Microknoppix:/mnt$ sudo mount -t ext2 /dev/loop3 /media/aes -o loop
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

And I get this with dmesg

[17305.520308] EXT2-fs (loop0): error: can't find an ext2 filesystem on dev loop0.

Also tried with different loop

knoppix@Microknoppix:/mnt$ sudo mount -t ext2 /dev/loop3 /media/aes -o loop3
mount: wrong fs type, bad option, bad superblock on /dev/loop3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

[17365.920037] EXT2-fs (loop3): error: can't find an ext2 filesystem on dev loop3.

Any help to get to the files would be great
 
Old 11-17-2013, 06:52 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,845

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
If Knoppix can't open its own volume, you are unlikely to be able to.

losetup doesn't (directly) deal with encryption - that needs to be handled separately (although it does have a deprecated "-e" option). You will need to run cryptsetup to open the encrypted envelope first, then issue the mount. Have a read of this (not Knoppix specific, but looks sane).

Last edited by syg00; 11-17-2013 at 07:04 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
losetup -d /dev/loop3: ioctl: LOOP_CLR_FD: Device or resource busy? phyx Linux - Newbie 9 06-03-2011 02:04 PM
[SOLVED] after i use ( xm block-attach ) i can't find the created /dev/xvda1 file amratta Linux - Virtualization and Cloud 2 07-16-2010 09:07 AM
LXer: Tips and tricks: How do I use the "xm block-attach" command to attach additiona LXer Syndicated Linux News 0 08-21-2007 01:50 AM
How can I attach a compressed file to /dev/loop0 (for filesystem image recovery)? rjlee Linux - General 0 09-26-2004 05:11 PM
how can usb-storage device attach to specific /dev/sd* xxie Linux - Hardware 0 05-25-2004 11:14 PM


All times are GMT -5. The time now is 02:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration