Arch This Forum is for the discussion of Arch Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-19-2015, 11:24 PM
|
#1
|
LQ Newbie
Registered: Feb 2015
Posts: 11
Rep:
|
Can't input password for encrypted lvm partition on boot.
I've managed to fumble my way through the installation process with luks on lvm partitioned disk. However, when I boot the actual operating system it outputs this;
A password is required to access the /dev/mapper/lvm-lvroot volume:
Which is to be expected, but about half a second later it outputs this;
[ 2.44.11.32] sd 6:0:0:0: [sdd] No Caching mode page found
[ 2.44.11.61] sd 6:0:0:0: [sdd] Assume drive cache: write though
So I enter my password below that text and press enter and the cursor just sits there. Doesn't matter what else I type the console is just frozen. Is there something wrong with my SSD? I shredded it before installation to try to secure it further like the arch drive preperation wiki said. Have I screwed it up somehow?
|
|
|
02-20-2015, 11:14 AM
|
#2
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
You perhaps should not use shredder, since it will increase wear out of a ssd.
Last edited by veerain; 02-21-2015 at 08:08 AM.
|
|
|
02-20-2015, 12:43 PM
|
#3
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,145
|
Quote:
Originally Posted by Phrost5019
I've managed to fumble my way through the installation process with luks on lvm partitioned disk. However, when I boot the actual operating system it outputs this;
A password is required to access the /dev/mapper/lvm-lvroot volume:
Which is to be expected, but about half a second later it outputs this;
[ 2.44.11.32] sd 6:0:0:0: [sdd] No Caching mode page found
[ 2.44.11.61] sd 6:0:0:0: [sdd] Assume drive cache: write though
So I enter my password below that text and press enter and the cursor just sits there. Doesn't matter what else I type the console is just frozen. Is there something wrong with my SSD? I shredded it before installation to try to secure it further like the arch drive preperation wiki said. Have I screwed it up somehow?
|
There is a possible solution on the Arch forums:
https://bbs.archlinux.org/viewtopic.php?id=183980
...which deals specifically with LVM's and rebooting. From what I've read, it focuses around the /dev/mapper, and having to run cryptsetup from rescue mode first. The thread was solved, but the answer is a bit hard to follow.
---------- Post added 02-20-15 at 12:44 PM ----------
Quote:
Originally Posted by veerain
You perhaps should not use shredder, sine it will increase wear out of a ssd.
|
...which has ABSOLUTELY NOTHING to do with the OP's question, and is only really an issue if they do it ALL THE TIME, rather than once at build-time. Please, again, try to focus on the OP's question and post what's relevant to it.
|
|
|
02-20-2015, 05:37 PM
|
#4
|
LQ Newbie
Registered: Feb 2015
Posts: 11
Original Poster
Rep:
|
Quote:
There is a possible solution on the Arch forums:
https://bbs.archlinux.org/viewtopic.php?id=183980
...which deals specifically with LVM's and rebooting. From what I've read, it focuses around the /dev/mapper, and having to run cryptsetup from rescue mode first. The thread was solved, but the answer is a bit hard to follow.
|
That thread is pretty hard to follow, but from what parts I could catch from the dozens of different irrelevant issues was that the submitter was having problems with the boot loader not even asking for the password. My boot loader asks for the password, it just doesn't accept it when I input it. When I type it it just remains in plain text and when I hit enter it doesn't do anything.
On another note, I've fixed the other issue with the caching. It was due to the archiso usb stick. I was seriously too tired last night to even realize that it said sdd and not ssd lol. Anyway, taking the stick out fixed that however it did not fix the problem that the password seems to not be inputting at all when I type it.
|
|
|
03-09-2015, 06:46 PM
|
#5
|
Member
Registered: May 2014
Posts: 50
Rep:
|
I'm pretty new to systemd, so I don't know what all it does automagically, but I had a similar experience in the past. the solution was adding keyboard mods to my initial ramdisk. idk if that will help you but hopefully you get it figured out.
edit: yeah, if that's the problem you just boot up your install media, mount all your partitions, edit /etc/mkinitcpio.conf to include the keyboard module and make a new one.
Last edited by ymf331; 03-09-2015 at 07:03 PM.
|
|
|
All times are GMT -5. The time now is 03:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|