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.
I boot my slackware through usb and I don't install lilo.
I want to add slackware to fedora grub.conf.I have tried some methods,but failed.
How can I do?
If that is all that is in your Slackware /boot directory you don't have any kernels installed. Vmlinuz-generic-2.6.33.4 and the initrd are not listed. Are they maybe installed on a different partition/boot? If so change the Slackware root (hd0,?) line to reflect the partition the Slackware kernel is located and keep everything else the same.
Or is this "boot.0808 diag2.img System.map-generic-2.6.33.4" your kernel? If so change the kernel line to /boot/boot.0808 diag2.img System.map-generic-2.6.33.4 and the initrd line also to match.
Last edited by colorpurple21859; 04-09-2011 at 07:32 AM.
I believe you are using grub-legacy (0.97) and I can't see anything wrong in grub.conf so I make a wild guess that your sda8 is to far away on the disk so Grub can't reach it...I have that problem.
Make a directory /boot/slack on the fedora partition (sda6) and copy all of slackware's /boot to it then change the entry for slackware...
I believe you are using grub-legacy (0.97) and I can't see anything wrong in grub.conf so I make a wild guess that your sda8 is to far away on the disk so Grub can't reach it...I have that problem.
Make a directory /boot/slack on the fedora partition (sda6) and copy all of slackware's /boot to it then change the entry for slackware...
1. Use the Huge kernel. You will have a better chance of booting from a USB drive.
2. include a rootdelay parameter in /etc/grub/menu.lst Slackware stanza: e.g.
title Slackware
root (hd0,7)
image=/boot/vmlinuz
append="rootdelay=10 root=/dev/sda8"
read-only
Your grub legacy might not be able to see your Slackware partition if the slackware partition was formatted using the slackware installer. There are some distros that have that problem with grub legacy. If so you have one of Three options to try.
1. You can update your grub software and see if that helps.
2. Install lilo to the Slackware root partition using the Slackware installer and chainload
3. Use whatever software you use in the distro that your grub is located to format the Slackware partition, and when you go to reinstall Slackware do not format the slackware partition when asked.
/Håkan
Found the command, when grub start press c for the "prompt"
Thanks.the same error before.
Quote:
/boot/initrd.gz:Loading kernel modules from initrd image:
mount:mounting /dev/sda8 on /mnt failed:No such device
ERROR:No /sbin/init found on rootdev (or not mounted).Trouble ahead.
You can try to fix it.Type 'exit' when things are done.
In most installs of Slackware /boot/vmlinuz is a link to the vmlinuz-huge-2.6.33.4 kernel which makes it easier to use instead of trying to remember what version of kernel to use.
The huge kernel has everthing installed into it so you do not have to use a initrd.gz file. however because of this, the huge kernel is larger therefore your system won't be as fast as it would be with the generic kernel. Until you get a correctly working initrd.gz you will have to boot your slackware with either /boot/vmlinuz or /boot/vmlinuz-huge-2.6.33.4. After booting into your slackware system with the huge kernel run the following to help with mkinitrd.
In most installs of Slackware /boot/vmlinuz is a link to the vmlinuz-huge-2.6.33.4 kernel which makes it easier to use instead of trying to remember what version of kernel to use.
The huge kernel has everthing installed into it so you do not have to use a initrd.gz file. however because of this, the huge kernel is larger therefore your system won't be as fast as it would be with the generic kernel. Until you get a correctly working initrd.gz you will have to boot your slackware with either /boot/vmlinuz or /boot/vmlinuz-huge-2.6.33.4. After booting into your slackware system with the huge kernel run the following to help with mkinitrd.
so for right now see if slackware will boot with this;
Thanks! I boot with this
Quote:
title Slackware
root (hd0,7)
kernel /boot/vmlinuz-huge-2.6.33.4 root=/dev/sda8 ro
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.