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.
This method looks similar to what the Debian Installer uses. I
just selected to encrypt the disk and it created an unecrypted
/boot partition and it encrypted the rest of the disk.
If you compile your own kernel and you include all the right
drivers (such as lvm and dmcrpyt), you won't need an initrd.
Take a look at the output of lsmod to see if there are other
modules you might want to bake into the kernel.
Be sure that your kernel boots correctly before you remove
your current kernel from the boot menu!
The initrd is required - not per se to contain kernel modules, but it has to contain the cryptsetup program plus a startup script that asks for your LUKS password so that the root filesystem can be unlocked before control over the system is handed over to the real Slackware "init".
That is what the mkinitrd program all takes care of for you.
This method looks similar to what the Debian Installer uses. I
just selected to encrypt the disk and it created an unecrypted
/boot partition and it encrypted the rest of the disk.
If you compile your own kernel and you include all the right
drivers (such as lvm and dmcrpyt), you won't need an initrd.
Take a look at the output of lsmod to see if there are other
modules you might want to bake into the kernel.
Be sure that your kernel boots correctly before you remove
your current kernel from the boot menu!
Thank you for the offer of help; partitioning in slackware is different to debian, so I don't think that this would work.
The initrd is required - not per se to contain kernel modules, but it has to contain the cryptsetup program plus a startup script that asks for your LUKS password so that the root filesystem can be unlocked before control over the system is handed over to the real Slackware "init".
That is what the mkinitrd program all takes care of for you.
Eric
Hi Eric,
Thank you for your response. I'll make sure that I use mkinitrd when I do this!
a tip I would give you about lap tops is you never know when you will be with out your collection
of live cds or dvds installer disks what ever you use in a O/S disaster
I would suggest you have a back up installation on it's own partition that is not normaly mounted
with the data being kept on another partition mounted at every boot
so no matter badly messed up your normal installation your just a reboot from fixing it or carrying on
on your back up installation and fixing your normal installation later
a tip I would give you about lap tops is you never know when you will be with out your collection
of live cds or dvds installer disks what ever you use in a O/S disaster
I would suggest you have a back up installation on it's own partition that is not normaly mounted
with the data being kept on another partition mounted at every boot
so no matter badly messed up your normal installation your just a reboot from fixing it or carrying on
on your back up installation and fixing your normal installation later
That's a good point. Generally I'm never without a usb live distro, so I should be ok.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.