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.
Trying to install Slackware 13.37. After installation I ran mkinitrd (I'm sorry, I can't remember what options I used, but they were based pretty closely on the examples in /boot/README.initrd), edited /etc/lilo.conf accordingly, and reinstalled LILO. On boot, I get this:
Quote:
/boot/initrd.gz: Loading kernel modules from initrd image:
mount: mountint /dev/sdb3 on /mnt failed: No such file or directory
ERROR: No /sbin/init found on rootdev (or not mounted). Trouble ahead.
You can try to fix it. Type 'exit' when things are done.
I don't know what to do, so I just type exit, and then I get a kernel panic and can't do anything but hit the power button.
Clearly, I did something wrong with mkinitrd, but now I can't figure out how to recover. I can boot from the DVD, and edit /etc/lilo.conf, but after that I'm lost. I can't figure out how to reinstall LILO so I could boot from the huge.s kernel again (mounting the drives and running sbin/liloconfig tells me "cannot install LILO"), and the setup program won't let me use its CONFIGURE option.
Trying to install Slackware 13.37. After installation I ran mkinitrd (I'm sorry, I can't remember what options I used, but they were based pretty closely on the examples in /boot/README.initrd), edited /etc/lilo.conf accordingly, and reinstalled LILO. On boot, I get this:
I don't know what to do, so I just type exit, and then I get a kernel panic and can't do anything but hit the power button.
Clearly, I did something wrong with mkinitrd, but now I can't figure out how to recover. I can boot from the DVD, and edit /etc/lilo.conf, but after that I'm lost. I can't figure out how to reinstall LILO so I could boot from the huge.s kernel again (mounting the drives and running sbin/liloconfig tells me "cannot install LILO"), and the setup program won't let me use its CONFIGURE option.
Any suggestions?
you need to chroot your self before you run lilo again.
once you chroot your self than you can dit lilo.conf and re run lilo.
once your back in init3 to create a proper initrd file run:
/usr/share/mkinitrd/mkinitrd_command_generator.sh
that will generate the correct command you need to run for creating a proper initrd file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.