Re: [qubes-users] Re: disk passphrase failing with error message "luks_open failed for /dev/sda2 with errno -1"

2016-12-18 Thread Swâmi Petaramesh
Le 17/12/2016 à 18:55, Hello Mister a écrit :
> Luks error started way before I even thought of reinstallation attempt.

So I'm very afraid that you definitely lost your data.


ॐ

-- 
Swâmi Petaramesh  PGP 9076E32E

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/cd9a340d-e56a-0799-0d86-3480090ede27%40petaramesh.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: disk passphrase failing with error message "luks_open failed for /dev/sda2 with errno -1"

2016-12-17 Thread Hello Mister
On Saturday, December 17, 2016 at 5:19:10 PM UTC+5:30, Swâmi Petaramesh wrote:
> Le 17/12/2016 à 12:22, Hello Mister a écrit :
> >> When you attempt to boot this installation normally, what happens? The
> >> same LUKS error as above?
> > 
> > == >> Same error after a long wait both in GUI & CLI
> 
> I'm afraid that you may have, by starting a reinstallation over a
> previous installation, already somewhat destroyed or reformatted your
> LUKS partition, thus irremediably destroying all of its contents.
> 
> I would advise you to boot from a live distro such as Partition Magic
> (Or an Ubuntu or Mint live CD), and WITHOUT starting any installer, try
> to manually
> 
> # cryptsetup luksOpen /dev/sda2 open_sda2
> 
> ...If your passphrase works that's good. if it doesn't, that's probably
> dead.
> 
> Good luck !
> 
> ॐ
> 
> -- 
> Swâmi Petaramesh  PGP 9076E32E

Luks error started way before I even thought of reinstallation attempt.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/e3a7c452-7c91-4358-ad6a-2fcf887a567f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: disk passphrase failing with error message "luks_open failed for /dev/sda2 with errno -1"

2016-12-17 Thread Andrew David Wong
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2016-12-17 04:22, Swâmi Petaramesh wrote:
> Le 17/12/2016 à 13:07, Andrew David Wong a écrit :
>> 
>>> # cryptsetup luksOpen /dev/sda2 open_sda2
>> 
>>> ...If your passphrase works that's good. if it doesn't, that's 
>>> probably dead.
>> 
>> 
>> Yes, this is the third thing I was asking about. However, it's
>> not necessary to use a live OS to do this. (You can if you want,
>> of course.) As I mentioned above, the Qubes installer will work
>> fine for this purpose if you switch over to a virtual console
>> (e.g., ctrl + alt + F2). (Of course, you don't want to actually
>> try to run the installer in this situation!)
> 
> My point was that some distros have live version (or even ISOs that
> are especially meant to be used as a live tool such as Partition
> Magic), that will be much more comfortable using in a clean GUI,
> than an ISO which is meant as a bare installer - And you'll be less
> prone to starting it by mistake if the installer isn't there ;-)
> 

Well, yes, but if all you're doing is

> # cryptsetup luksOpen /dev/sda2 open_sda2

as you suggested, then those extra features aren't in play, and it'll
probably be more convenient to use the Qubes installation medium you
already have on hand. At any rate, I think we agree that both ways
will work. Whichever you prefer is fine.

- -- 
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJYVTPGAAoJENtN07w5UDAwHMQP/Ayu7ZHbIYYXQvTqkejXsL/I
weneyP8zYyae0VOSSCmYoT/DHWbq//8DE5OYQgEGo3kelbqzogTrXhZYUsjoGcj5
sQWQr2K711xy6bU4aGjFDaApub5a88bTIGSMEl3JMrTQKnBu/KAqG+RAiEw392AO
k4Sa0bPVrmCND1U9nCFpyaNf4gs0iaAdLPrfy4bjSUFjozd5p6vaMgXgl5oNwEQR
8uXCWJsGtLum+EHmRS2vh0WHr6T9GF/Cx811nOIjru1x16lSk+q9tMjAnxXr3mXJ
fuQ7pBXgbs3kFHW7KV4W63t57cDxXqtz79/T/IewlvZApSGKNOxnlru9cz+vxMv8
r7yuPYBtHdDQVWXdDogVwvD0RUpUOCvYc/ZJjQrjeBLHTq2UU7py5IZbfaaH74/z
LhV4jLl7cCdyD83mCtGnjUApaeEDrJWJ8yE0XXvf7lhqqD77QHsbKu4FzqmWG4yO
o2nmmDrcA7MKcaJ9obQl7x1hqIzLvBRUfADuVY8BvvINlxlB7vsSFmWvOHuQRiRw
5iStm0rqSj+knpKoY5vR3gyRWxkSuYHb59LQrG1ElWlfxHpiqj8gaIeE+uKmYAnn
87uOXp9GgT6Gozdw4hQDWRxuwXhdZKZMvvQTS13NE9rSxYmfKAGV1KS9mtmaDlpo
ld4wW1SjiY9c5+f4vrtm
=LSip
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/19ad4407-2512-e0ef-bfcc-afe8f5243361%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: disk passphrase failing with error message "luks_open failed for /dev/sda2 with errno -1"

2016-12-17 Thread Swâmi Petaramesh
Le 17/12/2016 à 13:07, Andrew David Wong a écrit :
> 
>> # cryptsetup luksOpen /dev/sda2 open_sda2
> 
>> ...If your passphrase works that's good. if it doesn't, that's
>> probably dead.
> 
> 
> Yes, this is the third thing I was asking about. However, it's not
> necessary to use a live OS to do this. (You can if you want, of
> course.) As I mentioned above, the Qubes installer will work fine for
> this purpose if you switch over to a virtual console (e.g., ctrl + alt
> + F2). (Of course, you don't want to actually try to run the installer
> in this situation!)

My point was that some distros have live version (or even ISOs that are
especially meant to be used as a live tool such as Partition Magic),
that will be much more comfortable using in a clean GUI, than an ISO
which is meant as a bare installer - And you'll be less prone to
starting it by mistake if the installer isn't there ;-)

Kind regards.

ॐ

-- 
Swâmi Petaramesh  PGP 9076E32E

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/14fb729c-93aa-48b6-4ae3-8f643bc1fa1d%40petaramesh.org.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: [qubes-users] Re: disk passphrase failing with error message "luks_open failed for /dev/sda2 with errno -1"

2016-12-17 Thread Andrew David Wong
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2016-12-17 03:49, Swâmi Petaramesh wrote:
> Le 17/12/2016 à 12:22, Hello Mister a écrit :
>>> When you attempt to boot this installation normally, what
>>> happens? The same LUKS error as above?
>> 
>> == >> Same error after a long wait both in GUI & CLI
> 
> I'm afraid that you may have, by starting a reinstallation over a 
> previous installation, already somewhat destroyed or reformatted
> your LUKS partition, thus irremediably destroying all of its
> contents.
> 
> I would advise you to boot from a live distro such as Partition
> Magic (Or an Ubuntu or Mint live CD), and WITHOUT starting any
> installer, try to manually
> 
> # cryptsetup luksOpen /dev/sda2 open_sda2
> 
> ...If your passphrase works that's good. if it doesn't, that's
> probably dead.
> 

Yes, this is the third thing I was asking about. However, it's not
necessary to use a live OS to do this. (You can if you want, of
course.) As I mentioned above, the Qubes installer will work fine for
this purpose if you switch over to a virtual console (e.g., ctrl + alt
+ F2). (Of course, you don't want to actually try to run the installer
in this situation!)

- -- 
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJYVSqWAAoJENtN07w5UDAwVaUP/2Zae8Kfqn2M2Dvu4GQ6002d
95dMf1Cxi4apEcTqA14n5jgnE2c5ekSelX9pMUjeTX/QmrB2voyB9k5Zh3jkvlQZ
R0I6+E4Iz0MuFKM3ZTBc0wtMtdHn44nvFH9HSERB22uYKp3ycW1ZvRatnKbpX1tu
GRdyQ8OyYBX79rq+B/1KhUa/5aLHCuPrF49GeQikEulkmqG5XKeKXdcF+lpwKLeJ
5inFo1CpPqkl6DYCElKxJbZk8mKjLPKCkbAw+7HlMba7x0xGbxIieMXLqzAz35WO
x8oRPiB3gx+9Pi2uuoPudwptq0933pSJbxP++Yb04F/6dndctJNohIqlZadY4DK3
M1d0ct9i1XHL1NSGRlI084Vl7a7YBvpZsRewS5tXX6GoNcSwhpuC1E4zhPv2vHHL
fFxmJDF5mdF7csOkUV+iVffJx7t/BfNVlLgBNtRQmp+WbEkYX6kGNb7/6A1Dgi5w
8Q7Q338IVJ1xc4RHCwK87tEc3A6lGfyuAjgBnxg1+brtoGxwAIGVgR9L/KeouMZ1
McE/G84NQMFQBdazecVwoCCFH329oOdjIZL/VpI220waxFrSTC3MbbvZrBBStFIg
Yt9+Z/I3ygf7Nf8B39qL4lGEjVpdhrQECfH1JdcY345cRTeTPR93ENAuYayIJFv6
Ei4CaqABGXecJzXvxPTR
=FPFj
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/de5aa64b-d851-d54b-3416-ebab27bc4ff1%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: disk passphrase failing with error message "luks_open failed for /dev/sda2 with errno -1"

2016-12-17 Thread Swâmi Petaramesh
Le 17/12/2016 à 12:22, Hello Mister a écrit :
>> When you attempt to boot this installation normally, what happens? The
>> same LUKS error as above?
> 
> == >> Same error after a long wait both in GUI & CLI

I'm afraid that you may have, by starting a reinstallation over a
previous installation, already somewhat destroyed or reformatted your
LUKS partition, thus irremediably destroying all of its contents.

I would advise you to boot from a live distro such as Partition Magic
(Or an Ubuntu or Mint live CD), and WITHOUT starting any installer, try
to manually

# cryptsetup luksOpen /dev/sda2 open_sda2

...If your passphrase works that's good. if it doesn't, that's probably
dead.

Good luck !

ॐ

-- 
Swâmi Petaramesh  PGP 9076E32E

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/d0a67e76-5eab-3663-4c57-680296fba130%40petaramesh.org.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: disk passphrase failing with error message "luks_open failed for /dev/sda2 with errno -1"

2016-12-17 Thread Hello Mister
On Friday, December 16, 2016 at 5:48:44 PM UTC+5:30, Hello Mister wrote:
> disk passphrase is not bieng accepted and throwing this error  
> 
> luks_open failed for /dev/sda2 with errno -1
> 
> How do I reset my passphrase for disk.

So, if I understand correctly, your goal is to decrypt your previous
LUKS-encrypted Qubes installation so that you can recover files from
it, right?

== >> Yes please

When you attempt to boot this installation normally, what happens? The
same LUKS error as above?

== >> Same error after a long wait both in GUI & CLI

Have you tried accessing the disk from the command-line, e.g., using a
Live OS? (You can also just use the Qubes installer for this.) Or is
that what you were trying to do when you encountered the LUKS error
above?

== >> Yes please , with installation source media 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/b51078f4-82e2-4b4f-94b2-ef84580fe677%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: disk passphrase failing with error message "luks_open failed for /dev/sda2 with errno -1"

2016-12-16 Thread hellomister1001
On Friday, December 16, 2016 at 6:32:22 PM UTC+5:30, hellomi...@gmail.com wrote:
> On Friday, December 16, 2016 at 5:48:44 PM UTC+5:30, hellomi...@gmail.com 
> wrote:
> > disk passphrase is not bieng accepted and throwing this error  
> > 
> > luks_open failed for /dev/sda2 with errno -1
> > 
> > How do I reset my passphrase for disk.
> 
> Cant I attach screen shots ? How do I send you screen shots of what I am 
> facing ?

1. Are you sure that you're entering the correct passphrase? 

Yes 

2. Where exactly are you seeing this error? 

During booting of Qubes R 3.0 OS

3. Is there more to it, or is that the whole error? 

GUI , its the whole error

4. In your system, what is /dev/sda2 (e.g., root partition)? 

Yes its one partition holding /root

--

So I tried to see if a reinstallation can happen.
During custom installation in GUI mode tried custom disk partitioning , gave 
the original passphrase which failed with a error as given.

---

I have the boot phase of Qubes OS (disk passphrase failure snapshots), which 
returns to the # prompt.
The boot process entered in to emergency mode 
The command console posted two red failed & two yellow DEPEND status

Failed  - Failed to start cryptography setup for luks-(hexacode log string)
See 'systemctl statys systemd-cryptsetup@luks\xedcf..service' for details
Depend - Dependency failed for Encrypted Volume

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/701e7174-7c29-463d-a9ed-bbe088a504da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: disk passphrase failing with error message "luks_open failed for /dev/sda2 with errno -1"

2016-12-16 Thread hellomister1001
On Friday, December 16, 2016 at 5:48:44 PM UTC+5:30, hellomi...@gmail.com wrote:
> disk passphrase is not bieng accepted and throwing this error  
> 
> luks_open failed for /dev/sda2 with errno -1
> 
> How do I reset my passphrase for disk.

Cant I attach screen shots ? How do I send you screen shots of what I am facing 
?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/b9051eef-e15f-4524-b4f0-22e6c2fb2ef3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: disk passphrase failing with error message "luks_open failed for /dev/sda2 with errno -1"

2016-12-16 Thread hellomister1001
On Friday, December 16, 2016 at 5:48:44 PM UTC+5:30, hellomi...@gmail.com wrote:
> disk passphrase is not bieng accepted and throwing this error  
> 
> luks_open failed for /dev/sda2 with errno -1
> 
> How do I reset my passphrase for disk.


This is for QUBES R3.1 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/c3f53164-9e36-433e-b59f-59d123cf8bd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.