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.
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.
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.
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
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.
|All times are GMT -5. The time now is 08:30 PM.|