LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do I add mythbuntu to my opensuse grub menu (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-add-mythbuntu-to-my-opensuse-grub-menu-670093/)

Shadowmeph 09-15-2008 01:49 PM

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

yancek 09-15-2008 02:41 PM

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.

Shadowmeph 09-15-2008 04:48 PM

Quote:

Originally Posted by yancek (Post 3281269)
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

Shadowmeph 09-20-2008 12:27 PM

Quote:

Originally Posted by yancek (Post 3281269)
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?


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