salix with lvm and luks

If you have any suggestions or ideas about improving Salix, here's the place to post them.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: salix with lvm and luks

Post by gapan »

pwatk wrote:
Naming other distributions here in SALIX forums is not very well seen
Fair enough but I don't see why.
Me neither. It's just one of his usual ramblings.

Trying to understand what is really needed to add support for it. cryptsetup and mdadm can easily be added to the default installation, but why kernel-generic? What's the problem with kernel-huge? The installation procedure can also be easily tweaked to ask for a reboot or exit the installation. I read this part:
Older BIOS can not boot an initrd image if you use the 'huge' kernel from salix.
but the question is why? And why does it work with kernel-generic?
Image
Image
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: salix with lvm and luks

Post by damNageHack »

It is nothing about rambling, flame war or something like that for me. I am very sorry if it seems to be intended as so.

The main question is *who* will write the first lvm frontend application (if so called) for Salix and is it really needed embedded into default setup :?:

Just my 5ct.
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: salix with lvm and luks

Post by gapan »

damNageHack wrote:It is nothing about rambling, flame war or something like that for me. I am very sorry if it seems to be intended as so.
No you're not.
damNageHack wrote:The main question is *who* will write the first lvm frontend application (if so called) for Salix
You can do that since you're so much interested in it.
damNageHack wrote:and is it really needed embedded into default setup :?:
No.
Image
Image
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: salix with lvm and luks

Post by pwatk »

Trying to understand what is really needed to add support for it. cryptsetup and mdadm can easily be added to the default installation, but why kernel-generic? What's the problem with kernel-huge? The installation procedure can also be easily tweaked to ask for a reboot or exit the installation.
I suppose it doesn't matter but since your going to need an initrd anyway, you might as well use the generic kernel! On the other hand, the only real difference (apart from size) is seeing errors generated by instmod trying to install built-in modules.

You don't even need cryptsetup and mdadm if you just temporarily copy over the static versions from the installation ramdisk before running mkinitrd.
Other things to consider are usb keyboards (ehci-hcd, uhci-hcd, ohci-hcd, usbhid), hibernation and the possibility someone will add in a new device (e.g. a sata cd/dvd-rom). I just did this and in throws everything out. Using UUID's would solve this but I don't know how to implement this (on the "to do when time stands still" list).
Image
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: salix with lvm and luks

Post by gapan »

pwatk wrote:I suppose it doesn't matter but since your going to need an initrd anyway, you might as well use the generic kernel! On the other hand, the only real difference (apart from size) is seeing errors generated by instmod trying to install built-in modules.
But it should work with kernel-huge, right? One can install kernel-huge and then, after the installation is done, can replace it with kernel-generic or whatever.
pwatk wrote:You don't even need cryptsetup and mdadm if you just temporarily copy over the static versions from the installation ramdisk before running mkinitrd.
So cryptsetup and mdadm are not needed on the installed system, they should just be available during installation, which they already are?
pwatk wrote:Other things to consider are usb keyboards (ehci-hcd, uhci-hcd, ohci-hcd, usbhid),
But these aren't issues at all, if kernel-huge is used, right?
pwatk wrote:hibernation and the possibility someone will add in a new device (e.g. a sata cd/dvd-rom). I just did this and in throws everything out. Using UUID's would solve this but I don't know how to implement this (on the "to do when time stands still" list).
Are we still talking about the installation here? What does the installation have to do with any changes you might do after it's done?


It seems to me that the only thing that is really needed is for the installation to not automatically reboot, but offer an option to reboot or exit to command line.
Image
Image
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: salix with lvm and luks

Post by damNageHack »

pwatk wrote:
LVM support is considered as default functionality nowadays. :roll:
I do realise that but writing a frontend to do it for you I'm sure isn't all that easy.
gapan wrote:
damNageHack wrote:The main question is *who* will write the first lvm frontend application (if so called) for Salix
You can do that since you're so much interested in it.
There is for example EVMS from IBM. Not actively developed any more, but quite good GUI, unfortunately only for the "old" GTK1 available. Also, there are front-ends for ncurses and plain console.
I started another thread some times ago for EVMS, but I am too lazy to search for it ...
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: salix with lvm and luks

Post by pwatk »

gapan wrote:
pwatk wrote:I suppose it doesn't matter but since your going to need an initrd anyway, you might as well use the generic kernel! On the other hand, the only real difference (apart from size) is seeing errors generated by instmod trying to install built-in modules.
But it should work with kernel-huge, right? One can install kernel-huge and then, after the installation is done, can replace it with kernel-generic or whatever.
Yes but I do remember running into troubles at one point with the huge kernel and when I swapped to the generic kernel everything worked. It could have been my fault but I've used the generic kernel during installation ever since.
gapan wrote:
pwatk wrote:You don't even need cryptsetup and mdadm if you just temporarily copy over the static versions from the installation ramdisk before running mkinitrd.
So cryptsetup and mdadm are not needed on the installed system, they should just be available during installation, which they already are?
No but only if the user copies them from the installation ramdisk (and knows they're there) before chrooting. I would still include these packages to save any hassle.
gapan wrote:
pwatk wrote:Other things to consider are usb keyboards (ehci-hcd, uhci-hcd, ohci-hcd, usbhid),
But these aren't issues at all, if kernel-huge is used, right?
True.
gapan wrote:
pwatk wrote:hibernation and the possibility someone will add in a new device (e.g. a sata cd/dvd-rom). I just did this and in throws everything out. Using UUID's would solve this but I don't know how to implement this (on the "to do when time stands still" list).
Are we still talking about the installation here? What does the installation have to do with any changes you might do after it's done?

It seems to me that the only thing that is really needed is for the installation to not automatically reboot, but offer an option to reboot or exit to command line.
That and these few packages, yes :D
Image
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: salix with lvm and luks

Post by gapan »

OK, expect the changes in the next iso. :)
Image
Image
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: salix with lvm and luks

Post by pwatk »

:D
Image
lumak
Posts: 10
Joined: 4. Apr 2010, 21:05

Re: salix with lvm and luks

Post by lumak »

99% of the people trying to install salix on their system will have no problem using the 'huge' kernel

For the few 1% that actually try installing salix on an older system, the bios can not fit the initrd image within the 15 MB hole between inserting the kernel and some other stuff. At least according to the output from lilo.

From experience, I attempted a 'huge' kernel with an initrd on an old laptop that was designed to run with a max of 256MB of ram. It could not load the initrd image.

I'm sure most systems with at least 1 gig of ram should not have a problem. But then I'm not an expert.

Additionally, if you are trying to run salix on a system with less than a gig of ram, just give up now. Switch to Slackware 7 or something. You will probably have much more luck with that.

Oddly enough, my old laptop supported the smp architecture but then there have been smp capable systems since at least Pentium 3.
Post Reply