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.
Slack 12.0 (configured with encrypted FS using Eric's, aka Alien, instructions)
Kernel huge-smp-2.6.21.5
HD: SATA 160GB
Everything is working OK, but I want the system to be a bit less bloated. I compile the new kernel no error messages or anything. First time I forgot to enable the SCSI devices for the box so I couldn't read the drive. Then since I did not know exactly which one I would need I built all of them into the kernel. I know it breaks the definition of less bloated, but the idea was to get the system to boot and then get rid of un-needed junk be removing SCSI drivers until it broke.
I created my initrd and everything but the system refuses to boot. just before I get prompted by my luks password I get the following messages:
Code:
Can't open device: /dev/sda3
mount: mounting cryptroot on /mnt failed
ERROR: No /sbin/init found on rootdev (or not mounted). Trouble ahead.
Kernel panic - not syncing: Attempted to kill init!
How can I find exactly which one of all of the SCSI drivers will I need. I went as far as building every single one of them into the kernel to no avail.
As far as I know you need to compile your kernel with your SATA drivers as module, and with mkinitrd make a image that include support for ext3/reiserfs. Also don't forget to include this image in lilo.conf.
try booting back with the default huge kernel and see if it works.
Is / being mounted? I had a similar problem where the computer couldn't find /sbin/init. Turns out I had to redo initrd with the -r option, and edit /etc/fstab location for my root dir.
try booting back with the default huge kernel and see if it works.
Old Kernel still works just fine. I just enabled all of the SATA devices. And I'm compiling as I type.
Quote:
Originally Posted by randomsel
Is / being mounted? I had a similar problem where the computer couldn't find /sbin/init. Turns out I had to redo initrd with the -r option, and edit /etc/fstab location for my root dir.
Is / being mounted? That is the question. Why would the location of /sbin/init change?
dont enable the new sata driver which is marked "conflicts with libsata driver". becoz already there is a driver for sata in drivers menu. for more accurace just re-compile the default huge kernel with config files from /boot folder and use the .config file to build your new kernel don't enable or disable any disk drivers as your old kernel is working fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.