LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lost Ubuntu after installing OpenSUSE (http://www.linuxquestions.org/questions/linux-newbie-8/lost-ubuntu-after-installing-opensuse-932336/)

Marlboroman 03-02-2012 08:21 AM

Lost Ubuntu after installing OpenSUSE
 
I just installed Opensuse and i can't use ubuntu anymore. it doesn't load in the bootloader and i don't know what to do in Yast. will installing grub 2 in opensuse solve the problem? i also don't have my ubuntu cd.

I had Ubuntu 11.10
and i installed OpenSUSE 12.1

yancek 03-02-2012 08:49 AM

The simplest thing to have done would have been to install the Opensuse Grub bootloader to its partition rather than the master boot record, then run update-grub from Ubuntu. Apparently, you didn't do any research on the difference in the bootloaders prior to the Opensuse install?

You can boot Ubuntu from Opensuse by putting an entry in the Opensuse menu.lst file which is in the /boot/grub directory. An example if Ubuntu is on sda5:

Quote:

title Ubuntu-11.10
root (hd0,4)
kernel /boot/grub/core.img
#savedefault
#boot
If your Ubuntu install is not on sda5, you will obviously need to change the root line. The last two lines with hash marks (#) may or may not be necessary, it varies from system to system. You might verify if the /boot/grub/core.img file exists in Ubuntu before trying this.

Marlboroman 03-02-2012 09:36 AM

Thank you sir,
No i had no idea there was a Grub2.
I don't know where my Ubuntu was installed? this is what i get when i run fdisk -l in a terminal window.

Quote:

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00092524

Device Boot Start End Blocks Id System
/dev/sda1 2048 41945087 20971520 83 Linux
/dev/sda2 * 1448566782 1465147391 8290305 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda3 41945088 1448564735 703309824 83 Linux
/dev/sda5 1448566784 1465147391 8290304 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 1000.2 GB, 1000204885504 bytes
1 heads, 63 sectors/track, 31008335 cylinders, total 1953525167 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa4b57300

Device Boot Start End Blocks Id System
/dev/sdb1 63 1953520127 976760032+ 7 HPFS/NTFS/exFAT



TroN-0074 03-02-2012 11:23 AM

What you can do is log in OpenSuSE and open YasT, put your password and continue to the boot menu in YasT. select add and there you can add your ubuntu partition by navigating where the kernel image for ubuntu is located.
play around a little bit until you make it work.


All times are GMT -5. The time now is 11:31 AM.