LinuxQuestions.org
Register a domain and help support LQ
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-15-2008, 02:49 PM   #1
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 260

Rep: Reputation: 29
how do I add mythbuntu to my opensuse grub menu


I installed Mythbuntu to my second HD what I need is to add Mythbuntu to my opensuse grub and I am not sure exactly how to do this here is my menu list so far
Code:
# Modified by YaST2. Last modification on Sun Sep 14 20:35:43 PDT 2008
default 0
timeout 4
gfxmenu (hd0,6)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux-2.6.25.16-0.1-default###
title openSUSE 11.0 - 2.6.25.16-0.1 (default)
    root (hd0,6)
    kernel /boot/vmlinuz-2.6.25.16-0.1-default root=/dev/disk/by-id/scsi-SATA_ST3320620AS_6QF15JBZ-part7 resume=/dev/sda6 splash=silent showopts vga=0x317
    initrd /boot/initrd-2.6.25.16-0.1-default

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    rootnoverify (hd0,6)
    chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.0 - 2.6.25.16-0.1
    root (hd0,6)
    kernel /boot/vmlinuz-2.6.25.16-0.1-default root=/dev/disk/by-id/scsi-SATA_ST3320620AS_6QF15JBZ-part7 showopts ide=nodma apm=off acpi=off noresume edd=off x11failsafe vga=0x317
    initrd /boot/initrd-2.6.25.16-0.1-default

###Don't change this comment - YaST2 identifier: Original name: linux###
title Debug -- openSUSE 11.0 - 2.6.25.16-0.1
    root (hd0,6)
    kernel /boot/vmlinuz-2.6.25.16-0.1-debug root=/dev/disk/by-id/scsi-SATA_ST3320620AS_6QF15JBZ-part7 resume=/dev/sda6 splash=silent showopts vga=0x317
    initrd /boot/initrd-2.6.25.16-0.1-debug

###Don't change this comment - YaST2 identifier: Original name: xen###
title Xen -- openSUSE 11.0 - 2.6.25.16-0.1
    root (hd0,6)
    kernel /boot/xen.gz 
    module /boot/vmlinuz-2.6.25.16-0.1-xen root=/dev/disk/by-id/scsi-SATA_ST3320620AS_6QF15JBZ-part7 resume=/dev/sda6 splash=silent showopts vga=0x317
    module /boot/initrd-2.6.25.16-0.1-xen

###Don't change this comment - YaST2 identifier: Original name: Mythbuntu###
###title Mythbuntu 8.04.1 080705 amd64
###root (hd0,6)
I added the Mythbuntu part
 
Old 09-15-2008, 03:41 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Log in to Opensuse as root and run command, fdisk -l (lower case letter L) to find where your Mythbuntu is. If it's on the first partition of the second drive it would be sdb1 which is equal to (hd1,0) in Grub. Use:
root (hd1,0) in that case, make necessary changes if it is not. Grub starts counting from zero.

You will need the vmlinuz and initrd entries from Mythbuntu to add to the root entry (similar to your Opensuse entries). Create a directory in Opensuse: mkdir /mnt/mythbuntu, then mount it: mount -t ext3 /dev/sdb1 /mnt/mythbuntu. You should then be able to use Konqueror (or whatever file manager you use) to browse to the /boot/grub/menu.lst of Mythbuntu to get the correct entries from that file to copy to the Opensuse menu.lst.
 
Old 09-15-2008, 05:48 PM   #3
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 260

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by yancek View Post
Log in to Opensuse as root and run command, fdisk -l (lower case letter L) to find where your Mythbuntu is. If it's on the first partition of the second drive it would be sdb1 which is equal to (hd1,0) in Grub. Use:
root (hd1,0) in that case, make necessary changes if it is not. Grub starts counting from zero.

You will need the vmlinuz and initrd entries from Mythbuntu to add to the root entry (similar to your Opensuse entries). Create a directory in Opensuse: mkdir /mnt/mythbuntu, then mount it: mount -t ext3 /dev/sdb1 /mnt/mythbuntu. You should then be able to use Konqueror (or whatever file manager you use) to browse to the /boot/grub/menu.lst of Mythbuntu to get the correct entries from that file to copy to the Opensuse menu.lst.
Thanks for your reply I ended up just deleting Mythbuntu and adding Mythtv to opensuse
 
Old 09-20-2008, 01:27 PM   #4
Shadowmeph
Member
 
Registered: May 2008
Location: West Coast Canada
Posts: 260

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by yancek View Post
Log in to Opensuse as root and run command, fdisk -l (lower case letter L) to find where your Mythbuntu is. If it's on the first partition of the second drive it would be sdb1 which is equal to (hd1,0) in Grub. Use:
root (hd1,0) in that case, make necessary changes if it is not. Grub starts counting from zero.

You will need the vmlinuz and initrd entries from Mythbuntu to add to the root entry (similar to your Opensuse entries). Create a directory in Opensuse: mkdir /mnt/mythbuntu, then mount it: mount -t ext3 /dev/sdb1 /mnt/mythbuntu. You should then be able to use Konqueror (or whatever file manager you use) to browse to the /boot/grub/menu.lst of Mythbuntu to get the correct entries from that file to copy to the Opensuse menu.lst.
now Iam doingf the exact same thing only with Kubuntu which hasd worked perfectly thank you .

Now I have another question, what is the command to automatically mount kubuntu ?
or do I have to mount -t ext3 /dev/sdb1 /mnt/Kubuntu every time Iwant to have access to those files?
 
  


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
Editing /boot/grub menu.lst OpenSUSE 10.2 ceeleelewis Linux - Newbie 7 03-16-2007 10:05 AM
Can't chroot to slackware to 'mkinitrd' to add to grub menu surfbass Linux - General 1 05-02-2006 03:22 PM
Grub will not let me add Windows XP to menu.lst BillyGalbreath Linux - General 7 12-27-2005 03:39 PM
add windows install to GRUB menu sall Linux - Hardware 4 07-29-2005 06:41 PM
GRUB - How to add Windows to boot menu? geekgyrrrl Linux - Newbie 4 06-04-2005 11:02 PM


All times are GMT -5. The time now is 05:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration