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 12-28-2006, 12:20 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 2

Rep: Reputation: 0
Slackware 10.1 how to go to the testing/2.6 kernel and back again?

Dear all,

I'm running a slackware 10.1 with the 2.4 IDE kernel and LVM1. Root is on a normal EXT3 partition. I want to setup an encrypted file system (not root) with truecrypt. However truecrypt requires a 2.6 kernel. So I installed the 2.6.10 kernel from /testing. I then found out that LVM1 does not work with the 2.6 kernels.

My question is: when I install the devicemapper and LVM2 packages (after removing LVM1), will I be able to return to my old 2.4 kernel with LVM1 by just removing LVM2 and re-installing LVM1? Will activating the PV/LV's with LVM2 change them, to make them incompatible with LVM1?

I have a few custom written programs running on this system so I try to modify the 10.1 defaults as little as I can.

Thanks for your time.

Old 12-29-2006, 12:28 PM   #2
Senior Member
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 80
My question is: when I install the devicemapper and LVM2 packages (after removing LVM1), will I be able to return to my old 2.4 kernel with LVM1 by just removing LVM2 and re-installing LVM1?
Researching the "LVM HOWTO" in answer to FAQ question 4.1.7 I found this:

"... Be warned that it's not always possible to revert back to lvm 1 format metadata."

I suggest you post your question to the LVM mailing list to get a more definative answer.

This is a case where system backups will come in *real* handy!

Good Luck.

Last edited by bsdunix; 12-29-2006 at 01:04 PM.
Old 12-30-2006, 08:45 AM   #3
LQ Newbie
Registered: Dec 2006
Posts: 2

Original Poster
Rep: Reputation: 0
BSDunix, thanks for your reply. The same documents states that

"4.1.6. Does LVM 2 support VGs and LVs created with LVM 1?

Yes. LVM 2 will activate and operate on VG and LVs created with LVM 1. The exception to this is snapshots created with LVM 1 - these should be removed before upgrading. Snapshots that remain after upgrading will have to be removed before their origins can be activated by LVM 2. "

That seems to imply that you can run LVM1 VG/LV's with LVM2 without converting them to LVM2 format, as long as you have no snapshots, which I don't have. Also the quick start for going from LVM1 to LVM2 does not say that you need to use vgconvert to update LVM1 volumes to the LVM2 format.





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
USB kernel problem installing Debian testing on HP Proliant ML310 G3 - kernel freeze sjust Linux - Hardware 11 01-27-2009 02:17 PM
Kernel-header packages for 2.6.x kernel are not found in 'Testing' depositaries? Akhran Debian 2 04-03-2006 05:10 AM
1 of the 2 slackware on system is for testing...kernel compilation/permission issues b0nd Linux - Newbie 1 01-21-2006 01:20 PM
kernel Panic slackware 10.1 (sata) after upgrading to 2.6.10 pkg in /testing sund00bie Slackware 7 07-25-2005 04:59 AM
Slackware 10 and testing kernel 2.6.7 cb951303 Slackware 2 08-21-2004 04:20 PM

All times are GMT -5. The time now is 12:03 PM.

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