[SOLVED] Can't boot from /boot/grub/menu.lst entry for SW13
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.
Can't boot from /boot/grub/menu.lst entry for SW13
I installed(full)SW13 to /dev/hdb6 (aka/dev/sdb6) the 2nd (sata) disk on my pc. lilo was put in root partition and I'm trying to edit Ubuntu's grub/menu.lst to boot SW13. Trying chainloader method asks for kernel.
Trying Title SW13 (on/dev/hdb6 or /dev/sdb6) then root (hd1,5) and kernel /boot/vmlinuz-generic-smp-2.6.29 root=/dev/hdb6 (or /dev/sdb6) ro
then initrd (hd1,5)/boot/initrd.img give me file not found error. I'm assuming the full install includes the initrd image. Did I miss something? The installer did not ask if I wanted to do a mkinitrd. Thanx.
Trying Title SW13 (on/dev/hdb6 or /dev/sdb6) then root (hd1,5) and kernel /boot/vmlinuz-generic-smp-2.6.29 root=/dev/hdb6 (or /dev/sdb6) ro
then initrd (hd1,5)/boot/initrd.img give me file not found error.
First, the kernel name will be:
Code:
vmlinuz-generic-smp-2.6.29.6-smp
Second, you need to create a initrd.gz image file with the generic kernel. This is explained in CHANGES_AND_HINTS.TXT available at the root directory of the installation media (DVD or CD):
Quote:
Use one of the provided generic kernels for daily use. Do not report
bugs until/unless you have reproduced them using one of the stock
generic kernels. You will need to create an initrd in order to boot
the generic kernels - see /boot/README.initrd for instructions.
The huge kernels are primarily intended as "installer" and "emergency"
kernels in case you forget to make an initrd. For most systems, you
should use the generic SMP kernel if it will run, even if your system is
not SMP-capable. Some newer hardware needs the local APIC enabled in the
SMP kernel, and theoretically there should not be a performance penalty
with using the SMP-capable kernel on a uniprocessor machine, as the SMP
kernel tests for this and makes necessary adjustments. Furthermore, the
kernel sources shipped with Slackware are configured for SMP usage, so you
won't have to modify those to build external modules (such as NVidia or
ATI proprietary drivers) if you use the SMP kernel.
Refer to README.initrd for instructions on how to do it.
So If I boot the install cd I login as root, cd to /boot and run command mkinitrd -c -k generic-smp-2.6.29.6-smp -m mbcache:jbd:ext3 -f ext3 -r /dev/hdb6 for ext3 root partition? Then edit /etc/lilo.conf to include initrd = /boot/initrd.gz and run # lilo. Then I can edit the /boot/grub/menu.lst in ubuntu and add SW13. Is that about it? This the 1st time trying the mkinitrd command in more than 8yrs of using linux. Thx for your patient response.
brianL running that /usr/share...generator.sh said could not find error when I booted default hugesmp.s kernel and logged in as root. Cd to /usr/share and ls -aF doesn't show any mkinitrd file. Should I boot with vmlinuz-generic-smp-2.6.29.6-smp kernel instead? Thx. And cd /boot didn't work to try the readme file way.
I tried booting huge kernel(default) then as root cd /boot doesn't work. # cd / ls -aF shows @boot no /boot. Tried /mnt /dev/hdd(install dvd) and it wont so I can do the readme.initrd installpkgs and mkinitrd..... steps. What am I missing here? I did do full install without error messages.
After # /mnt /dev/hdb6--it's been so long- I can cd /boot but mkinitrd step says something about missing candidate. Installpkg for kernel* kernel-modules and mkinitrd are no go too. # cd /usr/share has nothing about mkinitrd too. This has got to be simpler Thx.
Thx for replies. Booting now(with default huge kernel) into SW13 using Ubuntu's /boot/grub/menu.lst entry of
Title Linux (on /dev/sdb6)
root (hd1,5)
chainloader +1
boot
and selecting SW from lilo menu. Can be marked as solved pls
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.