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.
LUKS / LVM2: Root partition unable to boot, initrd errors
For a new minimalist install of Slackware, I've encrypted and assigned for the root partition a 100GB logical volume following the "Combining LUKS and LVM" section of this guide: http://slackware.osuosl.org/slackware/README_CRYPT.TXT. So far, boot attempts have yielded kernel panics. Here are the preceding errors:
Code:
/boot/initrd.gz: Loading kernel modules from initrd image: No volumes found
LUKS device: /dev/sda6 is unavailable for unlocking!
mount: mounting /dev/swcrypt/root on /mnt failed: no such file or directory
Error: No /sbin/init found on rootdev (or not mounted)
For creating an "Initial RAM disk", an initrd, I highly recommend Alien Bob's generator script. It's called mkinitrd_command-generator.sh, and you can download it from here: http://connie.slackware.com/~alien/tools/.
gargamel
Last edited by gargamel; 01-13-2012 at 10:44 AM.
Reason: Corrected typo.
For creating an "Initial RAM disk", an initrd, I highly recommend Alien Bob's generator script. It's calle mkinitrd_command-generator.sh, and you can download it from here: http://connie.slackware.com/~alien/tools/.
gargamel
That script is also part of a Slackware full installation. It can be started as
Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh
Just run it to see what it can do for you. It is purely informative and will not change anything on your computer.
I run the following two commands usually to create an initrd.gz file and update my lilo.conf but you may want to be a bit more careful and first check what it does (also, check if your "generic kernel" is "/boot/vmlinuz-generic-2.6.37.6", if not change the second commandline accordingly):
/boot (or to be more accurate the copy of the kernel and initrd you're using) must be on a non-encrypted partition.
Oops, that was a typo - it's unencrypted.
Quote:
Originally Posted by Panther_
Hi,
install the packages from folder /slackware/n
libgcrypt, libgpg-error
By the way, who put them in a folder /n (network)?
That did the trick! And it does seem strange that these libraries are under network.
Quote:
Originally Posted by gargamel
For creating an "Initial RAM disk", an initrd, I highly recommend Alien Bob's generator script. It's called mkinitrd_command-generator.sh, and you can download it from here: http://connie.slackware.com/~alien/tools/.
gargamel
Quote:
Originally Posted by Alien Bob
That script is also part of a Slackware full installation. It can be started as
Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh
Just run it to see what it can do for you. It is purely informative and will not change anything on your computer.
I run the following two commands usually to create an initrd.gz file and update my lilo.conf but you may want to be a bit more careful and first check what it does (also, check if your "generic kernel" is "/boot/vmlinuz-generic-2.6.37.6", if not change the second commandline accordingly):
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.