LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Triple Boot and GRUB Error 17 (https://www.linuxquestions.org/questions/linux-newbie-8/triple-boot-and-grub-error-17-a-672791/)

yogi_texas 09-27-2008 04:38 PM

Triple Boot and GRUB Error 17
 
I was hoping that someone can hep me with this issue. My current partitioning scheme is:

/dev/sda1 # swap
/dev/sda5 # ubuntu
/dev/sda6 # debian
/dev/sda7 # slackware

I initially installed ubuntu, then debian, then slackware. I allowed debian's grub to be load the rest. however, when I added slackware to debian's grub, I get an error 17 warning. I did not install a boot loader for slackware. how can I address this problem?

blackhole54 09-27-2008 07:04 PM

You should certainly be able to do what you are attempting. Please post your menu.lst or grub.conf file for us to take a look at.

You should also be aware that another (and probably simpler) way to do what you want is to simply chainload the additional OS's from the first. To make this work, on every OS after the first, you install GRUB to that system's partition rather than to the MBR. (So for Slackware, you would install its boot sector to sda7.) I have seen an excellent description/explanation of this by an LQ member (probably moderator), but I can't find it now.

colorpurple21859 09-27-2008 07:12 PM

what version of slack are you using? if your using 12.1 you will either have to install grub from slackware/extras or formate your sda7 partition beforehand from one of your other distros and during the slack12.1 installation do not format the partition since you have already formatted it.

billymayday 09-27-2008 07:14 PM

The process to do what was suggested in post 2 is pretty simple.

Boot into a distro that works

Mount the slackware partition
Code:

mount /dev/sda7 /mnt
Install grub on that partition
Code:

grub-install --root-directory=/mnt /dev/sda7
Add a chainloader entry to the grub.conf/menu.lst you boot from

Code:

title Slackware
rootnoverify (hd0,6)
chainloader +1

You will need to make all these entries as root or use sudo

yogi_texas 09-28-2008 01:43 PM

Thank you billymayday and the rest. Your last post fixed my problem. Apparently I paid no attention to GRUB's way of naming the drives


All times are GMT -5. The time now is 07:59 PM.