Add slackware to grub.conf
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? fedora grub.conf Quote:
Quote:
|
Have you tried running
Code:
update-grub This should hopefully detect OSes automagically and add them to the menu |
Quote:
|
Quote:
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. |
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... Code:
title Slackware |
Quote:
Yeah,I'm using grub 0.97.But not far. Quote:
Anyway,I tried what you say,but not work.Thanks. |
Is there any error message, grub use to print something when it stops.
/Håkan |
I dont have grub on this computer and I dont remember the command you can give when grub start to get to the "prompt", but there you can use "find"...
http://www.gnu.org/software/grub/man...grub.html#find Code:
grub> find /boot/vmlinuz-generic-2.6.33.4 http://www.gnu.org/software/grub/man...#GNU_002fLinux ..if it is /dev/sda8 Code:
grub> root (hd0,7) Found the command, when grub start press c for the "prompt" |
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. |
Quote:
Quote:
|
Quote:
|
Quote:
|
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. Quote:
Quote:
|
Quote:
Quote:
|
All times are GMT -5. The time now is 02:13 PM. |