How do I make the bootloader include Slackware in its' menu?
Hello:
To an empty disk I installed: 1) Windows XP (& then shrank it's partition to make room for OpenSuse) 2) OpenSuse with grub installed on the MBR (& then shrank the home partition & created a new root and home partition for Slackware 13.1) *** These two OSes dual-booted properly *** 3) Slackware 13.1 with LiLo installed to the superblock of the Slackware root partition (sda8). How do I get Slackware to be a 'working' selection on the boot menu? Thanks, |
Best add a menu-entry to grub menu.lst or grub.cfg (if it's Grub2). You can find suggestions http://www.linuxquestions.org/questions/slackware-14/unable-to-boot-slackware-off-suse-grub-841705/[/URL]here. Hope this will be helpful.
You can try to chainload, or boot Slackware directly from Grub. When you try to boot directly, take in account the drive where your slackware-partition is located (hd0,?), where Grub can find the root (root=/dev/sda?) the specific kernel you use (/boot/vmlinuz) and the initrd (/boot/initrd.gz) that goes with it. Good luck! |
Quote:
Right now, I can only boot into XP or OpenSuse. Is there a way to solve this problem from OpenSuse? Thanks, |
I understood your Grub configuration-file is located in your OpenSuse install? There you can try to add different menu-entries and see if they work.
For instance: title Slackware 13.1 root (hd0,?) - number of your partition kernel /boot/vmlinuz root=/dev/sda?) ro initrd /boot/initrd.gz boot You might have to specify the vmlinuz and the initrd. I can't help you with that, I have Slackware 12.2 on my machine. |
grub or grub2?
heres my menuentry for grub2 Code:
menuentry 'Slackware x64' --class slackware --class gnu-linux --class gnu --class os --group group_main { |
Quote:
Either there is another file or it didn't install the way I thought. Suffice it to say that I am really confused now. I'm afraid that I really don't no where my start up menu is coming from. Is there a way to tell? Thanks, |
Quote:
I looked on the OpenSuse web site and I believe that they are saying that because there are still some unresolved issues with grub2 that they are using grub. If that is true, I expected to find something in /boot/grub/menu.lst, right? It is empty. So now I am more confused than ever! |
Go to sf.net and get the bootinfoscript - run that from a (Suse) terminal and post the RESULTS.txt
Will save all the guessing. |
1 Attachment(s)
Quote:
|
well, your menu.lst is in the /boot/grub/ folder on dev/sda6
and you're running grub, not grub2 just add slackware to the grub menu. should do the trick. boot into suse, go to a terminal, Code:
su - then reboot and see if that does the trick. |
Quote:
When I read the Results.txt file, I knew that I was screwing up somehow. Using your nano command worked perfectly. I will now attempt to add the Slackware stuff and see what happens. Thanks a lot for your help, |
Quote:
I assume, as far as it goes, the following is correct: ###My slackware attempt title Slackware root (hd0,8) kernel /boot/vmlinuz-generic-2.6.33.4 But don't I need an 'initrd' entry too? And then stuff following the both the 'kernel' and 'initrd' entry? Thanks for your patience - the Slackware book just shows stuff for LiLo, |
if you are booting the generic kernel, youre going to need an initrd. but you probably didnt make one yet. so heres what you do. direct it to the huge kernel and run
Code:
su - and then direct grub to /boot/initrd.gz, and change the kernel to the generic one. |
Your Slackware entry is incorrect: The bootinfo script shows Slackware on sda8. Opensuse uses Grub Legacy which counts both drives and partitions beginning with zero so the entry should be:
root (hd0,7) If you don't want to hassle with the kernel/initrd entries, you could just chainload: title Slackware root (hd0,7) chainloader +1 The reason you didn't get anything in Kwrite when you tried to access menu.lst is most likely because you were doing it as a regular user, only root usually has access on many systems. |
If you can use suse yast to hopefully chainload your Slack. Use your menu button on desktop then click on Computer, then YaST. You will need to enter your root password and then select
System (in left panel) boot loader (right panel) and then you can select the 'add' button at the lower left and then you will need to figure how and what you want to load. |
All times are GMT -5. The time now is 04:59 AM. |