LinuxQuestions.org
Visit Jeremy's Blog.
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 12-22-2010, 11:26 PM   #1
bcarl6
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Rep: Reputation: 1
Angry Help with triple boot GRUB bootloader


Hello everyone, I have recently set up my laptop triple booting Win 7 and Backtrack 4 r2 and opensuse 11.3. It was first win7 and opensuse, and the opensuse bootloader worked fine (it didn't look like the normal grub bootloader). Then, I installed backtrack on a seperate partition, and the regular black and white bootloader came up (I never tried booting into win7, but I know that both linuxes worked). Then, I reinstalled opensuse because I was having noob problems, and I'm guessing that the bootloader got reinstalled. And, the bootloader worked. Then, on another reboot I tried to get into backtrack, but the colorful opensuse bootloader showed up. So, I chose backtrack, and then the regular black and white grub bootloader showed up. So I chose backtrack again and I think it went to another black and white bootloader with the same options. So, I just chose Windows. Then, I gave me a logon error, so I restarted. Now, it totally skips the bootloader and just goes straight into windows. I only have 4 partitions, with a win7 partition, an opensuse partition, a swap partition, and a backtrack partition. There is no bootloader partition. So, how do I do a clean install of the grub bootloader? Thanks so much; I don't want to have to reinstall everything again
 
Old 12-23-2010, 05:10 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello bcarl6 and welcome to LQ,

it would be important to know, which boatloader you've installed on Suse and on Backtrack.

Be aware that one bootloader for all OSes is only possible if Suse and Backtrack are either both 64bit or both 32bit systems. If this is not the case, you'll have on either distribution to install the bootloader on the Bootsector of the respective partition (for example /dev/sda3) and on the other distribution you'll install the bootloader in the MBR of the Harddrive (probably /dev/sda).

Unfortunately I had no luck while trying Grub2, so I'm using Grub-0.97 with Gentoo. I am running Gentoo (64bit), Slackware64-current, Slackware-13.1 (32bit) and Windows7 on this machine, here my menu.lst file for Grub which is installed on /dev/sda.
Code:
samsung grub # cat menu.lst
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 30
splashimage=(hd0,4)/boot/grub/splash.xpm.gz

# (0) Gentoo 64bit
title Gentoo
root  (hd0,4)
kernel /boot/linux-2.6.36-gentoo-r5

# (0) Gentoo 64bit
title Gentoo_old
root  (hd0,4)
kernel /boot/linux-2.6.34-gentoo-r12

# (1) Slackware64-current
title  Slackware64
rootnoverify   (hd0,5)
chainloader +1
boot

# (3) Slackware-13.1 32bit
title Slackware-13.1
rootnoverify    (hd0,8)
chainloader +1
boot

# (4) Windows
title Windows
rootnoverify (hd0,1)
makeactive
chainloader +1
I'm booting both Slackware with chainloader option which means that both Slackware have their own bootloader installed in the bootsector of their respective partition.

I hope this helps, if you need help with Grub2 please use the search function of this forum, there are posts of people who have installed it successfully.

Markus

Last edited by markush; 12-23-2010 at 05:15 AM. Reason: typo
 
Old 12-23-2010, 07:03 AM   #3
tejendra
LQ Newbie
 
Registered: Dec 2010
Location: Noida(U.P.) India
Posts: 14

Rep: Reputation: 0
rearrange the order in whch you are installing Backtrack 4 r2 and opensuse 11.3...it may be because of the strong bootloader of backtrack
 
Old 12-23-2010, 07:44 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by tejendra View Post
rearrange the order in whch you are installing Backtrack 4 r2 and opensuse 11.3...it may be because of the strong bootloader of backtrack
If this solves the problem, it would be a solution do perform a complete reinstallation. But it isn't the best solution since
1) this would mean to reinstall all OSes on the computer when only changing or adding one.
2) one will learn much while searching for a solution, a reinstallation teaches slightly more than nothing
3) it may be that a reinstallation doesn't solv the issue.... after hours of work one is at the same point as before.

Markus
 
Old 12-23-2010, 08:50 AM   #5
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Boot your Suse disc and select Repair Installed System then you will have a choice of Automatic Repair, Customized Repair or Expert Tools. Try Automatic Repair and it that does not do the job then select Customized Repair and if I remember you have a choice and you select bootloader. It should pick up all your os.

Last edited by Larry Webb; 12-23-2010 at 08:51 AM.
 
Old 12-23-2010, 02:54 PM   #6
bcarl6
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Original Poster
Rep: Reputation: 1
Thanks for the responses! I think that I will try Larry Webb's idea and install grub onto the opensuse partition. If that doesn't work, I will boot onto the live cd and use the grub-install command after I mounted my opensuse partition. I will report my results/errors.
 
Old 12-23-2010, 04:37 PM   #7
bcarl6
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Original Poster
Rep: Reputation: 1
Ok I fixed it! There was no "repair installed system" option, and the grub-install command continued to give me errors. Said something like "no bios partition" or something. But, I found this: http://ubuntuforums.org/showthread.php?t=665877 , and I used the post by logos34. Now it works!
 
1 members found this post helpful.
Old 12-23-2010, 05:22 PM   #8
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Glad to see you found a solution.
 
  


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
[SOLVED] how can I incorporate windows boot loader into grub? Triple boot, single hard drive olkirf Linux - Newbie 8 10-24-2010 09:36 AM
Triple boot DSL in GRUB tigertim71 DamnSmallLinux 5 03-11-2009 10:42 AM
Reconstructing Lilo Bootloader to boot triple OS's dolphans1 Mandriva 2 10-26-2004 05:30 AM
Triple-Boot with GRUB? C0Y0TE Linux - Newbie 3 10-19-2004 01:28 PM
Triple boot w/ GRUB belorion Linux - General 3 06-29-2004 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:23 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