LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-02-2005, 09:56 AM   #1
alphahawk
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
installing Slackware 10.2 w/ Kernel 2.6 and LVM


I am trying to install Slackware 10.2 on a new system. I have decided to use the 2.6 kernel (test26.s) do to the reason of the extra raid compatibility (I have a 3ware 9550).

I would like to use LVM (Large Volume Managment) on the whole hdd array including / . From what I can tell though the lvm option was never compiled in the test26.s kernel on the cd. I am trying to figure out how to install it and have come up to a road block since the module was not loaded. I have tried to modprobe the lvm module in and been unable to do this.

1 option I have thought of is to create a new test26.s kernel image on a floppy with the LVM loaded in. I have been unable to find enough imformation on how those images are created though to do this. If anyone has a link or can give me a idea of how this is done I would appreciate it.

Otherwise if anyone has setup the test26.s with LVM if you could give me a idea of how you did this I would appreciate it.
 
Old 12-02-2005, 10:26 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Maybe you can have a look at this: http://www.slackersbible.org/node/52. I haven't tried that yet but I was going to.
 
Old 12-03-2005, 05:25 AM   #3
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
I've been thinking about this and it's not that easy. My suggestion would be do do it stepwise and using "standard" procedures:

1. partition your harddisk into 4 (swap, /boot (~100MB), / (~3GB) , and an LVM partition for the rest of the disk)
2. install a stock Slackware with kernel 2.4 using the first 3 partitions
3. upgrade to kernel 2.6 and LVM2
4. format the LVM partition and create LVs as you require
5. copy the / partition to the LVs (maybe it's best to do this with a life CD) and change fstab and lilo accordingly. For lilo, you'll have to chroot into the LVM partition
6. reboot into your LVM partition
7. if that worked well, convert the old / parition into a PV and add it to your LV.

This is all purely theoretical. I'm interested in trying but first I'd like to know if any of the gurus here have a better way.
 
Old 12-05-2005, 09:52 AM   #4
alphahawk
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Second post is viable but I can see alot of issues from trying to do it.

The other option I am trying is to compile a working kernel with 2.6 and then recreating a boot kernel that has the lvm2 built into it
 
Old 12-05-2005, 01:49 PM   #5
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
I see your point but obviously the Slackware setup program, as of 10.2, does not allow you to set up a kernel 2.6 system nor to setup a system on LVM. So you'd need to tweak the setup scripts. I'm not sure if you need to create a special kernel, maybe an initrd will do.

I've gone through all the steps I mentionned, except putting the root partition on an LVM. Worked out OK so far. I'll try the root partition stuff the day I'll feel very very brave ;-)

Installing on LVM and/or software RAID is certainly an option that I'd like to see for 11.0.
 
  


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
Installing Slackware 10.2 on an LVM Partition darkarcon2015 Slackware - Installation 10 02-07-2006 04:19 PM
LVM messages in Slackware satinet Slackware 2 11-25-2005 04:57 PM
Installing LVM on Mandrake 10.1 fieldyweb Linux - Newbie 2 11-08-2005 07:44 AM
LVM install in slackware? cybrjackle Slackware 7 10-01-2003 07:02 PM
LVM, Slackware 8.1, Adaptec 3940UW, IBM harddrives dokhebi Linux - Software 3 01-03-2003 10:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:34 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
Open Source Consulting | Domain Registration