LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-25-2015, 03:05 AM   #1
Voridian
LQ Newbie
 
Registered: Sep 2015
Posts: 7

Rep: Reputation: Disabled
New to Linux, having issues with booting


Hello all, i am brand new to Linux and just installed Kali on an old laptop, the install went fine with no errors but when i boot and select Kali from the GRUB menu i get a screen saying:
Code:
Loading, please wait...
Volume group "Voridian-Kali-vg" not found
Skipping volume group Voridian-Kali-vg
Unable to find LVM volume Voridian-Kali-vg/root
Please unlock disk sda5_Crypt:
after this i tried the passwords i created during the install and i always get the message:
Code:
No key available with this passphrase.
cryptsetup: cryptsetup failed, bad password or options?
Any help would be great, but i dont know much about linux so baby steps would be great
Thanks.

Also if it matters the version of Kali i used was: Kali Linux 64 bit
I made the boot usb with: Win32DiskImager 0.9.5
The laptop is a: Asus M51V
and the guide i used:
http://docs.kali.org/installation/ka...d-disk-install
 
Old 09-25-2015, 05:58 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
If you are new to Linux why did you choose Kali ?. And why an encrypted setup ?.
Making things complicated hardly qualifies as "baby steps".

To unlock the encrypted container requires the passphrase you entered - not the root password. If you can't remember it, or get it accepted, you have no option but to re-install from scratch.
 
Old 09-25-2015, 06:46 AM   #3
Voridian
LQ Newbie
 
Registered: Sep 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
If you are new to Linux why did you choose Kali ?. And why an encrypted setup ?.
Making things complicated hardly qualifies as "baby steps".

To unlock the encrypted container requires the passphrase you entered - not the root password. If you can't remember it, or get it accepted, you have no option but to re-install from scratch.
I do security testing with windows and i wanted to try Kali to see if it was any better for the job, and i had it encrypted because why not.

i have reinstalled Kali twice with the same issues, tried every password and nothing. I'm not sure if this is supposed to happen but it doesn't actually look like I'm typing anything, no visual input at all until i hit enter.
 
Old 09-25-2015, 06:51 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
That's normal for Linux - your input is being accepted, but pass{word,phrase} is never echoed. Not even asterisks as you may be used to.
If I get bored over the weekend I may try a Kali install using those instructions, and report back.
 
Old 09-25-2015, 07:06 AM   #5
Voridian
LQ Newbie
 
Registered: Sep 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
That's normal for Linux - your input is being accepted, but pass{word,phrase} is never echoed. Not even asterisks as you may be used to.
If I get bored over the weekend I may try a Kali install using those instructions, and report back.
Thanks for verifying that, do you know about the whole "Volume group not found" thing?

also i found a fix online but i don't understand it:

manually map the luks container while in the initramfs prompt with:
cryptsetup luksOpen /dev/<partition> <partition>_crypt
vgchange -ay
exit

if you happen to have the chance would you mind explaining how to access the initramfs prompt?
 
Old 09-25-2015, 07:23 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Not knowing about the password non-echo implies you haven't spent a lot of time on docs.kali.org
If you are going to paddle in this pool, you'd better be prepared to investigate the available doco.

Initramfs is a pre-cursor to loading the kernel so some setup can be done first. I've not looked at Kali, but I did play with it's predecessor some time back. It'll take hours for the iso to download here so I've respond sometime later over the weekend once I've had a look.
 
Old 09-25-2015, 07:45 AM   #7
Voridian
LQ Newbie
 
Registered: Sep 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Not knowing about the password non-echo implies you haven't spent a lot of time on docs.kali.org
If you are going to paddle in this pool, you'd better be prepared to investigate the available doco.

Initramfs is a pre-cursor to loading the kernel so some setup can be done first. I've not looked at Kali, but I did play with it's predecessor some time back. It'll take hours for the iso to download here so I've respond sometime later over the weekend once I've had a look.
yeah i kind of had the crazy idea to install it and learn how to use it after, i didn't realize that i would need any special knowledge to just turn my computer on :P
 
Old 09-25-2015, 07:58 AM   #8
Voridian
LQ Newbie
 
Registered: Sep 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
FIX!

Ok well after some trial and error i got it working, you have to not have any separate partitions for /home or anything else.
 
Old 09-25-2015, 08:14 AM   #9
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,602

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Quote:
Originally Posted by Voridian View Post
Ok well after some trial and error i got it working, you have to not have any separate partitions for /home or anything else.
Oh, you can have /home on separate partitions. But it may depend on what else got scattered around.

For desktops, it is best to have only /home on a separate partition as it helps protect your files during updates.

But splitting the others up depends on how the distribution was designed to handle it. Some do, some don't (most don't unless you are setting up a server, and even then the one usually separated is /var).

Having multiple encrypted filesystems also means you have to enter the access keys for each one at boot and you can't mix up the keys...

Having a single filesystem for everything simplifies that.

The way the system boots is that:
1. the kernel is copied into memory
2. the initrd is copied into memory
3. the kernel then decompresses the initrd into a memory resident filesystem that it mounts for root.
4. the initrd is deallocated
5. the root /sbin/init gets executed - and this has to set everything else up. Loading drivers for devices identified, asking for password keys for encrypted filesystems (gets complicated), and mounts a disk/ssd/sdcard resident root (the operational/real root) filesystem. Once that is completed, it can then do what is called a "pivot root" which exchanges the mount point of the real root filesystem for the memory resident root. Then the memory resident root gets dismounted (which frees up the rest of the memory used during boot other than the kernel).

The init process then executes the /sbin/init from the real root; which then starts up the rest of the services (any additional mounts, various devices such as cameras and such that are not needed during the initial boot).

The problem you may have had was that the initrd wasn't expecting to have multiple encrypted filesystems...

Last edited by jpollard; 09-25-2015 at 08:27 AM.
 
Old 09-25-2015, 08:16 AM   #10
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,163
Blog Entries: 10

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
Quote:
Originally Posted by Voridian View Post
i dont know much about linux so baby steps would be great
Virtualbox.
 
Old 09-25-2015, 11:24 PM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,387
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by Habitual View Post
Virtualbox.
Works like a charm!-
 
  


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
Issues with Ubuntu13.04: screen distortion at booting and long booting time! ravisingh1 Ubuntu 2 08-19-2013 05:44 AM
Booting issues eyez_of_heaven Linux - Software 4 06-23-2008 06:22 AM
Red Hat Linux 7.3 booting issues Snake16 Linux - Newbie 3 02-01-2008 10:57 AM
Display issues when booting into linux lebplaya Linux - General 2 11-04-2003 03:28 PM


All times are GMT -5. The time now is 03:02 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