LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2008, 04:38 PM   #1
yogi_texas
LQ Newbie
 
Registered: Jul 2007
Location: Dallas, TX
Distribution: Kubuntu 7.10
Posts: 3

Rep: Reputation: 0
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?
 
Old 09-27-2008, 07:04 PM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
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.
 
Old 09-27-2008, 07:12 PM   #3
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,968

Rep: Reputation: 274Reputation: 274Reputation: 274
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.
 
Old 09-27-2008, 07:14 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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

Last edited by billymayday; 09-27-2008 at 07:15 PM.
 
Old 09-28-2008, 01:43 PM   #5
yogi_texas
LQ Newbie
 
Registered: Jul 2007
Location: Dallas, TX
Distribution: Kubuntu 7.10
Posts: 3

Original Poster
Rep: Reputation: 0
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

Last edited by yogi_texas; 09-28-2008 at 01:43 PM. Reason: grammar
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"GRUB Error 17" Any ideas? Need help with triple boot: Ubuntu/Kubuntu/2000 Pro starbasecomputertech Linux - Distributions 1 09-30-2007 07:01 PM
Triple-Boot with GRUB? C0Y0TE Linux - Newbie 3 10-19-2004 12:28 PM
Triple Boot Fedora C2 and Suse and windows = big grub error maneeshsethi Linux - Software 6 10-07-2004 04:03 PM
grub triple boot problem the rev Fedora 6 08-12-2004 02:15 AM
Triple boot w/ GRUB belorion Linux - General 3 06-29-2004 12:58 PM


All times are GMT -5. The time now is 04:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration