LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-25-2006, 08:58 PM   #1
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Rep: Reputation: 30
Question STUCK: GRUB issue and multiple boot


I am sure this has been covered here, but I guess my search was not helping me. Let me explain:

I have been trying out a number of distro's, and it seems that debian based ones "take" on my hardware very nicely (Ubuntu excellent, my default), then Mepis (KDE)

I have the following hardware: HP Compaq nw8240 with these partitions:
hda1 Winxp
hda5 FAT32
hda6 MEPIS 3.4.3 (BTW ATI fglx configured out of the box, well done!)
hda7 swap (for both linuxes)
hda8 (Ubuntu 5.10)

This is how it started: WinXp, then installed Ubuntu on hda8. Ubuntu installed GRUB on MBR and was able to dual boot. Now I wanted to try a KDE debian based distro, so I installed Kubuntu, which recognized both winxp and Ubuntu on hda8 and set grub on mbr to triple boot. But, I did not like the look and feel of KDE in kubuntu (seems flacky and not polished like its sister Ubuntu). MEPIS (Ihave used this distro for a while, and I fell the workmanship is classy IMO). So I installed MEPIS on hda6, and by asked me to installed GRUB on MBR which I did.

Now I am unable to "see" Ubuntu in the GRUB menu at boot time. Is it possible to add a item in GRUB menu so that MEPIS grub can can give a option to choose Ubuntu.

Many thanks in advance,
Smiley
 
Old 02-25-2006, 09:09 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Simply go look at the grub.conf (may be called menu.lst) in the Ubuntu partition. Copy the relevant bits to your Mepis equivalent.
This problem can be avoided by installing later distros bootloaders to a partition, which will leave your current setup alone, and you can merge the config files at your leisure.
 
Old 02-25-2006, 09:17 PM   #3
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Original Poster
Rep: Reputation: 30
Thanks,

I appreciate this. I am concerned that there is no boot instructions on the boot partition of Ubuntu.

Here is my Grub menu list from Ubuntu:
Code:
title		Ubuntu, kernel 2.6.12-10-386 
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.12-10-386 root=/dev/hda8 ro quiet splash
initrd		/boot/initrd.img-2.6.12-10-386
savedefault
boot

title		Ubuntu, kernel 2.6.12-10-386 (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.12-10-386 root=/dev/hda8 ro single
initrd		/boot/initrd.img-2.6.12-10-386
boot

title		Ubuntu, kernel 2.6.12-9-386 
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.12-9-386 root=/dev/hda8 ro quiet splash
initrd		/boot/initrd.img-2.6.12-9-386
savedefault
boot

title		Ubuntu, kernel 2.6.12-9-386 (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.12-9-386 root=/dev/hda8 ro single
initrd		/boot/initrd.img-2.6.12-9-386
boot

title		Ubuntu, memtest86+
root		(hd0,7)
kernel		/boot/memtest86+.bin  
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title		Microsoft Windows XP Professional
root		(hd0,0)
savedefault
makeactive
chainloader	+1

And here is my grub menu list from MEPIS /boot/grub:
Code:
timeout 15
color cyan/blue white/blue
foreground ffffff
background 0639a1

gfxmenu /boot/grub/message

title MEPIS at hda6, kernel 2.6.15-1-586tsc
kernel /boot/vmlinuz-2.6.15-1-586tsc root=/dev/hda6 nomce quiet vga=791 

title Windows at hda1
rootnoverify (hd0,0)
chainloader +1

title MEMTEST
kernel /boot/memtest86.bin

Could you show me what exactly to cut and paste where?

Again, this is very much appreciated. I do not want to make a mistake.
best wishes,
Smiley
 
Old 02-25-2006, 09:48 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Just take the first two stanzas - you can paste them (almost) anywhere. Prior to the Windows stanza would make most sense. Mepis will still be the default boot if it is the first stanza.
 
Old 02-25-2006, 09:50 PM   #5
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Original Poster
Rep: Reputation: 30
So even if there is not boot instructions on this partition, will I be able to boot to Ubuntu on hda8? Okay I will give it a try and come back to let you know, Thanks
 
Old 02-25-2006, 10:03 PM   #6
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Original Poster
Rep: Reputation: 30
As I suspected, adding those 2 stanza to the MEPIS grub menu, did not work. What happens is this: MEPIS grub menu has the new entries of Ubuntu; so I choose Ubuntu, this now enters another GRUB menu (same on as the above), and loops infinitely when Ubuntu is selected. When I choose MEPIS (first entry), it boots into MEPIS.

How do I get Ubuntu to boot?

Many thanks,
Smiley
 
Old 02-25-2006, 10:09 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Odd - let's see the Mepis grub.conf
 
Old 02-25-2006, 10:14 PM   #8
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Original Poster
Rep: Reputation: 30
It's actually in the /boot/grub/menu.lst (I made a backup...clever me!). Here is what the mdofied menu.lst looks like:
Code:
timeout 15
color cyan/blue white/blue
foreground ffffff
background 0639a1

gfxmenu /boot/grub/message

title MEPIS at hda6, kernel 2.6.15-1-586tsc
kernel /boot/vmlinuz-2.6.15-1-586tsc root=/dev/hda6 nomce quiet vga=791 

title		Ubuntu, kernel 2.6.12-10-386 
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.12-10-386 root=/dev/hda8 ro quiet splash
initrd		/boot/initrd.img-2.6.12-10-386
savedefault
boot

title		Ubuntu, kernel 2.6.12-10-386 (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.12-10-386 root=/dev/hda8 ro single
initrd		/boot/initrd.img-2.6.12-10-386
boot

title Windows at hda1
rootnoverify (hd0,0)
chainloader +1

title MEMTEST
kernel /boot/memtest86.bin
 
Old 02-25-2006, 10:40 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Dunno - looks o.k. to me. Try commenting out the "boot" commands - put a # in column 1.
 
Old 02-25-2006, 10:51 PM   #10
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Original Poster
Rep: Reputation: 30
Did the comment out "boot". It did not boot (loops agin). But I tried recovery mode and it booted into text mode and I started x startx. Gave me error message "unable to initialize HAL".

Do you think I should reinstall MEPIS and load the GRUB onto boot sector of root partition. Do you think my old grub will "come back".

But then I will lose Grub on MBR and not be able to boot onto anything???. I am soooooo lost!

Help.

Last edited by smiley_lauf; 02-25-2006 at 10:54 PM.
 
Old 02-25-2006, 11:58 PM   #11
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Original Poster
Rep: Reputation: 30
Can someone help..please

I even tried using the chainloader approach (cut and pasted the stanza with windows chnailoader anc ahnged the drive to hda(0,7). But it is not working at at all. I am really stuck now.
 
Old 02-26-2006, 12:23 AM   #12
Khepri
Member
 
Registered: Jul 2005
Location: Florida
Distribution: DebianSarge;UbuntuDapper
Posts: 34
Blog Entries: 4

Rep: Reputation: 15
IS there a reason you didn't put the memtest behind the two Unbuntu listings like it is in the Ubuntu grub?

Actually it looks like you could just amend that entire Ubuntu file just after the entry for Mepis....?
 
Old 02-26-2006, 12:38 AM   #13
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Khepri
IS there a reason you didn't put the memtest behind the two Unbuntu listings like it is in the Ubuntu grub?

Actually it looks like you could just amend that entire Ubuntu file just after the entry for Mepis....?
Thanks, I do not understand, could you explain what you are getting at?
How do I do the amendment in ubuntu file?
 
Old 03-02-2006, 10:32 PM   #14
Khepri
Member
 
Registered: Jul 2005
Location: Florida
Distribution: DebianSarge;UbuntuDapper
Posts: 34
Blog Entries: 4

Rep: Reputation: 15
Quote:
Originally Posted by smiley_lauf
Thanks, I do not understand, could you explain what you are getting at?
How do I do the amendment in ubuntu file?

Dang, sorry, something came up...

amend = add


Copy the entire ubuntu grub list and paste it in behind the entry for mepis in the mepis grub list....

MAybe?...
 
Old 03-03-2006, 07:31 AM   #15
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Original Poster
Rep: Reputation: 30
I finally resorted to dual boot. Thanks anyway.
 
  


Reply



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
RHEL-First boot Issue-GRUB devinnull Linux - Newbie 7 02-12-2006 07:10 PM
Dual boot Grub Suse 9.1 - totally stuck linuxuser99 Linux - Software 10 05-03-2005 04:25 PM
boot multiple Live CD distro's with grub bob_man_uk Linux - General 1 02-10-2004 09:54 AM
GRUB using /boot partition for multiple Linux/Windows boot? cpv204 Linux - Newbie 7 04-01-2003 03:54 PM
using grub to boot multiple linux os's Smerk Linux - Software 9 03-21-2003 12:07 AM

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

All times are GMT -5. The time now is 01:12 PM.

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
Open Source Consulting | Domain Registration