LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-02-2012, 08:21 AM   #1
Marlboroman
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
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
 
Old 03-02-2012, 08:49 AM   #2
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,973

Rep: Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785
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.
 
Old 03-02-2012, 09:36 AM   #3
Marlboroman
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
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

 
Old 03-02-2012, 11:23 AM   #4
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,425

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
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.
 
  


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
Ethernet in not installing during installation, worked fine in Ubuntu, OpenSUSE cpope Linux - Newbie 2 05-21-2011 12:55 PM
[SOLVED] No boot loader entry for Ubuntu 10.04 after installing openSUSE 11.3! QueenZ Linux - Newbie 15 08-12-2010 02:17 AM
[SOLVED] Lost Ubuntu after installing OpenSUSE 11.2 khehrainder Linux - Laptop and Netbook 7 07-04-2010 07:27 AM
uninstaling ubuntu and installing opensuse on msi wind U100 without dvd/cd Polanski Linux - Software 18 04-30-2009 06:36 PM
Lost Panel Problem after installing Ubuntu Hardy Heron FrancesL Linux - Newbie 1 05-05-2008 03:18 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration