LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-09-2013, 04:20 PM   #1
OldSmokey2
LQ Newbie
 
Registered: Feb 2010
Posts: 7

Rep: Reputation: 0
Installing OpenSuse alongside Ubuntu


Hi... I have a Dell XPS061 desktop with two 500gb hard drives (no RAID). On one drive, dev/hdb, I have Ubuntu 12.04 and Kubuntu 12.04 on separate partitions. On the other hard drive, dev/sda, I have an old OpenSuse install that hasn't worked for a long time. It was the first distribution I installed on this machine so that's why it's on dev/hda. I quit using it after a kernel update had problems with nVidia. By then I was mostly using Ubuntu anyway so when I couldn't figure out how to fix the problem I just let it sit there. After a while, it quit even showing up in the boot menu. But now I would like to do a fresh install of OpenSuse or possibly Mageia as I'd like to have an RPM option to get more familiar with that. So can I just do the install on dev/hda without causing problems? Should I install without installing the bootloader and trust that the bootloader on dev/sdb will pick it up? Or if I do install the bootloader will it pick up Ubuntu and Kubuntu automatically? I know Ubuntu/Kubuntu use Grub2 but I believe Mageia uses Grub, and I'm not sure about OpenSuse.
 
Old 02-09-2013, 07:53 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
Since both drives are the same size, you will need to ascertain during the installation of either Mageia or Opensuse which is which, sda or sdb. They probably won't show as hda hdb on a newer distribution. I don't know about the Mageia bootloader, but the most recent Opensuse 12.2 I beleive is now using Grub2. Probably the easiest thing for you to do would be to install the bootloader for the new distribution to its partition rather than the mbr of either drive. Then you could just run update-grub from Ubuntu/Kubuntu, whichever you have on the mbr. It should detect the new install.

One thing about Opensuse is that there are a lot of different options when it comes to the bootloader installation so if you choose it, make sure you take a look at all options.
 
1 members found this post helpful.
Old 02-09-2013, 08:11 PM   #3
OldSmokey2
LQ Newbie
 
Registered: Feb 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the reply... Just checked and Ubuntu/Kubuntu are on sdb, so I will put the new install on sda.
 
Old 02-09-2013, 09:21 PM   #4
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Distribution: Debian, Arch, Kubuntu
Posts: 366

Rep: Reputation: 139Reputation: 139
OldSmokey2, I have both Ubuntu and openSUSE installed on a couple of different computers here, along with a few other distros. I would like to know, after you install openSUSE, if openSUSE overwrites your grub. It did that here with both openSUSE 12.1 and 12.2, even though I was sure that I set things to install grub to openSUSE's root partition. I had to reinstall grub (in my case, Debian's grub) to the MBR each time.
 
Old 02-09-2013, 11:04 PM   #5
OldSmokey2
LQ Newbie
 
Registered: Feb 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Hmmm.. m.a.l.'s pa, that's the kind of thing that worries me. I've used Linux for several years but I'm not a techie. I admit I know next to nothing about partitioning and such. I have been reading some tutorials about Grub this evening and a lot of it goes over my head, but I'm trying to figure it out. Anyway, I've looked at my partition table and I don't have separate root partitions. On dev/sdb there is a swap partition and then a large partition for Ubuntu and a swap partition and large partition for Kubuntu. And on dev/sda there is a swap partition and large partition for the old OpenSuse install that doesn't boot anymore. I understand that that's because I have never created separate root and data partitions on previous installs. So here is my fear, that if I install a new distro on dev/sda the bios is going to look first for a bootloader on dev/sda and won't ever make it to dev/sdb. I wouldn't worry so much if it was dev/sdb that was available but that's not the way it is. Of course, I've learned a lot when I've screwed things up before so maybe I'll back everything up and see what happens.
 
Old 02-10-2013, 12:11 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Just install it and fix (learn) the problems that pop up. I'd be willing to bet you'll get your loader (in the MBR) overlaid, but shouldn't matter with grub2.
Avoid distros still on grub classic ...

To save any guessing by all of us go here, do as it says, post the RESULTS.txt, and all will be revealed (no personal stuff, just the boot config).
 
Old 02-10-2013, 12:13 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
In Opensuse before the actual install begins, you should see a window Live Installation Settings. There is a section labelled Booting which has options to enable/disable boot from MBR and boot from partition. If you click on the Booting heading (green font) you will see another window which has two sections, Section Management and BootLoader Installation and there are several more options there.

If it does install its Grub to the mbr, it should still detect the other operating systems and boot them. If you prefer the Ubuntu/Kubuntu bootloader, just run sudo updaate-grub after booting either.
 
Old 02-11-2013, 11:41 AM   #8
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Distribution: Debian, Arch, Kubuntu
Posts: 366

Rep: Reputation: 139Reputation: 139
Yeah, I think you'll see how it all works once you get into it. I don't think you necessarily have to create a separate root partition -- I just like to have separate / and /home, by choice.

Looking over my installation notes, I'm pretty sure I followed the steps that yancek wrote about, but perhaps I missed something. It looked to me like openSUSE was set to install its grub to the openSUSE root partition, but the MBR was overwritten each time. Anyway, not to worry, I was able to boot into any distro, and it was easy enough to then reinstall Debian's grub to the MBR. Either way, you should be able to boot into each distro; in fact, I'm curious about why you can't boot into the old openSUSE.

Kinda looking forward to openSUSE 12.3, so I can take a look at this again.
 
Old 02-14-2013, 11:50 PM   #9
OldSmokey2
LQ Newbie
 
Registered: Feb 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Just to update, I've been pretty busy with classes this week but I had a little time to experiment with a four-year-old Dell Inspiron laptop I used to own, gave to a friend, then got back a couple weeks ago after he bought a new computer. I'm planning to fix it up again for another friend but I realized the other day that it's a great guinea pig at the moment for learning about Grub. I had already installed Ubuntu 12.04 on it, so the other night I installed Fedora 17 as well. I let it take over the boot screen. No problem. Then I booted into Ubuntu and let it run some fresh updates, including a kernel update and Grub update. Interestingly, it then took over the boot screen again but didn't list Fedora. So I did some searching and learned how to use Disk Utilty to activate the Fedora LVM volumes, mount those partitions and then run sudo update-grub. Bingo, Fedora showed up then in the boot menu. So I tried that tonight on my desktop but the old OpenSuse entry still doesn't show up in that computer's boot options, and, yes, m.a.l.'s pa, I'm curious about why it doesn't. I thought that would do it. So, yancek, what I'm going to try next is to run an OpenSuse install on the laptop and learn about the Live Installation Settings you mentioned that way. If I screw up on the laptop, so what; I can learn from that. And, syg00, since I'm going to try that first, I'll put off a fresh install of OpenSuse on the desktop Dell, but when I do, I'll follow those instructions and post the results. Thanks, everyone.
 
  


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
I don't get the boot loader after installing ubuntu alongside windows 7 redguy Ubuntu 22 03-20-2012 10:00 AM
[SOLVED] Installing ubuntu 11.10 alongside windows prob seeing partitions Stev8 Ubuntu 17 03-07-2012 07:14 PM
Installing Fedora alongside WinXP and openSUSE glock356 Fedora 1 09-13-2011 12:36 PM
Installing Windows alongside Linux The Show Linux - Newbie 4 02-26-2006 09:05 AM
Installing 10.0 Official alongside 9.2 infidel Mandriva 1 05-25-2004 09:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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