Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-03-2012, 10:43 PM   #1
Registered: May 2003
Location: West Midlands, United Kingdom.
Distribution: Slackware 14.1, Centos 7
Posts: 278

Rep: Reputation: 32
Reinstall On Luks and LVM

Hello, in trouble again. I appear to have trashed my system and I think the easiest way for me is just to reinstall the software packages.

However, I have lvm over Luks partitions.

In dev I have

Now I know how to do an install WHILE creating the luks/lvm partitions but how do I proceed when I already have all this and want to install on my existing lvm partitions? How do I activate the lvg so I can map it when I run setup for partitioning/mounting step?! Hope you can understand my not too technical description.

Thanks in advance for all advise, really appreciated. BashTin.
Old 05-04-2012, 04:28 AM   #2
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Debian
Posts: 534

Rep: Reputation: 131Reputation: 131
# vgscan --mknodes
# vgchange -ay


# lvscan

would give you a list of active Logical Volumes
Old 05-04-2012, 04:40 AM   #3
Registered: Jan 2004
Location: Tacoma, WA
Distribution: Slackware 14
Posts: 264
Blog Entries: 2

Rep: Reputation: 34
# cryptsetup luksOpen /dev/sdx2 slackluks

Should open up your encrypted volume.

Old 05-05-2012, 10:27 AM   #4
Registered: May 2003
Location: West Midlands, United Kingdom.
Distribution: Slackware 14.1, Centos 7
Posts: 278

Original Poster
Rep: Reputation: 32
Thankyou gentlemen. Back up and running now.



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
[SOLVED] LVM and LUKS Question ferdog Linux - General 2 04-13-2012 02:31 PM
[SOLVED] LUKS and LVM on two separate drives jjthomas Slackware - Installation 3 07-01-2010 11:39 AM
Luks/Lvm after dd duplication brodo Slackware 10 03-12-2009 04:56 PM
Slackware 12.1, LUKS, LVM on external HD. How? randomsel Slackware - Installation 7 06-26-2008 07:35 PM
luks cryptsetup and lvm question ruzzed Linux - Software 3 09-16-2007 08:21 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:51 AM.

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