SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.