LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-03-2012, 10:43 PM   #1
BashTin
Member
 
Registered: May 2003
Location: West Midlands, United Kingdom.
Distribution: Slackware 13.37
Posts: 252

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
/dev/control
/dev/crypthome
/dev/cryptroot
/dev/slack13--group-home
/dev/slack13--group-root
/dev/slack13--group-swap
/dev/slack13--group-usr
/dev/slack13-group

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
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware 14.1
Posts: 467

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

and

# lvscan

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

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

Should open up your encrypted volume.

-JJ
 
Old 05-05-2012, 10:27 AM   #4
BashTin
Member
 
Registered: May 2003
Location: West Midlands, United Kingdom.
Distribution: Slackware 13.37
Posts: 252

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

BashTin.
 
  


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
[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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration